Bug 125643

Summary: Public key in a generated KeyPair should always be extractable
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebCore Misc.Assignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 122679    
Attachments:
Description Flags
proposed patch sam: review+

Description Alexey Proskuryakov 2013-12-12 10:31:08 PST
WebCrypto API doesn't provide for a way to specify different extractability for keys in a generated key pair, so if the caller wants a non-extractable private key, the public key is not extractable too.

This makes no sense, and is tracked as <https://www.w3.org/Bugs/Public/show_bug.cgi?id=23013>/<https://www.w3.org/Bugs/Public/show_bug.cgi?id=23695>.
Comment 1 Alexey Proskuryakov 2013-12-12 10:33:51 PST
Created attachment 219095 [details]
proposed patch
Comment 2 Alexey Proskuryakov 2013-12-12 10:40:17 PST
Committed <http://trac.webkit.org/changeset/160496> (with a bad ChangeLog, thank you commit-log-editor).