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

Issue 6413010: Allow the SSL session cache on Win/Mac to be used even after a client cert key is removed (Closed)

Created:
9 years, 10 months ago by Ryan Sleevi
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

The current implementation of client authentication for Windows and Mac matches the NSS implementation, in that it continously checks that the private key is still accessible. The intent is that once the user removes the private key (such as by ejecting a smart card, if it's stored on one), then the existing SSL sessions will become invalidated. However, depending on the smart card middleware, this may involve non-trivial work being done every SSL record, and may be causing a performance regression for authentication. The new behaviour is that any negotiated SSL connections remain valid, even after the smart card is ejected, and any established SSL sessions are not invalidated and may be reused. This matches the observed behaviours of IE and Safari. Smart card client auth on Linux is unaffected and will continue polling the smart card to determine if it's been ejected / the key has been deleted. BUG=71928 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=74716

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -214 lines) Patch
M net/third_party/nss/ssl/ssl3con.c View 2 chunks +1 line, -10 lines 3 comments Download
M net/third_party/nss/ssl/sslimpl.h View 2 chunks +0 lines, -22 lines 0 comments Download
M net/third_party/nss/ssl/sslnonce.c View 1 chunk +0 lines, -5 lines 0 comments Download
M net/third_party/nss/ssl/sslplatf.c View 3 chunks +0 lines, -172 lines 0 comments Download
M net/third_party/nss/ssl/sslsnce.c View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Ryan Sleevi
PTAL. Would you prefer the Chromium patch in the directory is updated as part of ...
9 years, 10 months ago (2011-02-06 01:24:22 UTC) #1
wtc
LGTM. Thanks! This is one of the cleanups I suggested when I reviewed your platform ...
9 years, 10 months ago (2011-02-06 03:02:31 UTC) #2
PhistucK
This sounds like trading security for performance. How is that acceptable? Enterprises\laptop users are not ...
9 years, 10 months ago (2011-02-06 06:54:54 UTC) #3
Ryan Sleevi
On 2011/02/06 06:54:54, PhistucK wrote: > This sounds like trading security for performance. How is ...
9 years, 10 months ago (2011-02-06 07:52:12 UTC) #4
Ryan Sleevi
On 2011/02/06 06:54:54, PhistucK wrote: > This sounds like trading security for performance. How is ...
9 years, 10 months ago (2011-02-06 08:26:12 UTC) #5
PhistucK
Thank you for taking the time to explain. It sounds like an acceptable compromise if ...
9 years, 10 months ago (2011-02-06 09:17:29 UTC) #6
wtc
Even with the employee ID badge/ATM card metaphor, it would be sufficient if the removal ...
9 years, 10 months ago (2011-02-06 15:53:10 UTC) #7
wtc
http://codereview.chromium.org/6413010/diff/1/net/third_party/nss/ssl/ssl3con.c File net/third_party/nss/ssl/ssl3con.c (right): http://codereview.chromium.org/6413010/diff/1/net/third_party/nss/ssl/ssl3con.c#newcode2015 net/third_party/nss/ssl/ssl3con.c:2015: return PR_TRUE; rsleevi: thank you for looking up the ...
9 years, 10 months ago (2011-02-06 16:29:44 UTC) #8
wtc
http://codereview.chromium.org/6413010/diff/1/net/third_party/nss/ssl/ssl3con.c File net/third_party/nss/ssl/ssl3con.c (right): http://codereview.chromium.org/6413010/diff/1/net/third_party/nss/ssl/ssl3con.c#newcode2029 net/third_party/nss/ssl/ssl3con.c:2029: !PK11_IsPresent(slot) || What I meant by the lib/pk11wrap layer ...
9 years, 10 months ago (2011-02-06 16:34:13 UTC) #9
commit-bot: I haz the power
Try job status for 6413010-1 on win: 2
9 years, 10 months ago (2011-02-12 00:26:57 UTC) #10
commit-bot: I haz the power
9 years, 10 months ago (2011-02-12 01:52:17 UTC) #11
Change committed as 74716

Powered by Google App Engine
This is Rietveld 408576698