Bug 126034

Summary: WebCrypto usage should depend on both JWK use and algorithm, not just on use
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, jiewen_tan, rob, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=164446
Bug Depends on:    
Bug Blocks: 160883    

Description Alexey Proskuryakov 2013-12-19 17:08:12 PST
Per an e-mail to public-webcrypto,

------------------
Looking at the current text, the statement ‘enc’ is equivalent to ‘enconly, deconly,wrap,unwrap’ is incorrect.  The expectation is that the value of enc is to be interpreted based on the current algorithm value.  Thus it would be either ‘enconly,deconly’ or ‘wrap,unwrap’.
------------------

So, it seems likely that the spec will change.
Comment 1 Radar WebKit Bug Importer 2016-08-15 18:19:44 PDT
<rdar://problem/27858353>
Comment 2 Jiewen Tan 2016-11-10 12:24:52 PST
The bug is resolved by Bug 164446.