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

Issue 2746103003: Add X509CertificateBytes which uses CRYPTO_BUFFER instead of macOS-native certificate types. (Closed)

Created:
3 years, 9 months ago by mattm
Modified:
3 years, 8 months ago
Reviewers:
eroman, Nico
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org, mac-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add X509CertificateBytes which uses CRYPTO_BUFFER instead of macOS-native certificate types. (Other platforms will come in later CLs.) BUG=671420 Review-Url: https://codereview.chromium.org/2746103003 Cr-Commit-Position: refs/heads/master@{#463507} Committed: https://chromium.googlesource.com/chromium/src/+/4cede8d39db10321b053c0d9776cf6b23f290310

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : rebase #

Patch Set 7 : ios? #

Patch Set 8 : ios? #

Patch Set 9 : . #

Patch Set 10 : . #

Patch Set 11 : . #

Patch Set 12 : rebase #

Patch Set 13 : . #

Patch Set 14 : . #

Total comments: 33

Patch Set 15 : rebase #

Patch Set 16 : review changes #

Total comments: 4

Patch Set 17 : review changes 2 #

Patch Set 18 : rebase #

Total comments: 2

Patch Set 19 : rebase #

Patch Set 20 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+901 lines, -150 lines) Patch
M chrome/browser/ui/certificate_viewer_mac.mm View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -2 lines 0 comments Download
M net/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 5 chunks +30 lines, -0 lines 0 comments Download
M net/cert/cert_verify_proc_mac.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 5 chunks +8 lines, -5 lines 0 comments Download
M net/cert/internal/parse_name.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -0 lines 0 comments Download
M net/cert/internal/parse_name.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +14 lines, -0 lines 0 comments Download
M net/cert/internal/trust_store_mac.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +4 lines, -4 lines 0 comments Download
M net/cert/internal/trust_store_mac_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -3 lines 0 comments Download
M net/cert/test_root_certs_mac.cc View 1 2 3 4 5 6 7 8 9 1 chunk +13 lines, -2 lines 0 comments Download
M net/cert/x509_certificate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +10 lines, -3 lines 0 comments Download
M net/cert/x509_certificate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +6 lines, -5 lines 0 comments Download
A net/cert/x509_certificate_bytes.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +481 lines, -0 lines 0 comments Download
M net/cert/x509_certificate_mac.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +6 lines, -95 lines 0 comments Download
M net/cert/x509_certificate_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +8 lines, -11 lines 0 comments Download
A net/cert/x509_util_ios.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +27 lines, -0 lines 0 comments Download
A net/cert/x509_util_ios.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +22 lines, -0 lines 0 comments Download
M net/cert/x509_util_mac.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +53 lines, -4 lines 0 comments Download
M net/cert/x509_util_mac.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +159 lines, -1 line 0 comments Download
M net/socket/ssl_client_socket_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +19 lines, -2 lines 0 comments Download
M net/ssl/client_cert_store_mac.cc View 1 2 3 4 5 6 7 8 9 5 chunks +15 lines, -8 lines 0 comments Download
M net/ssl/ssl_platform_key_mac.cc View 2 chunks +7 lines, -2 lines 0 comments Download
M net/ssl/ssl_platform_key_mac_unittest.cc View 1 2 chunks +5 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 70 (59 generated)
mattm
https://codereview.chromium.org/2746103003/diff/300001/build/config/crypto.gni File build/config/crypto.gni (right): https://codereview.chromium.org/2746103003/diff/300001/build/config/crypto.gni#newcode29 build/config/crypto.gni:29: use_byte_certs = is_mac My thought is to land the ...
3 years, 8 months ago (2017-03-29 01:19:11 UTC) #33
eroman
https://codereview.chromium.org/2746103003/diff/300001/build/config/BUILD.gn File build/config/BUILD.gn (right): https://codereview.chromium.org/2746103003/diff/300001/build/config/BUILD.gn#newcode75 build/config/BUILD.gn:75: if (use_byte_certs) { Not sure if the OWNERS will ...
3 years, 8 months ago (2017-03-29 23:06:55 UTC) #36
mattm
https://codereview.chromium.org/2746103003/diff/300001/build/config/BUILD.gn File build/config/BUILD.gn (right): https://codereview.chromium.org/2746103003/diff/300001/build/config/BUILD.gn#newcode75 build/config/BUILD.gn:75: if (use_byte_certs) { On 2017/03/29 23:06:54, eroman wrote: > ...
3 years, 8 months ago (2017-03-30 04:38:10 UTC) #39
eroman
lgtm https://codereview.chromium.org/2746103003/diff/340001/net/cert/x509_util_mac.h File net/cert/x509_util_mac.h (right): https://codereview.chromium.org/2746103003/diff/340001/net/cert/x509_util_mac.h#newcode25 net/cert/x509_util_mac.h:25: // Test that a given |cert_handle| is actually ...
3 years, 8 months ago (2017-04-03 19:52:03 UTC) #42
mattm
+thakis for chrome/browser/ui/ https://codereview.chromium.org/2746103003/diff/340001/net/cert/x509_util_mac.h File net/cert/x509_util_mac.h (right): https://codereview.chromium.org/2746103003/diff/340001/net/cert/x509_util_mac.h#newcode25 net/cert/x509_util_mac.h:25: // Test that a given |cert_handle| ...
3 years, 8 months ago (2017-04-03 23:36:16 UTC) #45
mattm
+thakis for chrome/browser/ui/ (forgot to actually add to reviewer list last message)
3 years, 8 months ago (2017-04-04 18:39:05 UTC) #49
mattm
thakis: ping
3 years, 8 months ago (2017-04-07 04:49:08 UTC) #54
Nico
C/b/u lgtm, sorry for missing this. One optional bikeshed below. https://codereview.chromium.org/2746103003/diff/380001/chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm File chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm (right): https://codereview.chromium.org/2746103003/diff/380001/chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm#newcode212 ...
3 years, 8 months ago (2017-04-07 13:08:17 UTC) #55
mattm
https://codereview.chromium.org/2746103003/diff/380001/chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm File chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm (right): https://codereview.chromium.org/2746103003/diff/380001/chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm#newcode212 chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm:212: net::x509_util::CreateSecCertificateFromX509Certificate( On 2017/04/07 13:08:17, Nico wrote: > That's a ...
3 years, 8 months ago (2017-04-07 22:18:51 UTC) #56
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/2746103003/420001
3 years, 8 months ago (2017-04-11 02:38:30 UTC) #67
commit-bot: I haz the power
3 years, 8 months ago (2017-04-11 02:55:59 UTC) #70
Message was sent while issue was closed.
Committed patchset #20 (id:420001) as
https://chromium.googlesource.com/chromium/src/+/4cede8d39db10321b053c0d9776c...

Powered by Google App Engine
This is Rietveld 408576698