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

Issue 220009: Provides a certificate for SSL client authentication on NSS sockets.... (Closed)

Created:
11 years, 3 months ago by Jaime Soriano
Modified:
9 years, 4 months ago
Reviewers:
mark4porn, wtc
CC:
chromium-reviews_googlegroups.com, darin (slow to review)
Visibility:
Public.

Description

[Replaced by http://codereview.chromium.org/276037 ] Provides a certificate for SSL client authentication on NSS sockets. GUI is still missing, so certificates and private keys have to be stored manually, p.e.: $ pk12util -d sql:$HOME/.pki/nssdb -i PKCS12_file.p12 Adds --auto-ssl-client-auth command-line option to enable this feature. BUG=16830 TEST=Try to connect to a web page that requires SSL authentication and confirm that it connects if and only if a valid certificate is stored in .pki/nssdb database.

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 6

Patch Set 3 : '' #

Total comments: 19

Patch Set 4 : '' #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -4 lines) Patch
M chrome/browser/renderer_host/resource_dispatcher_host.cc View 3 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_nss.h View 1 2 3 3 chunks +13 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_nss.cc View 1 2 3 8 chunks +123 lines, -4 lines 3 comments Download

Messages

Total messages: 17 (0 generated)
wtc
Great! I will look at the patch tomorrow or on Monday. (I'm busy today.) Thanks ...
11 years, 3 months ago (2009-09-24 17:19:19 UTC) #1
wtc
I took a quick look. The main issue with your patch is that it does ...
11 years, 3 months ago (2009-09-24 17:36:01 UTC) #2
wtc
http://codereview.chromium.org/220009/diff/6001/7002 File net/socket/ssl_client_socket_nss.cc (right): http://codereview.chromium.org/220009/diff/6001/7002#newcode70 Line 70: #include "chrome/common/chrome_switches.h" The net module can't use functions ...
11 years, 3 months ago (2009-09-25 15:59:43 UTC) #3
wtc
http://codereview.chromium.org/220009/diff/6001/7003 File chrome/common/chrome_switches.h (right): http://codereview.chromium.org/220009/diff/6001/7003#newcode95 Line 95: #if defined(USE_NSS) This test should be #if defined(OS_LINUX) ...
11 years, 3 months ago (2009-09-25 16:01:07 UTC) #4
wtc
http://codereview.chromium.org/220009/diff/6001/7002 File net/socket/ssl_client_socket_nss.cc (right): http://codereview.chromium.org/220009/diff/6001/7002#newcode717 Line 717: status = NSS_GetClientAuthData(NULL, socket, caNames, pRetCert, pRetKey); On ...
11 years, 3 months ago (2009-09-25 16:09:07 UTC) #5
Jaime Soriano
http://codereview.chromium.org/220009/diff/6001/7003 File chrome/common/chrome_switches.h (right): http://codereview.chromium.org/220009/diff/6001/7003#newcode95 Line 95: #if defined(USE_NSS) On 2009/09/25 16:01:07, wtc wrote: > ...
11 years, 2 months ago (2009-09-28 10:46:34 UTC) #6
Jaime Soriano
http://codereview.chromium.org/220009/diff/8004/8006 File net/socket/ssl_client_socket_nss.cc (right): http://codereview.chromium.org/220009/diff/8004/8006#newcode727 Line 727: if (cert && (privkey = PK11_FindKeyByAnyCert(cert, proto_win))) { ...
11 years, 2 months ago (2009-10-01 13:55:57 UTC) #7
wtc
I will try to take a look at this tomorrow. I have been swamped with ...
11 years, 2 months ago (2009-10-07 02:41:09 UTC) #8
Jaime Soriano
On 2009/10/07 02:41:09, wtc wrote: > I will try to take a look at this ...
11 years, 2 months ago (2009-10-07 08:17:44 UTC) #9
Jaime Soriano
http://codereview.chromium.org/220009/diff/8004/8006 File net/socket/ssl_client_socket_nss.cc (right): http://codereview.chromium.org/220009/diff/8004/8006#newcode759 Line 759: if ( PK11_FindKeyByAnyCert(cert, proto_win) ) { This key ...
11 years, 2 months ago (2009-10-07 09:58:26 UTC) #10
wtc
Jaime, Finally I was able to spend some time on this changelist this afternoon. I ...
11 years, 2 months ago (2009-10-10 00:13:34 UTC) #11
Jaime Soriano
On 2009/10/10 00:13:34, wtc wrote: > I edited the description of your CL slightly. One ...
11 years, 2 months ago (2009-10-10 14:16:03 UTC) #12
Jaime Soriano
http://codereview.chromium.org/220009/diff/8004/8009 File chrome/browser/renderer_host/resource_dispatcher_host.cc (right): http://codereview.chromium.org/220009/diff/8004/8009#newcode1060 Line 1060: #else On 2009/10/10 00:13:34, wtc wrote: > The ...
11 years, 2 months ago (2009-10-10 14:31:50 UTC) #13
Jaime Soriano
I didn't manage to change the way I do the handshake renegotiation. http://codereview.chromium.org/220009/diff/18001/19002 File net/socket/ssl_client_socket_nss.cc ...
11 years, 2 months ago (2009-10-13 11:13:39 UTC) #14
wtc
Jaime, Thanks for the new Patch Set. I didn't have time to review it today. ...
11 years, 2 months ago (2009-10-14 01:56:19 UTC) #15
wtc
Jaime, I have started to review your new patch set. It has been moved to ...
11 years, 2 months ago (2009-10-15 02:25:16 UTC) #16
mark4porn
9 years, 4 months ago (2011-08-06 21:51:54 UTC) #17
ncluded in the email sent (if any).

Powered by Google App Engine
This is Rietveld 408576698