Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1175)

Issue 2456523003: Mac EV verification using Chrome methods rather than OS methods. (Closed)

Created:
4 years, 1 month ago by mattm
Modified:
4 years, 1 month ago
Reviewers:
msw, Ryan Sleevi, davidben
CC:
chromium-reviews, cbentzel+watch_chromium.org, mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mac EV verification using Chrome methods rather than OS methods. Previously we were using some internal/private Mac OS APIs to get the results of OS EV checking, and those APIs stopped providing results on Sierra when we stopped passing the hostname to the OS verification (see crbug/621684). Additionally, it was impossible to unittest the old implementation. The new method is similar to what we do on other platforms, does not depend on OS handling, and can be unittested. Due to OS API limitations, the new method will be less efficient, but that additional inefficiency is limited to sites with EV certs. BUG=655612 Committed: https://crrev.com/1a282f54af2ea79cf9aa0b78234e3b4053b4d73b Cr-Commit-Position: refs/heads/master@{#431367}

Patch Set 1 : . #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : fix weak keys test #

Total comments: 14

Patch Set 6 : review changes #

Total comments: 14

Patch Set 7 : review changes #

Patch Set 8 : rebase #

Patch Set 9 : include asn1.h #

Patch Set 10 : compile fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+449 lines, -156 lines) Patch
M chrome/browser/ui/certificate_viewer_mac.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M net/cert/cert_verify_proc_mac.cc View 1 2 3 4 5 6 18 chunks +261 lines, -87 lines 0 comments Download
M net/cert/cert_verify_proc_nss.cc View 1 2 3 4 5 6 1 chunk +5 lines, -5 lines 0 comments Download
M net/cert/ev_root_ca_metadata.h View 1 2 3 4 5 3 chunks +15 lines, -1 line 0 comments Download
M net/cert/ev_root_ca_metadata.cc View 1 2 3 4 5 6 7 8 9 3 chunks +79 lines, -1 line 0 comments Download
M net/cert/ev_root_ca_metadata_unittest.cc View 1 2 3 7 chunks +18 lines, -7 lines 0 comments Download
M net/cert/x509_util_mac.h View 1 2 1 chunk +2 lines, -9 lines 0 comments Download
M net/cert/x509_util_mac.cc View 1 2 3 4 5 4 chunks +61 lines, -38 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 3 4 5 6 7 2 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 55 (43 generated)
mattm
4 years, 1 month ago (2016-11-02 19:49:33 UTC) #12
Ryan Sleevi
https://codereview.chromium.org/2456523003/diff/100001/net/cert/ev_root_ca_metadata.cc File net/cert/ev_root_ca_metadata.cc (right): https://codereview.chromium.org/2456523003/diff/100001/net/cert/ev_root_ca_metadata.cc#newcode55 net/cert/ev_root_ca_metadata.cc:55: #endif Erk; this makes me super-nervous to extend the ...
4 years, 1 month ago (2016-11-08 00:11:21 UTC) #19
mattm
https://codereview.chromium.org/2456523003/diff/100001/net/cert/ev_root_ca_metadata.cc File net/cert/ev_root_ca_metadata.cc (right): https://codereview.chromium.org/2456523003/diff/100001/net/cert/ev_root_ca_metadata.cc#newcode55 net/cert/ev_root_ca_metadata.cc:55: #endif On 2016/11/08 00:11:20, Ryan Sleevi wrote: > Erk; ...
4 years, 1 month ago (2016-11-08 23:06:26 UTC) #20
Ryan Sleevi
Code LGTM w/ question for Davidben We definitely want to document the "Why" subtlety in ...
4 years, 1 month ago (2016-11-08 23:54:09 UTC) #24
davidben
https://codereview.chromium.org/2456523003/diff/120001/net/cert/ev_root_ca_metadata.cc File net/cert/ev_root_ca_metadata.cc (right): https://codereview.chromium.org/2456523003/diff/120001/net/cert/ev_root_ca_metadata.cc#newcode15 net/cert/ev_root_ca_metadata.cc:15: #include <openssl/obj.h> #include "third_party/boringssl/src/include/openssl/obj.h" I hate how verbose it ...
4 years, 1 month ago (2016-11-09 00:15:03 UTC) #25
davidben
https://codereview.chromium.org/2456523003/diff/120001/net/cert/ev_root_ca_metadata.cc File net/cert/ev_root_ca_metadata.cc (right): https://codereview.chromium.org/2456523003/diff/120001/net/cert/ev_root_ca_metadata.cc#newcode737 net/cert/ev_root_ca_metadata.cc:737: } On 2016/11/09 00:15:03, davidben wrote: > On 2016/11/08 ...
4 years, 1 month ago (2016-11-09 00:15:55 UTC) #26
mattm
+msw for chrome/browser/ui OWNERS https://codereview.chromium.org/2456523003/diff/120001/net/cert/cert_verify_proc_mac.cc File net/cert/cert_verify_proc_mac.cc (right): https://codereview.chromium.org/2456523003/diff/120001/net/cert/cert_verify_proc_mac.cc#newcode308 net/cert/cert_verify_proc_mac.cc:308: *ev_policy_oid = std::string(); On 2016/11/08 ...
4 years, 1 month ago (2016-11-10 05:40:41 UTC) #42
mattm
On 2016/11/08 23:54:09, Ryan Sleevi wrote: > Code LGTM w/ question for Davidben > > ...
4 years, 1 month ago (2016-11-10 05:48:19 UTC) #44
msw
c/b/ui rubber stamp lgtm
4 years, 1 month ago (2016-11-10 18:32:35 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2456523003/200001
4 years, 1 month ago (2016-11-10 21:45:37 UTC) #51
commit-bot: I haz the power
Committed patchset #10 (id:200001)
4 years, 1 month ago (2016-11-10 21:50:29 UTC) #53
commit-bot: I haz the power
4 years, 1 month ago (2016-11-10 22:34:47 UTC) #55
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/1a282f54af2ea79cf9aa0b78234e3b4053b4d73b
Cr-Commit-Position: refs/heads/master@{#431367}

Powered by Google App Engine
This is Rietveld 408576698