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

Issue 16335021: Turn off TLS 1.2 temporarily to fix a regression in (Closed)

Created:
7 years, 6 months ago by wtc
Modified:
7 years, 6 months ago
Reviewers:
agl, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

Pass CRYPT_ACQUIRE_PREFER_NCRYPT_KEY_FLAG instead of CRYPT_ACQUIRE_ALLOW_NCRYPT_KEY_FLAG to CryptAcquireCertificatePrivateKey to fix a regression in client authentication if TLS 1.2 is negotiated. If a client private key is stored in a CAPI provider of the PROV_RSA_FULL provider type, it cannot sign SHA-256 hashes. Using the private key through CNG solves this problem. R=rsleevi@chromium.org BUG=246043 TEST=See bug 246043 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203798

Patch Set 1 #

Patch Set 2 : Use private keys through CNG as rsleevi suggested #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M net/socket/ssl_client_socket_nss.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
wtc
7 years, 6 months ago (2013-06-03 23:40:20 UTC) #1
Ryan Sleevi
LGTM. Per our F2F conversion, the relevant flag to look at is CRYPT_ACQUIRE_PREFER_NCRYPT_KEY_FLAG My order ...
7 years, 6 months ago (2013-06-03 23:48:51 UTC) #2
wtc
rsleevi: thanks a lot for the suggestion. Please review patch set 2.
7 years, 6 months ago (2013-06-04 00:00:26 UTC) #3
Ryan Sleevi
I can't remember if prefer implies allow or if you need to pass both. You ...
7 years, 6 months ago (2013-06-04 00:06:59 UTC) #4
wtc
"Prefer" tries CNG and CAPI in the opposite order to "allow". (Under some circumstances "prefer" ...
7 years, 6 months ago (2013-06-04 00:09:39 UTC) #5
Ryan Sleevi
Lgtm On Jun 3, 2013 5:09 PM, <wtc@chromium.org> wrote: > "Prefer" tries CNG and CAPI ...
7 years, 6 months ago (2013-06-04 00:11:42 UTC) #6
wtc
7 years, 6 months ago (2013-06-04 00:24:49 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 manually as r203798 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698