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 2951343002: Remove residual support for SHA-1 public key pins. (Closed)

Created:
3 years, 6 months ago by palmer
Modified:
3 years, 5 months ago
Reviewers:
davidben
CC:
cbentzel+watch_chromium.org, chromium-reviews, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove residual support for SHA-1 public key pins. BUG=564281 Review-Url: https://codereview.chromium.org/2951343002 Cr-Commit-Position: refs/heads/master@{#482473} Committed: https://chromium.googlesource.com/chromium/src/+/08b2e4295cc88d1a306d75ca7d152b4b83516ffd

Patch Set 1 #

Total comments: 3

Patch Set 2 : Cull HASH_VALUE_SHA1 call sites. #

Patch Set 3 : Don't expect SHA-1 in CertVerifyProcInternalTest.PublicKeyHashes. #

Patch Set 4 : Remove more code, use SHA-256 for the blacklist, and include the original FRST and India CCA certs. #

Total comments: 16

Patch Set 5 : Remove the rest of HASH_VALUE_SHA1; respond to comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -86 lines) Patch
M net/base/hash_value.h View 1 2 3 4 1 chunk +1 line, -3 lines 0 comments Download
M net/base/hash_value.cc View 1 2 3 4 5 chunks +1 line, -14 lines 0 comments Download
M net/cert/cert_verify_proc.cc View 1 2 3 3 chunks +32 lines, -18 lines 0 comments Download
M net/cert/cert_verify_proc_android.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M net/cert/cert_verify_proc_builtin.cc View 1 2 3 4 1 chunk +1 line, -6 lines 0 comments Download
M net/cert/cert_verify_proc_ios.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M net/cert/cert_verify_proc_mac.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M net/cert/cert_verify_proc_nss.cc View 1 2 chunks +0 lines, -10 lines 0 comments Download
M net/cert/cert_verify_proc_unittest.cc View 1 2 2 chunks +1 line, -5 lines 0 comments Download
M net/cert/cert_verify_proc_win.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
A net/data/ssl/name_constrained/2d66a702ae81ba03af8cff55ab318afa919039d9f31b4d64388680f81311b65a.pem View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download
A net/data/ssl/name_constrained/60109bc6c38328598a112c7a25e38b0f23e5a7511cb815fb64e0c4ff05db7df7.pem View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download
A net/data/ssl/name_constrained/README.md View 1 2 3 4 1 chunk +25 lines, -0 lines 1 comment Download
A net/data/ssl/name_constrained/b9bea7860a962ea3611dab97ab6da3e21c1068b97d55575ed0e11279c11c8932.pem View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
A net/data/ssl/name_constrained/f375e2f77a108bacc4234894a9af308edeca1acd8fbde0e7aaa9634e9daf7e1c.pem View 1 2 3 4 1 chunk +19 lines, -0 lines 0 comments Download
M net/http/transport_security_state.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
M net/http/transport_security_state_unittest.cc View 3 chunks +0 lines, -7 lines 0 comments Download
M net/tools/transport_security_state_generator/spki_hash_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 27 (16 generated)
palmer
Should be a quick and simple one. PTAL?
3 years, 6 months ago (2017-06-22 21:08:28 UTC) #2
davidben
https://codereview.chromium.org/2951343002/diff/1/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): https://codereview.chromium.org/2951343002/diff/1/net/http/transport_security_state.cc#newcode155 net/http/transport_security_state.cc:155: continue; This is just removing a bit in the ...
3 years, 6 months ago (2017-06-22 21:33:47 UTC) #5
davidben
https://codereview.chromium.org/2951343002/diff/1/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): https://codereview.chromium.org/2951343002/diff/1/net/http/transport_security_state.cc#newcode155 net/http/transport_security_state.cc:155: continue; On 2017/06/22 21:33:47, davidben wrote: > This is ...
3 years, 6 months ago (2017-06-22 21:51:43 UTC) #8
palmer
There's 1 last HASH_VALUE_SHA1 usage site: The name-constrained CAs list. Would you rather I migrate ...
3 years, 6 months ago (2017-06-23 00:59:24 UTC) #11
palmer
> There's 1 last HASH_VALUE_SHA1 usage site: The name-constrained CAs list. Would you rather I ...
3 years, 6 months ago (2017-06-23 19:43:08 UTC) #15
davidben
https://codereview.chromium.org/2951343002/diff/60001/net/base/hash_value.cc File net/base/hash_value.cc (right): https://codereview.chromium.org/2951343002/diff/60001/net/base/hash_value.cc#newcode61 net/base/hash_value.cc:61: return std::string("sha1/") + base64_str; Out of curiosity, what are ...
3 years, 5 months ago (2017-06-26 20:15:56 UTC) #19
davidben
https://codereview.chromium.org/2951343002/diff/60001/net/base/hash_value.cc File net/base/hash_value.cc (right): https://codereview.chromium.org/2951343002/diff/60001/net/base/hash_value.cc#newcode61 net/base/hash_value.cc:61: return std::string("sha1/") + base64_str; On 2017/06/26 20:15:55, davidben wrote: ...
3 years, 5 months ago (2017-06-26 20:17:00 UTC) #20
palmer
https://codereview.chromium.org/2951343002/diff/1/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): https://codereview.chromium.org/2951343002/diff/1/net/http/transport_security_state.cc#newcode155 net/http/transport_security_state.cc:155: continue; On 2017/06/22 at 21:33:47, davidben wrote: > This ...
3 years, 5 months ago (2017-06-26 21:33:00 UTC) #21
davidben
lgtm. Yay removing code!! :-D https://codereview.chromium.org/2951343002/diff/80001/net/data/ssl/name_constrained/README.md File net/data/ssl/name_constrained/README.md (right): https://codereview.chromium.org/2951343002/diff/80001/net/data/ssl/name_constrained/README.md#newcode4 net/data/ssl/name_constrained/README.md:4: treated as named-constrained during ...
3 years, 5 months ago (2017-06-26 21:36:43 UTC) #22
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/2951343002/80001
3 years, 5 months ago (2017-06-26 21:47:45 UTC) #24
commit-bot: I haz the power
3 years, 5 months ago (2017-06-26 23:58:28 UTC) #27
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/08b2e4295cc88d1a306d75ca7d15...

Powered by Google App Engine
This is Rietveld 408576698