Bug 126033

Summary: WebCrypto importKey should fail when requesting usages that are not allowed by key data
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    

Alexey Proskuryakov
Reported 2013-12-19 17:06:55 PST
We currently just intersect usages, and don't complain. A spec proposal suggests that the operation should fail when an importKey argument asks for something that's not allowed in key data (e.g. in JWK).
Attachments
Radar WebKit Bug Importer
Comment 1 2016-08-15 18:27:31 PDT
Jiewen Tan
Comment 2 2016-11-10 12:23:12 PST
The bug is resolved by Bug 164446.
Note You need to log in before you can comment on or make changes to this bug.