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

Issue 9149010: net: allow CRLSets to block specific SPKIs. (Closed)

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

Description

net: allow CRLSets to block specific SPKIs. This change allows CRLSets to include a list of blocked SPKI fingerprints, which may save us doing emergency binary pushes in the future. It also corrects a bug where the NSS code was passing in the full SPKI rather than the SHA256 hash. BUG=none TEST=net_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117069

Patch Set 1 #

Patch Set 2 : ... #

Patch Set 3 : ... #

Total comments: 23

Patch Set 4 : ... #

Patch Set 5 : ... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -48 lines) Patch
M crypto/sha2.h View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M crypto/sha2.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/base/crl_set.h View 1 2 3 4 chunks +16 lines, -3 lines 0 comments Download
M net/base/crl_set.cc View 1 2 3 13 chunks +63 lines, -13 lines 0 comments Download
M net/base/crl_set_unittest.cc View 1 2 3 4 chunks +52 lines, -17 lines 0 comments Download
M net/base/x509_certificate_nss.cc View 1 2 3 3 chunks +16 lines, -11 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
agl
8 years, 11 months ago (2012-01-09 19:19:00 UTC) #1
wtc
Patch Set 3 LGTM. My comments are mostly nits and questions, but please note the ...
8 years, 11 months ago (2012-01-10 00:50:58 UTC) #2
agl
Thanks. Running by try bots. http://codereview.chromium.org/9149010/diff/10001/crypto/sha2.h File crypto/sha2.h (right): http://codereview.chromium.org/9149010/diff/10001/crypto/sha2.h#newcode12 crypto/sha2.h:12: #include "base/string_piece.h" On 2012/01/10 ...
8 years, 11 months ago (2012-01-10 16:15:29 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/9149010/5005
8 years, 11 months ago (2012-01-10 18:04:10 UTC) #4
commit-bot: I haz the power
Change committed as 117069
8 years, 11 months ago (2012-01-10 19:10:35 UTC) #5
wtc
8 years, 11 months ago (2012-01-11 01:15:12 UTC) #6
Patch Set 5 LGTM.

http://codereview.chromium.org/9149010/diff/10001/net/base/crl_set.cc
File net/base/crl_set.cc (right):

http://codereview.chromium.org/9149010/diff/10001/net/base/crl_set.cc#newcode190
net/base/crl_set.cc:190: blocked_spkis_.clear();

On 2012/01/10 16:15:29, agl wrote:
>
> Yes, the blocked SPKIs are included in every CRLSet and aren't delta updated.

It would be nice to document this somewhere.  This is not
obvious.

Powered by Google App Engine
This is Rietveld 408576698