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

Issue 287133004: [webcrypto] Add JWK import/export of RSA private keys (NSS). (Closed)

Created:
6 years, 7 months ago by eroman
Modified:
6 years, 7 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, darin-cc_chromium.org, jam
Visibility:
Public.

Description

[webcrypto] Add JWK import/export of RSA private keys (NSS). BUG=373543, 373542, 245025 R=rsleevi@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271901

Patch Set 1 : #

Patch Set 2 : Add JWK private key import as well. #

Total comments: 16

Patch Set 3 : Address sleevi comments #

Patch Set 4 : Don't distinguish between unspecified optional params and empty params #

Total comments: 7

Patch Set 5 : git cl format #

Total comments: 2

Patch Set 6 : Address more comments #

Patch Set 7 : compile fix for openssl #

Patch Set 8 : rebase and remove support for partial optional parameters #

Patch Set 9 : fix comment typeo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+600 lines, -93 lines) Patch
M content/child/webcrypto/jwk.cc View 1 2 3 4 5 6 7 8 chunks +208 lines, -47 lines 0 comments Download
M content/child/webcrypto/platform_crypto.h View 1 2 3 4 5 6 7 2 chunks +30 lines, -0 lines 0 comments Download
M content/child/webcrypto/platform_crypto_nss.cc View 1 2 3 4 5 6 7 6 chunks +141 lines, -5 lines 0 comments Download
M content/child/webcrypto/platform_crypto_openssl.cc View 1 2 3 4 5 6 2 chunks +29 lines, -0 lines 0 comments Download
M content/child/webcrypto/shared_crypto.h View 1 chunk +14 lines, -0 lines 0 comments Download
M content/child/webcrypto/shared_crypto.cc View 2 chunks +24 lines, -24 lines 0 comments Download
M content/child/webcrypto/shared_crypto_unittest.cc View 1 2 3 4 5 6 7 8 3 chunks +144 lines, -8 lines 0 comments Download
M content/child/webcrypto/status.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -3 lines 0 comments Download
M content/child/webcrypto/status.cc View 1 2 3 4 5 6 7 2 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
eroman
6 years, 7 months ago (2014-05-16 05:26:20 UTC) #1
eroman
Updated this changelist to include JWK private key import as well (testing them in combination ...
6 years, 7 months ago (2014-05-17 03:33:02 UTC) #2
Ryan Sleevi
Glad it turned out to be fairly easy. A few comments here. https://codereview.chromium.org/287133004/diff/30001/content/child/webcrypto/jwk.cc File content/child/webcrypto/jwk.cc ...
6 years, 7 months ago (2014-05-19 00:10:34 UTC) #3
eroman
https://codereview.chromium.org/287133004/diff/30001/content/child/webcrypto/jwk.cc File content/child/webcrypto/jwk.cc (right): https://codereview.chromium.org/287133004/diff/30001/content/child/webcrypto/jwk.cc#newcode473 content/child/webcrypto/jwk.cc:473: if (!*property_exists || status.IsError()) On 2014/05/19 00:10:34, Ryan Sleevi ...
6 years, 7 months ago (2014-05-19 18:51:09 UTC) #4
Ryan Sleevi
https://codereview.chromium.org/287133004/diff/30001/content/child/webcrypto/platform_crypto_nss.cc File content/child/webcrypto/platform_crypto_nss.cc (right): https://codereview.chromium.org/287133004/diff/30001/content/child/webcrypto/platform_crypto_nss.cc#newcode1552 content/child/webcrypto/platform_crypto_nss.cc:1552: if (has_data) { On 2014/05/19 18:51:09, eroman wrote: > ...
6 years, 7 months ago (2014-05-19 18:58:34 UTC) #5
Ryan Sleevi
https://codereview.chromium.org/287133004/diff/30001/content/child/webcrypto/platform_crypto_nss.cc File content/child/webcrypto/platform_crypto_nss.cc (right): https://codereview.chromium.org/287133004/diff/30001/content/child/webcrypto/platform_crypto_nss.cc#newcode631 content/child/webcrypto/platform_crypto_nss.cc:631: #if defined(USE_NSS) On 2014/05/19 18:51:09, eroman wrote: > On ...
6 years, 7 months ago (2014-05-19 18:59:26 UTC) #6
eroman
PTAL: I removed the distinction between empty optional parameters and unspecified ones.
6 years, 7 months ago (2014-05-19 19:29:49 UTC) #7
Ryan Sleevi
LGTM, mod nits. https://codereview.chromium.org/287133004/diff/70001/content/child/webcrypto/jwk.cc File content/child/webcrypto/jwk.cc (right): https://codereview.chromium.org/287133004/diff/70001/content/child/webcrypto/jwk.cc#newcode975 content/child/webcrypto/jwk.cc:975: WriteExt(key.extractable(), &jwk_dict); Huh. No clue why ...
6 years, 7 months ago (2014-05-19 20:48:44 UTC) #8
eroman
https://codereview.chromium.org/287133004/diff/70001/content/child/webcrypto/shared_crypto_unittest.cc File content/child/webcrypto/shared_crypto_unittest.cc (right): https://codereview.chromium.org/287133004/diff/70001/content/child/webcrypto/shared_crypto_unittest.cc#newcode2102 content/child/webcrypto/shared_crypto_unittest.cc:2102: // qi). The only optional parameter included is "p" ...
6 years, 7 months ago (2014-05-19 21:04:54 UTC) #9
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 7 months ago (2014-05-19 21:54:07 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/287133004/130001
6 years, 7 months ago (2014-05-19 21:54:45 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-20 02:17:44 UTC) #12
eroman
The CQ bit was unchecked by eroman@chromium.org
6 years, 7 months ago (2014-05-20 03:03:20 UTC) #13
eroman
I have updated to remove support for partial inclusion of p, q, dp, dq, qi. ...
6 years, 7 months ago (2014-05-20 04:07:24 UTC) #14
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 7 months ago (2014-05-20 20:27:57 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/287133004/170001
6 years, 7 months ago (2014-05-20 20:28:55 UTC) #16
eroman
The CQ bit was unchecked by eroman@chromium.org
6 years, 7 months ago (2014-05-20 20:54:50 UTC) #17
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 7 months ago (2014-05-21 01:43:48 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/287133004/170001
6 years, 7 months ago (2014-05-21 01:46:42 UTC) #19
eroman
6 years, 7 months ago (2014-05-21 15:26:58 UTC) #20
Message was sent while issue was closed.
Committed patchset #9 manually as r271901 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698