This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24172 - Parameters listed for importKey() should include the hash
Summary: Parameters listed for importKey() should include the hash
Status: RESOLVED FIXED
Alias: None
Product: Web Cryptography
Classification: Unclassified
Component: Web Cryptography API Document (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Ryan Sleevi
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-28 01:49 UTC by Eric Roman
Modified: 2014-02-13 12:59 UTC (History)
1 user (show)

See Also:


Attachments

Description Eric Roman 2013-12-28 01:49:35 UTC
For HMAC lists "HmacParams" as the required parameter to importKey().

The following functions list "None" as the required parameter to importKey():

RSA-OAEP
RSA-PSS
RSASSA-PKCS1-v1_5

However they too should include a parameter for the "hash" property, so that the key can be fixed with the choice of the hash function at creation.
Comment 1 Ryan Sleevi 2014-02-13 12:59:00 UTC
I believe this is resolved with https://dvcs.w3.org/hg/webcrypto-api/rev/2fa3494f0179