Bug 125643 - Public key in a generated KeyPair should always be extractable
Summary: Public key in a generated KeyPair should always be extractable
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords:
Depends on:
Blocks: 122679
  Show dependency treegraph
 
Reported: 2013-12-12 10:31 PST by Alexey Proskuryakov
Modified: 2013-12-12 10:40 PST (History)
0 users

See Also:


Attachments
proposed patch (6.28 KB, patch)
2013-12-12 10:33 PST, Alexey Proskuryakov
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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).