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

Issue 839653002: Throw a DataError rather than OperationError in some cases when importing invalid EC key. (Closed)

Created:
5 years, 11 months ago by eroman
Modified:
5 years, 10 months ago
Reviewers:
agl, davidben
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@pkcs_export
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Throw a DataError rather than OperationError in some cases when importing invalid EC key. Committed: https://crrev.com/09b74b34183c7fbe5de5f5ec89bfb60482b25074 Cr-Commit-Position: refs/heads/master@{#313417}

Patch Set 1 #

Patch Set 2 : More #

Patch Set 3 : undo the jwk optimization and just check_key() always #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -7 lines) Patch
M content/child/webcrypto/openssl/ec_algorithm_openssl.cc View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M content/test/data/webcrypto/bad_ec_keys.json View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
eroman
5 years, 11 months ago (2015-01-06 23:41:31 UTC) #2
davidben
Sorry, I somehow missed this. +agl: Do we want to instead tweak how the various ...
5 years, 11 months ago (2015-01-09 20:01:33 UTC) #4
agl
If BoringSSL is being a pain and we're working around it in Chromium code, then ...
5 years, 11 months ago (2015-01-09 20:06:05 UTC) #5
davidben
On 2015/01/09 20:06:05, agl wrote: > If BoringSSL is being a pain and we're working ...
5 years, 11 months ago (2015-01-12 21:51:05 UTC) #6
eroman
PTAL: I decided to just duplicate EC_KEY_check_key() in all cases. I played around with this ...
5 years, 11 months ago (2015-01-27 00:45:30 UTC) #7
davidben
lgtm (I guess I'll make a note in my spreadsheet to toy with the check-on-import ...
5 years, 11 months ago (2015-01-27 23:20:26 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/839653002/40001
5 years, 11 months ago (2015-01-27 23:44:46 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 11 months ago (2015-01-28 00:43:28 UTC) #11
commit-bot: I haz the power
5 years, 10 months ago (2015-01-28 00:45:28 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/09b74b34183c7fbe5de5f5ec89bfb60482b25074
Cr-Commit-Position: refs/heads/master@{#313417}

Powered by Google App Engine
This is Rietveld 408576698