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 22567 - Typographical errors in the Wrap/Unwrap method steps
Summary: Typographical errors in the Wrap/Unwrap method steps
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-07-03 23:06 UTC by Ryan Sleevi
Modified: 2013-07-03 23:23 UTC (History)
0 users

See Also:


Attachments

Description Ryan Sleevi 2013-07-03 23:06:04 UTC
Raised by Michael Hutchinson on http://lists.w3.org/Archives/Public/public-webcrypto/2013Jun/0034.html

14.2.10. The wrapKey method

7 If Key.extractable is not true, terminate this algorithm with an error.

need "Key" to be lower case "key"

7 If key.extractable is not true, terminate this algorithm with an error.


14.2.11. The unwrapKey method

8 If Key.extractable is not true, terminate this algorithm with an error.

This does not make sense as Key has no association here; maybe a copy and paste from 14.2.10 7?

Should it not be

8 If unwrappingKey.extractable is true, terminate this algorithm with an error.

14.2.11. The unwrapKey method

9 Let bytes be the result of executing the decrypt algorithm, with unwrapAlgorithm as algorithm, unwrapKey as key, and with wrappedKey as buffer.

Should be

9 Let bytes be the result of executing the decrypt algorithm, with unwrapAlgorithm as algorithm, unwrappingKey as key, and with wrappedKey as buffer.
Comment 1 Ryan Sleevi 2013-07-03 23:23:34 UTC
Fixed in https://dvcs.w3.org/hg/webcrypto-api/rev/0fd27a9abdd5