Bug 124725 - Implement WebCrypto unwrapKey
Summary: Implement WebCrypto unwrapKey
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-11-21 10:26 PST by Alexey Proskuryakov
Modified: 2013-11-21 11:03 PST (History)
7 users (show)

See Also:


Attachments
proposed patch (35.64 KB, patch)
2013-11-21 10:35 PST, Alexey Proskuryakov
andersca: 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-11-21 10:26:23 PST
unwrapKey is basically decrypt+importKey. One subtlety is that there will be algorithms that support wrap/unwrap, but not encrypt/decrypt, so chaining should take that into account.
Comment 1 Alexey Proskuryakov 2013-11-21 10:35:35 PST
Created attachment 217582 [details]
proposed patch
Comment 2 Alexey Proskuryakov 2013-11-21 11:03:27 PST
Committed <http://trac.webkit.org/r159637>.