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

Issue 675453003: Add tests for RSA private key import using JWK when p and q are swapped. (Closed)

Created:
6 years, 2 months ago by eroman
Modified:
6 years, 1 month ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add tests for RSA private key import using JWK when p and q are swapped. BUG=383995 Committed: https://crrev.com/c5b56441a2b8dd13078db6eaa43180b95f39d082 Cr-Commit-Position: refs/heads/master@{#301553}

Patch Set 1 : #

Patch Set 2 : Add (commented out) test where p and q are flipped (fails on NSS) #

Patch Set 3 : Improve comment #

Patch Set 4 : remove pointless paren #

Patch Set 5 : yay upload failed! #

Total comments: 4

Patch Set 6 : rename function #

Patch Set 7 : fix compile for roid #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -46 lines) Patch
M content/child/webcrypto/test/rsa_ssa_unittest.cc View 1 2 3 4 5 6 7 7 chunks +62 lines, -41 lines 0 comments Download
M content/child/webcrypto/test/test_helpers.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/child/webcrypto/test/test_helpers.cc View 1 2 3 4 5 6 2 chunks +34 lines, -5 lines 0 comments Download
A content/test/data/webcrypto/bad_rsa_keys.json View 1 2 3 1 chunk +115 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
eroman
6 years, 2 months ago (2014-10-22 19:59:32 UTC) #4
Ryan Sleevi
LGTM, mod the StatusToString thing, which I don't really like :/ https://codereview.chromium.org/675453003/diff/120001/content/child/webcrypto/test/rsa_ssa_unittest.cc File content/child/webcrypto/test/rsa_ssa_unittest.cc (right): ...
6 years, 2 months ago (2014-10-24 23:00:57 UTC) #5
eroman
https://codereview.chromium.org/675453003/diff/120001/content/child/webcrypto/test/test_helpers.h File content/child/webcrypto/test/test_helpers.h (right): https://codereview.chromium.org/675453003/diff/120001/content/child/webcrypto/test/test_helpers.h#newcode52 content/child/webcrypto/test/test_helpers.h:52: std::string StatusToString(const Status& status); On 2014/10/24 23:00:57, Ryan Sleevi ...
6 years, 2 months ago (2014-10-24 23:07:09 UTC) #6
eroman
https://codereview.chromium.org/675453003/diff/120001/content/child/webcrypto/test/rsa_ssa_unittest.cc File content/child/webcrypto/test/rsa_ssa_unittest.cc (right): https://codereview.chromium.org/675453003/diff/120001/content/child/webcrypto/test/rsa_ssa_unittest.cc#newcode1168 content/child/webcrypto/test/rsa_ssa_unittest.cc:1168: blink::WebCryptoKeyFormat GetKeyFormat(const base::DictionaryValue* test) { On 2014/10/24 23:00:57, Ryan ...
6 years, 1 month ago (2014-10-27 23:35:18 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/675453003/160001
6 years, 1 month ago (2014-10-28 00:26:33 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/74322) linux_chromium_asan_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel/builds/6694)
6 years, 1 month ago (2014-10-28 01:17:48 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/675453003/180001
6 years, 1 month ago (2014-10-28 01:26:15 UTC) #13
commit-bot: I haz the power
Committed patchset #8 (id:180001)
6 years, 1 month ago (2014-10-28 02:28:44 UTC) #14
commit-bot: I haz the power
6 years, 1 month ago (2014-10-28 02:29:21 UTC) #15
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/c5b56441a2b8dd13078db6eaa43180b95f39d082
Cr-Commit-Position: refs/heads/master@{#301553}

Powered by Google App Engine
This is Rietveld 408576698