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

Issue 203753009: [webcrypto] Add PKCS#8 export for RSA private keys for NSS. (Closed)

Created:
6 years, 9 months ago by eroman
Modified:
6 years, 9 months ago
Reviewers:
wtc, Ryan Sleevi
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

[webcrypto] Add PKCS#8 export for RSA private keys for NSS. BUG=245025 R=rsleevi@chromium.org, wtc@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259063

Patch Set 1 #

Patch Set 2 : Style fixes #

Total comments: 16

Patch Set 3 : Address comments #

Patch Set 4 : Remove static #

Total comments: 5

Patch Set 5 : Fix style issue pointed out by wtc #

Total comments: 2

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -5 lines) Patch
M content/child/webcrypto/platform_crypto.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M content/child/webcrypto/platform_crypto_nss.cc View 1 2 3 4 5 3 chunks +162 lines, -0 lines 0 comments Download
M content/child/webcrypto/platform_crypto_openssl.cc View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M content/child/webcrypto/shared_crypto.cc View 1 2 3 4 5 1 chunk +7 lines, -3 lines 0 comments Download
M content/child/webcrypto/shared_crypto_unittest.cc View 1 2 3 4 5 3 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
eroman
I am still going to add more tests, but was hoping for some implementation feedaback ...
6 years, 9 months ago (2014-03-19 03:29:01 UTC) #1
Ryan Sleevi
https://codereview.chromium.org/203753009/diff/20001/content/child/webcrypto/platform_crypto_nss.cc File content/child/webcrypto/platform_crypto_nss.cc (right): https://codereview.chromium.org/203753009/diff/20001/content/child/webcrypto/platform_crypto_nss.cc#newcode571 content/child/webcrypto/platform_crypto_nss.cc:571: // doesn't use multi-prime can safely use version=0. comment: ...
6 years, 9 months ago (2014-03-19 03:52:17 UTC) #2
wtc
Patch set 2 LGTM. Please wait for Ryan's approval. https://codereview.chromium.org/203753009/diff/20001/content/child/webcrypto/platform_crypto_nss.cc File content/child/webcrypto/platform_crypto_nss.cc (right): https://codereview.chromium.org/203753009/diff/20001/content/child/webcrypto/platform_crypto_nss.cc#newcode599 content/child/webcrypto/platform_crypto_nss.cc:599: ...
6 years, 9 months ago (2014-03-19 04:04:21 UTC) #3
eroman
https://codereview.chromium.org/203753009/diff/20001/content/child/webcrypto/platform_crypto_nss.cc File content/child/webcrypto/platform_crypto_nss.cc (right): https://codereview.chromium.org/203753009/diff/20001/content/child/webcrypto/platform_crypto_nss.cc#newcode599 content/child/webcrypto/platform_crypto_nss.cc:599: static bool ReadUint(SECKEYPrivateKey* key, On 2014/03/19 04:04:21, wtc wrote: ...
6 years, 9 months ago (2014-03-19 04:27:42 UTC) #4
wtc
https://codereview.chromium.org/203753009/diff/20001/content/child/webcrypto/platform_crypto_nss.cc File content/child/webcrypto/platform_crypto_nss.cc (right): https://codereview.chromium.org/203753009/diff/20001/content/child/webcrypto/platform_crypto_nss.cc#newcode843 content/child/webcrypto/platform_crypto_nss.cc:843: NULL, NULL, &pki, SEC_ASN1_GET(SECKEY_PrivateKeyInfoTemplate))); On 2014/03/19 04:27:42, eroman wrote: ...
6 years, 9 months ago (2014-03-19 16:59:53 UTC) #5
padolph
On 2014/03/19 04:27:42, eroman wrote: > https://codereview.chromium.org/203753009/diff/20001/content/child/webcrypto/platform_crypto_nss.cc > File content/child/webcrypto/platform_crypto_nss.cc (right): > > https://codereview.chromium.org/203753009/diff/20001/content/child/webcrypto/platform_crypto_nss.cc#newcode599 > ...
6 years, 9 months ago (2014-03-19 17:16:40 UTC) #6
eroman
@wtc: I looked into adapting your existing code, however ran into some issues. For instance ...
6 years, 9 months ago (2014-03-19 18:54:56 UTC) #7
wtc
On 2014/03/19 18:54:56, eroman wrote: > @wtc: I looked into adapting your existing code, however ...
6 years, 9 months ago (2014-03-19 19:06:49 UTC) #8
eroman
@padolph: Just to close the loop on the JWK side of things... I spoke with ...
6 years, 9 months ago (2014-03-19 22:31:23 UTC) #9
wtc
Review comments on patch set 4: Just two coding style nits, and a question for ...
6 years, 9 months ago (2014-03-19 23:49:39 UTC) #10
eroman
https://codereview.chromium.org/203753009/diff/80001/content/child/webcrypto/platform_crypto_nss.cc File content/child/webcrypto/platform_crypto_nss.cc (right): https://codereview.chromium.org/203753009/diff/80001/content/child/webcrypto/platform_crypto_nss.cc#newcode595 content/child/webcrypto/platform_crypto_nss.cc:595: {0}}; On 2014/03/19 23:49:40, wtc wrote: > > Nit: ...
6 years, 9 months ago (2014-03-19 23:55:17 UTC) #11
Ryan Sleevi
lgtm https://codereview.chromium.org/203753009/diff/100001/content/child/webcrypto/platform_crypto_nss.cc File content/child/webcrypto/platform_crypto_nss.cc (right): https://codereview.chromium.org/203753009/diff/100001/content/child/webcrypto/platform_crypto_nss.cc#newcode597 content/child/webcrypto/platform_crypto_nss.cc:597: // On success |value| will be filled with ...
6 years, 9 months ago (2014-03-24 21:23:46 UTC) #12
eroman
https://codereview.chromium.org/203753009/diff/100001/content/child/webcrypto/platform_crypto_nss.cc File content/child/webcrypto/platform_crypto_nss.cc (right): https://codereview.chromium.org/203753009/diff/100001/content/child/webcrypto/platform_crypto_nss.cc#newcode597 content/child/webcrypto/platform_crypto_nss.cc:597: // On success |value| will be filled with data ...
6 years, 9 months ago (2014-03-24 21:54:44 UTC) #13
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 9 months ago (2014-03-24 21:54:49 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/203753009/120001
6 years, 9 months ago (2014-03-24 21:55:16 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-25 00:46:05 UTC) #16
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=287167
6 years, 9 months ago (2014-03-25 00:46:05 UTC) #17
eroman
6 years, 9 months ago (2014-03-25 00:51:13 UTC) #18
Message was sent while issue was closed.
Committed patchset #6 manually as r259063 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698