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

Issue 205343004: Add PK11_ExportDERPrivateKeyInfo and PK11_ExportPrivKeyInfo. (Closed)

Created:
6 years, 9 months ago by wtc
Modified:
6 years, 9 months ago
Reviewers:
eroman, Ryan Sleevi
CC:
chromium-reviews
Visibility:
Public.

Description

Add PK11_ExportDERPrivateKeyInfo and PK11_ExportPrivKeyInfo. NSS bug: https://bugzilla.mozilla.org/show_bug.cgi?id=519255 R=eroman@chromium.org,rsleevi@chromium.org BUG=none TEST=none

Patch Set 1 #

Total comments: 19

Patch Set 2 : Address review comments #

Total comments: 4

Patch Set 3 : Update README.chromium. Export new function. Allocate the other integer from arena. #

Patch Set 4 : Regenerate the NSS patch using an upstream NSS tree #

Patch Set 5 : Fix placement of * #

Unified diffs Side-by-side diffs Delta from patch set Stats (+340 lines, -1 line) Patch
M README.chromium View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M nss/exports_win.def View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M nss/lib/pk11wrap/pk11akey.c View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M nss/lib/pk11wrap/pk11obj.c View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M nss/lib/pk11wrap/pk11pk12.c View 1 2 3 4 2 chunks +110 lines, -0 lines 0 comments Download
M nss/lib/pk11wrap/pk11pub.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A patches/nss-export-private-key-info.patch View 1 2 3 4 1 chunk +213 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
eroman
https://codereview.chromium.org/205343004/diff/1/nss/lib/pk11wrap/pk11akey.c File nss/lib/pk11wrap/pk11akey.c (right): https://codereview.chromium.org/205343004/diff/1/nss/lib/pk11wrap/pk11akey.c#newcode1709 nss/lib/pk11wrap/pk11akey.c:1709: pki = PK11_ExportPrivKeyInfo(pk, wincx); FYI this looks like it ...
6 years, 9 months ago (2014-03-20 00:12:04 UTC) #1
eroman
https://codereview.chromium.org/205343004/diff/1/nss/lib/pk11wrap/pk11pk12.c File nss/lib/pk11wrap/pk11pk12.c (right): https://codereview.chromium.org/205343004/diff/1/nss/lib/pk11wrap/pk11pk12.c#newcode590 nss/lib/pk11wrap/pk11pk12.c:590: pki->version.data = &pkiVersion; I found this a bit subtle, ...
6 years, 9 months ago (2014-03-20 00:23:35 UTC) #2
eroman
Last question: are there NSS unit tests to update?
6 years, 9 months ago (2014-03-20 00:32:55 UTC) #3
Ryan Sleevi
https://codereview.chromium.org/205343004/diff/1/nss/lib/pk11wrap/pk11pk12.c File nss/lib/pk11wrap/pk11pk12.c (right): https://codereview.chromium.org/205343004/diff/1/nss/lib/pk11wrap/pk11pk12.c#newcode559 nss/lib/pk11wrap/pk11pk12.c:559: rawKey = PORT_ArenaZNew(arena, SECKEYRawPrivateKey); On 2014/03/20 00:12:04, eroman wrote: ...
6 years, 9 months ago (2014-03-20 01:24:27 UTC) #4
wtc
Eric, Ryan: please review patch set 2. Thank you very much for your review. I ...
6 years, 9 months ago (2014-03-22 01:08:00 UTC) #5
eroman
lgtm. however don't consider my review as actually worth anything :) https://codereview.chromium.org/205343004/diff/20001/nss/lib/pk11wrap/pk11pk12.c File nss/lib/pk11wrap/pk11pk12.c (right): ...
6 years, 9 months ago (2014-03-24 22:46:38 UTC) #6
Ryan Sleevi
LGTM mod nit https://codereview.chromium.org/205343004/diff/20001/nss/lib/pk11wrap/pk11pk12.c File nss/lib/pk11wrap/pk11pk12.c (right): https://codereview.chromium.org/205343004/diff/20001/nss/lib/pk11wrap/pk11pk12.c#newcode577 nss/lib/pk11wrap/pk11pk12.c:577: prepare_rsa_priv_key_export_for_asn1(&rawKey); Shouldn't you prepare after reading ...
6 years, 9 months ago (2014-03-24 23:57:40 UTC) #7
wtc
Thank you for the review. Patch set 4 has the last change suggested by Eric ...
6 years, 9 months ago (2014-03-26 01:47:14 UTC) #8
wtc
The CQ bit was checked by wtc@chromium.org
6 years, 9 months ago (2014-03-26 01:51:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wtc@chromium.org/205343004/170001
6 years, 9 months ago (2014-03-26 01:52:02 UTC) #10
commit-bot: I haz the power
6 years, 9 months ago (2014-03-26 01:52:53 UTC) #11
Message was sent while issue was closed.
Change committed as 259440

Powered by Google App Engine
This is Rietveld 408576698