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

Issue 23441005: net: mark cert as revoked if EV revocation check receives revoked response (Win). (Closed)

Created:
7 years, 3 months ago by agl
Modified:
7 years, 3 months ago
Reviewers:
wtc, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org, wtc
Visibility:
Public.

Description

net: test that cert is marked as revoked if EV revocation check receives revoked response (Win). If we do an online revocation check because a certificate is EV and we don't have CRLSet coverage then we would like to mark the certificate as revoked if the check indicates that, rather than just removing the EV badge. However, on non-Windows platforms we don't get enough information from the verification so this change just adds a test for Windows. This also fixes a small memory leak. BUG=279282 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220429

Patch Set 1 #

Total comments: 2

Patch Set 2 : g try #

Total comments: 6

Patch Set 3 : Update comment in test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
M net/cert/cert_verify_proc_win.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
agl
This is easy for CryptoAPI, but I'm not sure whether the same is possible for ...
7 years, 3 months ago (2013-08-27 19:14:56 UTC) #1
Ryan Sleevi
OS X doesn't. Note that I'm not 100% convinced that CryptoAPI returns the right error ...
7 years, 3 months ago (2013-08-27 19:25:07 UTC) #2
agl
PTAL. https://codereview.chromium.org/23441005/diff/1/net/cert/cert_verify_proc_win.cc File net/cert/cert_verify_proc_win.cc (right): https://codereview.chromium.org/23441005/diff/1/net/cert/cert_verify_proc_win.cc#newcode656 net/cert/cert_verify_proc_win.cc:656: if (chain_context->TrustStatus.dwErrorStatus & On 2013/08/27 19:25:07, Ryan Sleevi ...
7 years, 3 months ago (2013-08-28 16:42:58 UTC) #3
Ryan Sleevi
Blergh, I've confirmed that NSS will swallow the error and treat it as revoked. Specifically, ...
7 years, 3 months ago (2013-08-28 19:23:11 UTC) #4
wtc
Patch set 2 LGTM. Does this part in the CL's description still apply? If we ...
7 years, 3 months ago (2013-08-28 23:58:42 UTC) #5
agl
https://codereview.chromium.org/23441005/diff/31001/net/cert/cert_verify_proc_win.cc File net/cert/cert_verify_proc_win.cc (right): https://codereview.chromium.org/23441005/diff/31001/net/cert/cert_verify_proc_win.cc#newcode688 net/cert/cert_verify_proc_win.cc:688: (flags & CertVerifier::VERIFY_REV_CHECKING_REQUIRED_LOCAL_ANCHORS)) { On 2013/08/28 23:58:42, wtc wrote: ...
7 years, 3 months ago (2013-08-29 16:46:59 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/agl@chromium.org/23441005/19001
7 years, 3 months ago (2013-08-29 20:51:57 UTC) #7
commit-bot: I haz the power
7 years, 3 months ago (2013-08-29 23:37:50 UTC) #8
Message was sent while issue was closed.
Change committed as 220429

Powered by Google App Engine
This is Rietveld 408576698