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

Issue 20843008: WebCrypto: Check that the key can be used for given operation. (Closed)

Created:
7 years, 4 months ago by eroman
Modified:
7 years, 4 months ago
Reviewers:
abarth-chromium
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch
Visibility:
Public.

Description

WebCrypto: Check that the key can be used for given operation. * key.usages must allow the operation * key.algorithm must match the specified operation BUG=245025 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155322

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Use implicit boolean #

Patch Set 3 : Rebase onto master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -20 lines) Patch
M LayoutTests/crypto/normalize-algorithm.html View 4 chunks +54 lines, -14 lines 0 comments Download
M LayoutTests/crypto/normalize-algorithm-expected.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/modules/crypto/SubtleCrypto.cpp View 1 3 chunks +50 lines, -6 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
eroman
7 years, 4 months ago (2013-08-01 01:21:56 UTC) #1
abarth-chromium
lgtm https://codereview.chromium.org/20843008/diff/5001/Source/modules/crypto/SubtleCrypto.cpp File Source/modules/crypto/SubtleCrypto.cpp (right): https://codereview.chromium.org/20843008/diff/5001/Source/modules/crypto/SubtleCrypto.cpp#newcode84 Source/modules/crypto/SubtleCrypto.cpp:84: if ((key.usages() & toKeyUsage(op)) == 0) (key.usages() & ...
7 years, 4 months ago (2013-08-01 02:01:22 UTC) #2
eroman
https://codereview.chromium.org/20843008/diff/5001/Source/modules/crypto/SubtleCrypto.cpp File Source/modules/crypto/SubtleCrypto.cpp (right): https://codereview.chromium.org/20843008/diff/5001/Source/modules/crypto/SubtleCrypto.cpp#newcode84 Source/modules/crypto/SubtleCrypto.cpp:84: if ((key.usages() & toKeyUsage(op)) == 0) On 2013/08/01 02:01:22, ...
7 years, 4 months ago (2013-08-01 02:57:42 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/20843008/11001
7 years, 4 months ago (2013-08-01 06:45:47 UTC) #4
commit-bot: I haz the power
7 years, 4 months ago (2013-08-01 09:26:50 UTC) #5
Message was sent while issue was closed.
Change committed as 155322

Powered by Google App Engine
This is Rietveld 408576698