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

Issue 10857020: Do not perform online revocation checking when the user has explicitly disabled it, except for when… (Closed)

Created:
8 years, 4 months ago by Ryan Sleevi
Modified:
8 years, 4 months ago
Reviewers:
wtc, Nico, agl
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Do not perform online revocation checking when the user has explicitly disabled it, except for when verifying EV certificates where a CRLSet is not present or fresh. This changes how EVRootMetaData exposes the EV information when NSS is used, in order to efficiently detect when a leaf certificate may be an EV certificate. BUG=142815 TEST=Test modem enrollment on CrOS as described in chrome-os-partner:9087 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152043

Patch Set 1 #

Total comments: 2

Patch Set 2 : NSS Fix #

Patch Set 3 : Linux fixes #

Patch Set 4 : Android & Mac fixes... :( #

Patch Set 5 : Linux and Mac fixes #

Total comments: 14

Patch Set 6 : Review feedback #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -194 lines) Patch
M chrome/browser/ui/cocoa/certificate_viewer_mac.mm View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M net/base/cert_verify_proc.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M net/base/cert_verify_proc_mac.cc View 1 2 3 4 3 chunks +5 lines, -0 lines 0 comments Download
M net/base/cert_verify_proc_nss.cc View 1 2 3 4 9 chunks +61 lines, -60 lines 0 comments Download
M net/base/cert_verify_proc_win.cc View 2 chunks +14 lines, -11 lines 0 comments Download
M net/base/ev_root_ca_metadata.h View 3 chunks +3 lines, -9 lines 0 comments Download
M net/base/ev_root_ca_metadata.cc View 1 2 3 4 5 4 chunks +11 lines, -20 lines 0 comments Download
M net/base/ev_root_ca_metadata_unittest.cc View 1 2 3 4 5 2 chunks +85 lines, -35 lines 0 comments Download
M net/base/x509_certificate.h View 1 2 3 4 5 1 chunk +22 lines, -0 lines 2 comments Download
M net/base/x509_util_mac.h View 1 2 3 4 5 1 chunk +11 lines, -3 lines 0 comments Download
M net/base/x509_util_mac.cc View 1 2 3 4 2 chunks +57 lines, -41 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 3 4 7 chunks +40 lines, -10 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Ryan Sleevi
agl: PTAL at the changes to CertVerifyProc and confirm they're in line with your intent ...
8 years, 4 months ago (2012-08-15 22:48:11 UTC) #1
agl
have to run to a meeting, but CRLSet behaviour LGTM. http://codereview.chromium.org/10857020/diff/1/net/base/cert_verify_proc_nss.cc File net/base/cert_verify_proc_nss.cc (right): http://codereview.chromium.org/10857020/diff/1/net/base/cert_verify_proc_nss.cc#newcode604 ...
8 years, 4 months ago (2012-08-15 22:57:52 UTC) #2
Ryan Sleevi
http://codereview.chromium.org/10857020/diff/1/net/base/cert_verify_proc_nss.cc File net/base/cert_verify_proc_nss.cc (right): http://codereview.chromium.org/10857020/diff/1/net/base/cert_verify_proc_nss.cc#newcode604 net/base/cert_verify_proc_nss.cc:604: bool IsEVCandidate(EVRootCAMetadata* metadata, On 2012/08/15 22:57:53, agl wrote: > ...
8 years, 4 months ago (2012-08-15 23:04:58 UTC) #3
rkc
Tested it on ChromeOS, fixes the issue with the captive portal. On 2012/08/15 23:04:58, Ryan ...
8 years, 4 months ago (2012-08-15 23:10:26 UTC) #4
Ryan Sleevi
Ok, now (really) ready for review. I forgot the annoyances of the OS X implementation, ...
8 years, 4 months ago (2012-08-16 01:57:45 UTC) #5
wtc
Patch set 5 LGTM. http://codereview.chromium.org/10857020/diff/7003/net/base/ev_root_ca_metadata.cc File net/base/ev_root_ca_metadata.cc (right): http://codereview.chromium.org/10857020/diff/7003/net/base/ev_root_ca_metadata.cc#newcode324 net/base/ev_root_ca_metadata.cc:324: return policy_oid != SEC_OID_UNKNOWN && ...
8 years, 4 months ago (2012-08-16 23:17:39 UTC) #6
Ryan Sleevi
http://codereview.chromium.org/10857020/diff/7003/net/base/ev_root_ca_metadata.cc File net/base/ev_root_ca_metadata.cc (right): http://codereview.chromium.org/10857020/diff/7003/net/base/ev_root_ca_metadata.cc#newcode324 net/base/ev_root_ca_metadata.cc:324: return policy_oid != SEC_OID_UNKNOWN && On 2012/08/16 23:17:39, wtc ...
8 years, 4 months ago (2012-08-16 23:26:31 UTC) #7
wtc
http://codereview.chromium.org/10857020/diff/7003/net/base/cert_verify_proc_mac.cc File net/base/cert_verify_proc_mac.cc (right): http://codereview.chromium.org/10857020/diff/7003/net/base/cert_verify_proc_mac.cc#newcode160 net/base/cert_verify_proc_mac.cc:160: (flags & X509Certificate::VERIFY_REV_CHECKING_ENABLED_EV_ONLY), We pass (flags & X509Certificate::VERIFY_REV_CHECKING_ENABLED_EV_ONLY) as ...
8 years, 4 months ago (2012-08-16 23:28:03 UTC) #8
wtc
http://codereview.chromium.org/10857020/diff/7003/net/base/ev_root_ca_metadata_unittest.cc File net/base/ev_root_ca_metadata_unittest.cc (right): http://codereview.chromium.org/10857020/diff/7003/net/base/ev_root_ca_metadata_unittest.cc#newcode44 net/base/ev_root_ca_metadata_unittest.cc:44: SECOidTag RegisterOID(PLArenaPool* arena, const char* const oid_string) { On ...
8 years, 4 months ago (2012-08-16 23:40:45 UTC) #9
Ryan Sleevi
wtc: Enhanced the comments. Please let me know if this addresses your nits http://codereview.chromium.org/10857020/diff/7003/net/base/cert_verify_proc_mac.cc File ...
8 years, 4 months ago (2012-08-16 23:55:30 UTC) #10
wtc
Patch set 6 LGTM. Thanks. http://codereview.chromium.org/10857020/diff/7003/net/base/cert_verify_proc_mac.cc File net/base/cert_verify_proc_mac.cc (right): http://codereview.chromium.org/10857020/diff/7003/net/base/cert_verify_proc_mac.cc#newcode160 net/base/cert_verify_proc_mac.cc:160: (flags & X509Certificate::VERIFY_REV_CHECKING_ENABLED_EV_ONLY), On ...
8 years, 4 months ago (2012-08-17 00:34:44 UTC) #11
Ryan Sleevi
http://codereview.chromium.org/10857020/diff/4007/net/base/x509_certificate.h File net/base/x509_certificate.h (right): http://codereview.chromium.org/10857020/diff/4007/net/base/x509_certificate.h#newcode116 net/base/x509_certificate.h:116: VERIFY_REV_CHECKING_ENABLED_EV_ONLY = 1 << 3, On 2012/08/17 00:34:44, wtc ...
8 years, 4 months ago (2012-08-17 00:37:18 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/10857020/4007
8 years, 4 months ago (2012-08-17 00:38:03 UTC) #13
commit-bot: I haz the power
Presubmit check for 10857020-4007 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-08-17 00:38:10 UTC) #14
Ryan Sleevi
thakis: TBR the chrome/browser/ui/cocoa change, since we want to get this in a release RSN.
8 years, 4 months ago (2012-08-17 00:53:00 UTC) #15
Nico
Cocoa change lgtm This would've been a good place to use enums instead of bools ...
8 years, 4 months ago (2012-08-17 00:54:37 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsleevi@chromium.org/10857020/4007
8 years, 4 months ago (2012-08-17 01:14:28 UTC) #17
commit-bot: I haz the power
8 years, 4 months ago (2012-08-17 04:35:10 UTC) #18
Change committed as 152043

Powered by Google App Engine
This is Rietveld 408576698