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

Issue 284973002: [webcrypto] Remove RSA-ES support (3 of 3) (Closed)

Created:
6 years, 7 months ago by eroman
Modified:
6 years, 7 months ago
CC:
blink-reviews, blink-reviews-bindings_chromium.org, dglazkov+blink, arv+blink, jamesr, abarth-chromium
Visibility:
Public.

Description

[webcrypto] Remove RSA-ES support (3 of 3) * RSA-ES keys that were previously serialized via structured clone will not be readable after this change. Since WebCrypto is behind an experimental flag this breakage is acceptable. * Removes some related code. Parameters for generating and importing RSA keys had the notion of being hashed or not. With RSA-ES gone, all of the RSA keys enumerated by the spec are "hashed" (rsa-ssa, rsa-oaep, rsa-pss) so this distinction isn't necessary. BUG=372920, 245025 R=jochen@chromium.org, jsbell@chromium.org, jww@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174741

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Address jww comments #

Patch Set 3 : rebase #

Patch Set 4 : re-upload after revert #

Patch Set 5 : Placate compiler warning on android about uninitialized variable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -182 lines) Patch
M Source/bindings/v8/SerializedScriptValue.cpp View 1 2 3 4 12 chunks +16 lines, -36 lines 0 comments Download
M Source/modules/crypto/KeyAlgorithm.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/modules/crypto/KeyAlgorithm.cpp View 2 chunks +0 lines, -7 lines 0 comments Download
M Source/modules/crypto/KeyAlgorithm.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/crypto/NormalizeAlgorithm.cpp View 1 2 12 chunks +23 lines, -62 lines 0 comments Download
M Source/modules/crypto/RsaKeyAlgorithm.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/modules/crypto/RsaKeyAlgorithm.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/platform/exported/WebCryptoAlgorithm.cpp View 2 chunks +0 lines, -9 lines 0 comments Download
M Source/platform/exported/WebCryptoKeyAlgorithm.cpp View 2 chunks +0 lines, -14 lines 0 comments Download
M public/platform/WebCryptoAlgorithm.h View 4 chunks +0 lines, -4 lines 0 comments Download
M public/platform/WebCryptoAlgorithmParams.h View 3 chunks +7 lines, -20 lines 0 comments Download
M public/platform/WebCryptoKeyAlgorithm.h View 2 chunks +0 lines, -2 lines 0 comments Download
M public/platform/WebCryptoKeyAlgorithmParams.h View 1 2 4 chunks +5 lines, -21 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
eroman
This is planned as part of a 3-sided patch: (1) Remove LayoutTests: https://codereview.chromium.org/285823002/ (2) Remove ...
6 years, 7 months ago (2014-05-13 23:55:05 UTC) #1
eroman
ping
6 years, 7 months ago (2014-05-16 15:08:09 UTC) #2
jsbell
SSV change LGTM (but I'm not an owner)
6 years, 7 months ago (2014-05-19 16:54:16 UTC) #3
adamk
+jww, perhaps this is something you could take a look at too?
6 years, 7 months ago (2014-05-20 08:17:32 UTC) #4
jww
lgtm, modulo my couple of comments. https://codereview.chromium.org/284973002/diff/40001/Source/bindings/v8/SerializedScriptValue.cpp File Source/bindings/v8/SerializedScriptValue.cpp (right): https://codereview.chromium.org/284973002/diff/40001/Source/bindings/v8/SerializedScriptValue.cpp#newcode254 Source/bindings/v8/SerializedScriptValue.cpp:254: Deprecated_RsaKeyTag = 3, ...
6 years, 7 months ago (2014-05-21 17:19:23 UTC) #5
eroman
https://codereview.chromium.org/284973002/diff/40001/Source/bindings/v8/SerializedScriptValue.cpp File Source/bindings/v8/SerializedScriptValue.cpp (right): https://codereview.chromium.org/284973002/diff/40001/Source/bindings/v8/SerializedScriptValue.cpp#newcode254 Source/bindings/v8/SerializedScriptValue.cpp:254: Deprecated_RsaKeyTag = 3, On 2014/05/21 17:19:23, jww wrote: > ...
6 years, 7 months ago (2014-05-21 18:17:24 UTC) #6
eroman
@jochen: for OWNERS approval (public/platform/* and Source/bindings/*). Thanks!
6 years, 7 months ago (2014-05-21 19:08:21 UTC) #7
jochen (gone - plz use gerrit)
lgtm
6 years, 7 months ago (2014-05-22 08:40:16 UTC) #8
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 7 months ago (2014-05-23 19:21:23 UTC) #9
eroman
The CQ bit was unchecked by eroman@chromium.org
6 years, 7 months ago (2014-05-23 19:21:35 UTC) #10
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 7 months ago (2014-05-23 19:29:29 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/284973002/80001
6 years, 7 months ago (2014-05-23 19:30:06 UTC) #12
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-23 20:46:55 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-23 22:05:30 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/8994)
6 years, 7 months ago (2014-05-23 22:05:31 UTC) #15
eroman
Committed patchset #3 manually as r174726 (presubmit successful).
6 years, 7 months ago (2014-05-23 22:54:36 UTC) #16
eroman
Was reverted due to a bogus "maybe-uninitilized" warning on Android builder [1]. I have made ...
6 years, 7 months ago (2014-05-23 23:57:49 UTC) #17
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 7 months ago (2014-05-23 23:57:56 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/284973002/120001
6 years, 7 months ago (2014-05-23 23:58:13 UTC) #19
commit-bot: I haz the power
6 years, 7 months ago (2014-05-24 01:25:00 UTC) #20
Message was sent while issue was closed.
Change committed as 174741

Powered by Google App Engine
This is Rietveld 408576698