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

Issue 9619007: net: allow EV indication on Windows when the local OCSP/CRL cache is stale. (Closed)

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

Description

net: allow EV indication on Windows when the local OCSP/CRL cache is stale. BUG=116984 TEST=On a Windows machine, run `certutil -urlcache * delete` on the command line. Then start Chrome and ensure that https://www.paypal.com shows a green EV indication in the URL bar. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=125468

Patch Set 1 #

Total comments: 9

Patch Set 2 : ... #

Patch Set 3 : ... #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+345 lines, -44 lines) Patch
M net/base/x509_certificate.h View 1 chunk +1 line, -0 lines 1 comment Download
M net/base/x509_certificate_unittest.cc View 1 2 4 chunks +21 lines, -42 lines 1 comment Download
M net/base/x509_certificate_win.cc View 2 chunks +11 lines, -2 lines 1 comment Download
A net/data/ssl/certificates/comodo.chain.pem View 1 1 chunk +312 lines, -0 lines 1 comment Download

Messages

Total messages: 8 (0 generated)
agl
https://chromiumcodereview.appspot.com/9619007/diff/1/net/base/x509_certificate_unittest.cc File net/base/x509_certificate_unittest.cc (left): https://chromiumcodereview.appspot.com/9619007/diff/1/net/base/x509_certificate_unittest.cc#oldcode225 net/base/x509_certificate_unittest.cc:225: #if TEST_EV These certificates have expired and so are ...
8 years, 9 months ago (2012-03-07 15:38:16 UTC) #1
Ryan Sleevi
LGTM. I haven't checked yet, but do we need to make similar changes for x509_certificate_mac.cc ...
8 years, 9 months ago (2012-03-07 16:57:01 UTC) #2
agl
I don't believe that x509_certificate_mac.cc has a problem from looking at the code. None the ...
8 years, 9 months ago (2012-03-07 17:31:23 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/agl@chromium.org/9619007/6
8 years, 9 months ago (2012-03-07 19:51:55 UTC) #4
commit-bot: I haz the power
Change committed as 125468
8 years, 9 months ago (2012-03-07 22:04:13 UTC) #5
wtc
Patch set 3 LGTM. https://chromiumcodereview.appspot.com/9619007/diff/6/net/base/x509_certificate.h File net/base/x509_certificate.h (right): https://chromiumcodereview.appspot.com/9619007/diff/6/net/base/x509_certificate.h#newcode496 net/base/x509_certificate.h:496: int flags, Nit: it may ...
8 years, 9 months ago (2012-03-08 00:55:26 UTC) #6
wtc
http://codereview.chromium.org/9619007/diff/1/net/base/x509_certificate_unittest.cc File net/base/x509_certificate_unittest.cc (right): http://codereview.chromium.org/9619007/diff/1/net/base/x509_certificate_unittest.cc#newcode364 net/base/x509_certificate_unittest.cc:364: "comodo.com", flags, NULL, &verify_result); On 2012/03/07 17:31:24, agl wrote: ...
8 years, 9 months ago (2012-03-08 01:02:19 UTC) #7
agl2
8 years, 9 months ago (2012-03-12 16:23:31 UTC) #8
(Please note: I haven't ignored this! I'm working on improving the tests
first.)

On Wed Mar 07 20:02:19 GMT-500 2012, <wtc@chromium.org> wrote:

>
>
>
http://codereview.chromium.org/9619007/diff/1/net/base/x509_certificate_unitt...
> File net/base/x509_certificate_unittest.cc (right):
>
>
>
http://codereview.chromium.org/9619007/diff/1/net/base/x509_certificate_unitt...
>
net/base/x509_certificate_unittest.cc:364<https://www.google.com/url?sa=D&q=http://codereview.chromium.org/9619007/diff/1/net/base/x509_certificate_unittest.cc%23newcode364%0Anet/base/x509_certificate_unittest.cc:364>:
> "comodo.com <https://www.google.com/url?sa=D&q=http://comodo.com>",
> flags, NULL,
> &verify_result);
>
> On 2012/03/07 17:31:24, agl wrote:
>
> > I don't believe that this will cause any network fetches. The chain is
> complete
> > and online revocation checking is off by default. If this does end up
> being
> > flaky because of an unexpected network fetch, then that's the sort of
> thing that
> > I'd like a test to highlight.
>
> Hmm... if we report CERT_STATUS_IS_EV without getting a
> fresh "good" status from any source -- CRL/OCSP (cached
> or online) or CRL sets, then this is a step backward.
>
> Does this unit test use the CRL set?
>
>
http://codereview.chromium.org/9619007/<https://www.google.com/url?sa=D&q=htt...
>

Powered by Google App Engine
This is Rietveld 408576698