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

Issue 2101303005: CertVerifyProcMac: Add Keychain re-ordering hack, check CRLsets in path pruning loop. (Closed)

Created:
4 years, 5 months ago by mattm
Modified:
4 years, 3 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CertVerifyProcMac: Add Keychain re-ordering hack, check CRLsets in path pruning loop. This also removes the native hostname checking workarounds. BUG=570909, 588789, 621684 Committed: https://crrev.com/9cedf75377d817c6b32a01f1d30fbe10663b8bb8 Cr-Commit-Position: refs/heads/master@{#418732}

Patch Set 1 #

Total comments: 10

Patch Set 2 : review changes and url_request_unittest fixes #

Total comments: 26

Patch Set 3 : rebase #

Patch Set 4 : updates for comment #7 #

Patch Set 5 : updates for comment #11 #

Patch Set 6 : rebase #

Patch Set 7 : rebase #

Patch Set 8 : fix pem "text" that was breaking reitveld patch #

Patch Set 9 : fix other tests that broke on the ExpectedCertStatusForFailedOnlineRevocationCheck change #

Total comments: 2

Patch Set 10 : Scripts for keychain generation #

Total comments: 2

Patch Set 11 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+881 lines, -80 lines) Patch
M net/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M net/cert/cert_verify_proc_mac.cc View 1 2 3 4 8 chunks +166 lines, -73 lines 0 comments Download
M net/cert/cert_verify_proc_unittest.cc View 1 2 3 2 chunks +155 lines, -0 lines 0 comments Download
A net/cert/test_keychain_search_list_mac.h View 1 chunk +46 lines, -0 lines 0 comments Download
A net/cert/test_keychain_search_list_mac.cc View 1 chunk +55 lines, -0 lines 0 comments Download
M net/data/ssl/certificates/README View 1 2 3 4 5 6 7 8 9 2 chunks +13 lines, -0 lines 0 comments Download
A + net/data/ssl/certificates/multi-root-BFE.keychain View 1 2 3 4 5 6 7 8 9 Binary file 0 comments Download
A net/data/ssl/certificates/tripadvisor-verisign-chain.pem View 1 2 3 4 5 6 7 1 chunk +221 lines, -0 lines 0 comments Download
A net/data/ssl/certificates/verisign_class3_g5_crosssigned.pem View 1 2 3 4 5 6 7 8 9 1 chunk +92 lines, -0 lines 0 comments Download
A + net/data/ssl/certificates/verisign_class3_g5_crosssigned-trusted.keychain View 1 2 3 4 5 6 7 8 9 Binary file 0 comments Download
A net/data/ssl/scripts/generate-keychain.sh View 1 2 3 4 5 6 7 8 9 1 chunk +73 lines, -0 lines 0 comments Download
A net/data/ssl/scripts/generate-multi-root-BFE-keychain.sh View 1 2 3 4 5 6 7 8 9 1 chunk +18 lines, -0 lines 0 comments Download
A net/data/ssl/scripts/generate-verisign_class3_g5_crosssigned-trusted-keychain.sh View 1 2 3 4 5 6 7 8 9 1 chunk +19 lines, -0 lines 0 comments Download
M net/net.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 3 4 5 6 7 8 6 chunks +17 lines, -7 lines 0 comments Download

Messages

Total messages: 53 (37 generated)
mattm
4 years, 5 months ago (2016-06-30 01:18:08 UTC) #2
Ryan Sleevi
https://codereview.chromium.org/2101303005/diff/1/net/cert/cert_verify_proc_mac.cc File net/cert/cert_verify_proc_mac.cc (right): https://codereview.chromium.org/2101303005/diff/1/net/cert/cert_verify_proc_mac.cc#newcode644 net/cert/cert_verify_proc_mac.cc:644: &keychain); Can we not just use the last keychain? ...
4 years, 5 months ago (2016-06-30 01:49:16 UTC) #3
Ryan Sleevi
https://codereview.chromium.org/2101303005/diff/1/net/cert/test_keychain_search_list_mac.h File net/cert/test_keychain_search_list_mac.h (right): https://codereview.chromium.org/2101303005/diff/1/net/cert/test_keychain_search_list_mac.h#newcode16 net/cert/test_keychain_search_list_mac.h:16: class NET_EXPORT TestKeychainSearchList { For this, do we need ...
4 years, 5 months ago (2016-06-30 01:50:00 UTC) #4
mattm
https://codereview.chromium.org/2101303005/diff/1/net/cert/cert_verify_proc_mac.cc File net/cert/cert_verify_proc_mac.cc (right): https://codereview.chromium.org/2101303005/diff/1/net/cert/cert_verify_proc_mac.cc#newcode644 net/cert/cert_verify_proc_mac.cc:644: &keychain); On 2016/06/30 01:49:16, Ryan Sleevi wrote: > Can ...
4 years, 5 months ago (2016-06-30 03:20:53 UTC) #6
Ryan Sleevi
https://codereview.chromium.org/2101303005/diff/40001/net/BUILD.gn File net/BUILD.gn (right): https://codereview.chromium.org/2101303005/diff/40001/net/BUILD.gn#newcode1474 net/BUILD.gn:1474: libs = [ "Security.framework" ] I thought we also ...
4 years, 4 months ago (2016-08-12 19:50:17 UTC) #7
mattm
https://codereview.chromium.org/2101303005/diff/40001/net/BUILD.gn File net/BUILD.gn (right): https://codereview.chromium.org/2101303005/diff/40001/net/BUILD.gn#newcode1474 net/BUILD.gn:1474: libs = [ "Security.framework" ] On 2016/08/12 19:50:17, Ryan ...
4 years, 4 months ago (2016-08-16 01:41:34 UTC) #9
mattm
https://codereview.chromium.org/2101303005/diff/40001/net/url_request/url_request_unittest.cc File net/url_request/url_request_unittest.cc (left): https://codereview.chromium.org/2101303005/diff/40001/net/url_request/url_request_unittest.cc#oldcode9378 net/url_request/url_request_unittest.cc:9378: // Doesn't pass on OS X yet for reasons ...
4 years, 4 months ago (2016-08-16 02:14:31 UTC) #10
Ryan Sleevi
https://codereview.chromium.org/2101303005/diff/40001/net/cert/cert_verify_proc_mac.cc File net/cert/cert_verify_proc_mac.cc (right): https://codereview.chromium.org/2101303005/diff/40001/net/cert/cert_verify_proc_mac.cc#newcode674 net/cert/cert_verify_proc_mac.cc:674: (crl_set && !CheckRevocationWithCRLSet(temp_chain, crl_set)); On 2016/08/16 01:41:34, mattm wrote: ...
4 years, 4 months ago (2016-08-17 02:28:13 UTC) #11
mattm
https://codereview.chromium.org/2101303005/diff/40001/net/cert/cert_verify_proc_mac.cc File net/cert/cert_verify_proc_mac.cc (right): https://codereview.chromium.org/2101303005/diff/40001/net/cert/cert_verify_proc_mac.cc#newcode674 net/cert/cert_verify_proc_mac.cc:674: (crl_set && !CheckRevocationWithCRLSet(temp_chain, crl_set)); On 2016/08/17 02:28:12, Ryan Sleevi ...
4 years, 4 months ago (2016-08-17 03:50:57 UTC) #19
mattm
fyi, updated and passing trybots now.
4 years, 3 months ago (2016-09-13 22:31:12 UTC) #32
Ryan Sleevi
LGTM w/ one design question (below) compared to TestRootCerts (and other Singleton-y things) Also, should ...
4 years, 3 months ago (2016-09-13 22:46:54 UTC) #33
mattm
On 2016/09/13 22:46:54, Ryan Sleevi (slow) wrote: > LGTM w/ one design question (below) compared ...
4 years, 3 months ago (2016-09-14 05:52:57 UTC) #46
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/2101303005/300001
4 years, 3 months ago (2016-09-15 00:47:45 UTC) #49
commit-bot: I haz the power
Committed patchset #11 (id:300001)
4 years, 3 months ago (2016-09-15 00:53:45 UTC) #50
commit-bot: I haz the power
Patchset 11 (id:??) landed as https://crrev.com/9cedf75377d817c6b32a01f1d30fbe10663b8bb8 Cr-Commit-Position: refs/heads/master@{#418732}
4 years, 3 months ago (2016-09-15 00:56:03 UTC) #52
davidben
4 years, 3 months ago (2016-09-16 15:21:47 UTC) #53
Message was sent while issue was closed.
A revert of this CL (patchset #11 id:300001) has been created in
https://codereview.chromium.org/2347893002/ by davidben@chromium.org.

The reason for reverting is: This breaks verification on OS X 10.12 and probably
needs some further investigation.

BUG=647241.

Powered by Google App Engine
This is Rietveld 408576698