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 27449 - Algorithm normalization references "KeyAlgorithm" rather than "Algorithm"
Summary: Algorithm normalization references "KeyAlgorithm" rather than "Algorithm"
Status: RESOLVED MOVED
Alias: None
Product: Web Cryptography
Classification: Unclassified
Component: Web Cryptography API Document (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Ryan Sleevi
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-26 22:55 UTC by Eric Roman
Modified: 2016-05-23 23:41 UTC (History)
2 users (show)

See Also:


Attachments

Description Eric Roman 2014-11-26 22:55:13 UTC
The first step of 18.4.4. Normalizing an algorithm says to:

... "with the alg set to a new KeyAlgorithm dictionary whose name attribute is alg"

This is equivalent since KeyAlgorithm == Algorithm. However conceptually Algorithm makes more sense since "KeyAlgorithm" is used to describe the algorithm of a CryptoKey, whereas algorithm normalization is being run over DOMString or Algorithm.

I propose replacing KeyAlgorithm with Algorithm in that line.
Comment 1 Mark Watson 2016-05-23 23:41:09 UTC
Moved ton https://github.com/w3c/webcrypto/issues/38