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 25826 - The "hash attribute of the algorithm attribute of key" is invalid. There is no hash attribute in the algorithm attribute of key.
Summary: The "hash attribute of the algorithm attribute of key" is invalid. There is n...
Status: RESOLVED INVALID
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: 2014-05-20 13:38 UTC by Shubham Jindal
Modified: 2014-05-20 16:25 UTC (History)
1 user (show)

See Also:


Attachments

Description Shubham Jindal 2014-05-20 13:38:56 UTC
The "hash attribute of the algorithm attribute of key" is not present. The algorithm attribute of the key interface is a Key Algorithm which has just a DOMString name.
The hash attribute of the algorithm attribute of key cannot be accessed.
Example: Section 18.6.4 under "Sign" operation, Step 4 Line 2.
Comment 1 Ryan Sleevi 2014-05-20 16:25:06 UTC
As noted in the prose, the Algorithm for RSA keys - eg: those created via importKey, generateKey, or unwrapKey - is an RsaHashedKeyAlgorithm, which is-a KeyAlgorithm, which has a hash attribute.

This is being further clarified as part of Bug 25626, so either this could be treated as a Duplicate (same root ambiguity) or as an Invalid (as it's already specified in prose the type of KeyAlgorithm on such objects)