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

Issue 2806045: Give keys friendly names in NSS and OS X (Closed)

Created:
10 years, 5 months ago by davidben
Modified:
9 years, 6 months ago
Reviewers:
wtc, agl
CC:
chromium-reviews, cbentzel+watch_chromium.org, ben+cc_chromium.org, John Grabowski, pam+watch_chromium.org, brettw-cc_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Give keys friendly names in NSS and OS X This will make them browsing them easier in Keychain Access and certutil. It also gives them a more useful name in Keychain permission dialogs. The friendly name is currently just the hostname which requested the key. It would be nice to have some surrounding text with localization, but this works for now. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=56774

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add a comment to figure out how/if to localize later #

Patch Set 3 : Oops. Fix the unit tests too. #

Total comments: 14

Patch Set 4 : Address Wan-Teh's comments and rebase #

Total comments: 2

Patch Set 5 : Redo the Mac code #

Total comments: 12

Patch Set 6 : Address Wan-Teh's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -12 lines) Patch
M chrome/browser/renderer_host/resource_message_filter.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M net/base/keygen_handler.h View 1 2 3 4 5 3 chunks +12 lines, -4 lines 0 comments Download
M net/base/keygen_handler_mac.cc View 1 2 3 4 5 6 chunks +25 lines, -2 lines 0 comments Download
M net/base/keygen_handler_nss.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/base/keygen_handler_unittest.cc View 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M net/third_party/mozilla_security_manager/nsKeygenHandler.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M net/third_party/mozilla_security_manager/nsKeygenHandler.cpp View 1 2 3 4 3 chunks +16 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
davidben
10 years, 5 months ago (2010-06-30 21:20:31 UTC) #1
davidben
+wtc, since he's back from vacation now.
10 years, 5 months ago (2010-07-08 18:59:41 UTC) #2
agl
Sorry, it appears that I missed this CL. (Please email me if I don't reply ...
10 years, 5 months ago (2010-07-08 19:05:33 UTC) #3
davidben (use chromium.org)
http://codereview.chromium.org/2806045/diff/1/5 File net/base/keygen_handler_mac.cc (right): http://codereview.chromium.org/2806045/diff/1/5#newcode113 net/base/keygen_handler_mac.cc:113: std::string label = StringPrintf("Key generated for %s", On 2010/07/08 ...
10 years, 5 months ago (2010-07-08 19:13:16 UTC) #4
agl
Sorry, I didn't understand that it would be Keychain displaying these names, not Chrome. In ...
10 years, 5 months ago (2010-07-08 21:06:05 UTC) #5
davidben
On 2010/07/08 21:06:05, agl wrote: > Sorry, I didn't understand that it would be Keychain ...
10 years, 4 months ago (2010-08-04 19:28:39 UTC) #6
davidben
On 2010/08/04 19:28:39, David Benjamin wrote: > it'd probably be good of us not to ...
10 years, 4 months ago (2010-08-04 19:29:38 UTC) #7
wtc
LGTM. I, too, am not sure about how to localize the friendly names for keys. ...
10 years, 4 months ago (2010-08-06 22:56:02 UTC) #8
davidben
http://codereview.chromium.org/2806045/diff/11001/12003 File net/base/keygen_handler.h (right): http://codereview.chromium.org/2806045/diff/11001/12003#newcode22 net/base/keygen_handler.h:22: // and incorporate the |challenge| into the Netscape SPKAC ...
10 years, 4 months ago (2010-08-09 23:42:00 UTC) #9
wtc
LGTM. Just one suggestion below. Alternatively, use the scheme://host:port part of the 'url' as the ...
10 years, 4 months ago (2010-08-17 23:50:49 UTC) #10
davidben
I made it just send the URL. Also, during testing, I had to rewrite the ...
10 years, 4 months ago (2010-08-18 20:52:39 UTC) #11
wtc
LGTM. Just some nits on comments and function parameter names. http://codereview.chromium.org/2806045/diff/30001/31003 File net/base/keygen_handler.h (right): http://codereview.chromium.org/2806045/diff/30001/31003#newcode25 ...
10 years, 4 months ago (2010-08-18 22:14:26 UTC) #12
davidben
http://codereview.chromium.org/2806045/diff/30001/31003 File net/base/keygen_handler.h (right): http://codereview.chromium.org/2806045/diff/30001/31003#newcode25 net/base/keygen_handler.h:25: inline KeygenHandler(int key_size_in_bits, const std::string& challenge, On 2010/08/18 22:14:26, ...
10 years, 4 months ago (2010-08-18 22:34:44 UTC) #13
wtc
10 years, 4 months ago (2010-08-18 22:39:41 UTC) #14
LGTM.

Powered by Google App Engine
This is Rietveld 408576698