Bug 165680

Summary: [WebCrypto] RSA algorithms should allow importing keys without usages
Product: WebKit Reporter: Jiewen Tan <jiewen_tan>
Component: WebCore Misc.Assignee: Jiewen Tan <jiewen_tan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, commit-queue, jiewen_tan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 129978    
Bug Blocks: 159638    
Attachments:
Description Flags
Patch none

Description Jiewen Tan 2016-12-09 13:36:35 PST
RSA algorithms should allow importing keys without usages.
Comment 1 Jiewen Tan 2016-12-09 13:38:54 PST
<rdar://problem/29601354>
Comment 2 Jiewen Tan 2016-12-09 15:19:03 PST
Created attachment 296717 [details]
Patch
Comment 3 Brent Fulgham 2016-12-09 16:24:43 PST
Comment on attachment 296717 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=296717&action=review

Looks great. r=me.

> LayoutTests/imported/w3c/WebCryptoAPI/encrypt_decrypt/test_rsa_oaep-expected.txt:111
> +PASS RSA-OAEP with SHA-512 and a label no encrypt usage 

Excellent!
Comment 4 WebKit Commit Bot 2016-12-10 00:58:12 PST
Comment on attachment 296717 [details]
Patch

Clearing flags on attachment: 296717

Committed r209657: <http://trac.webkit.org/changeset/209657>
Comment 5 WebKit Commit Bot 2016-12-10 00:58:16 PST
All reviewed patches have been landed.  Closing bug.