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

Issue 2910893002: Improved support for loading client certificates on smart cards on macOS

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

Description

Improved support for loading client certificates on smart cards on macOS macOS 10.12 changed the existing APIs that Chromium uses to find client certificates in the keychain in a way that causes certificates located on smart cards to no longer be found. This change causes Chromium to look for certificates using both the existing API, as well as a second API which will find smart card based certificates. BUG=

Patch Set 1 #

Total comments: 17

Patch Set 2 : Improved support for loading client certificates on smart cards on macOS #

Total comments: 14

Patch Set 3 : Improved support for loading client certificates on smart cards on macOS #

Total comments: 7

Patch Set 4 : Improved support for loading client certificates on smart cards on macOS #

Total comments: 2

Patch Set 5 : Improved support for loading client certificates on smart cards on macOS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -23 lines) Patch
M net/ssl/client_cert_store_mac.cc View 1 2 3 4 4 chunks +64 lines, -23 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
Ryan Sleevi
Adding mattm@ as a reviewer, but there's a big question in all the style comments ...
3 years, 6 months ago (2017-05-30 18:00:01 UTC) #6
agaynor
I believe I got all the issues you pointed out, thanks. As I indicated, even ...
3 years, 6 months ago (2017-05-31 02:37:33 UTC) #7
mattm
Sorry about the delay. https://codereview.chromium.org/2910893002/diff/1/net/ssl/client_cert_store_mac.cc File net/ssl/client_cert_store_mac.cc (right): https://codereview.chromium.org/2910893002/diff/1/net/ssl/client_cert_store_mac.cc#newcode299 net/ssl/client_cert_store_mac.cc:299: const void *keys[] = { ...
3 years, 6 months ago (2017-06-05 23:34:28 UTC) #8
agaynor
I think I got all the points. I'd love to delete the first code path, ...
3 years, 6 months ago (2017-06-06 22:38:49 UTC) #9
mattm
https://codereview.chromium.org/2910893002/diff/20001/net/ssl/client_cert_store_mac.cc File net/ssl/client_cert_store_mac.cc (right): https://codereview.chromium.org/2910893002/diff/20001/net/ssl/client_cert_store_mac.cc#newcode330 net/ssl/client_cert_store_mac.cc:330: void ClientCertStoreMac::AddIdentity( On 2017/06/06 22:38:49, agaynor wrote: > On ...
3 years, 6 months ago (2017-06-07 00:24:07 UTC) #10
awong
couple of drive-by nits... sleeiv and mattm have primary review. https://codereview.chromium.org/2910893002/diff/40001/net/ssl/client_cert_store_mac.cc File net/ssl/client_cert_store_mac.cc (right): https://codereview.chromium.org/2910893002/diff/40001/net/ssl/client_cert_store_mac.cc#newcode306 ...
3 years, 6 months ago (2017-06-07 00:35:25 UTC) #11
mattm
https://codereview.chromium.org/2910893002/diff/40001/net/ssl/client_cert_store_mac.cc File net/ssl/client_cert_store_mac.cc (right): https://codereview.chromium.org/2910893002/diff/40001/net/ssl/client_cert_store_mac.cc#newcode306 net/ssl/client_cert_store_mac.cc:306: // macOS provides two ways to search for identities. ...
3 years, 6 months ago (2017-06-07 01:07:56 UTC) #12
awong
https://codereview.chromium.org/2910893002/diff/40001/net/ssl/client_cert_store_mac.cc File net/ssl/client_cert_store_mac.cc (right): https://codereview.chromium.org/2910893002/diff/40001/net/ssl/client_cert_store_mac.cc#newcode306 net/ssl/client_cert_store_mac.cc:306: // macOS provides two ways to search for identities. ...
3 years, 6 months ago (2017-06-07 19:40:14 UTC) #13
agaynor
https://codereview.chromium.org/2910893002/diff/20001/net/ssl/client_cert_store_mac.cc File net/ssl/client_cert_store_mac.cc (right): https://codereview.chromium.org/2910893002/diff/20001/net/ssl/client_cert_store_mac.cc#newcode330 net/ssl/client_cert_store_mac.cc:330: void ClientCertStoreMac::AddIdentity( On 2017/06/07 00:24:07, mattm wrote: > On ...
3 years, 6 months ago (2017-06-07 21:19:47 UTC) #14
awong
https://codereview.chromium.org/2910893002/diff/60001/net/ssl/client_cert_store_mac.cc File net/ssl/client_cert_store_mac.cc (right): https://codereview.chromium.org/2910893002/diff/60001/net/ssl/client_cert_store_mac.cc#newcode336 net/ssl/client_cert_store_mac.cc:336: static const void* keys[] = { Oh yeah...and if ...
3 years, 6 months ago (2017-06-07 21:21:08 UTC) #15
agaynor
https://codereview.chromium.org/2910893002/diff/60001/net/ssl/client_cert_store_mac.cc File net/ssl/client_cert_store_mac.cc (right): https://codereview.chromium.org/2910893002/diff/60001/net/ssl/client_cert_store_mac.cc#newcode336 net/ssl/client_cert_store_mac.cc:336: static const void* keys[] = { On 2017/06/07 21:21:08, ...
3 years, 6 months ago (2017-06-09 00:32:05 UTC) #16
mattm
lgtm, thanks!
3 years, 6 months ago (2017-06-09 00:50:35 UTC) #17
mattm
Sorry, I forgot about CLA stuff. It looks like Mozilla has a corporate CLA with ...
3 years, 6 months ago (2017-06-24 02:18:00 UTC) #18
Ryan Sleevi
Apologies, had unsaved drafts but Matt already got them. LGTM and throwing to CQ.
3 years, 5 months ago (2017-07-11 20:12:18 UTC) #19
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/2910893002/80001
3 years, 5 months ago (2017-07-11 20:13:10 UTC) #21
commit-bot: I haz the power
3 years, 5 months ago (2017-07-11 20:13:13 UTC) #23
The author agaynor@mozilla.com has not signed Google Contributor License
Agreement. Please visit https://cla.developers.google.com to sign and manage
CLA.

Powered by Google App Engine
This is Rietveld 408576698