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 24441 - Typos in usages to JWK mapping description
Summary: Typos in usages to JWK mapping description
Status: RESOLVED FIXED
Alias: None
Product: Web Cryptography
Classification: Unclassified
Component: Web Cryptography API Document (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Ryan Sleevi
QA Contact:
URL:
Whiteboard:
Keywords:
: 24489 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-01-29 21:42 UTC by Alexey Proskuryakov
Modified: 2014-02-20 20:54 UTC (History)
1 user (show)

See Also:


Attachments

Description Alexey Proskuryakov 2014-01-29 21:42:11 UTC
1. "then the WebCryto KeyUsages specified by this JWK shall be as specified in the following table"

WebCryto -> WebCrypto

2.
JWK use value	WebCrypto Key.usages value
enc	[ "encrypt", "decrypt", "wrap", "unwrap" ]
sig	[ "sign", "verify" ]

wrap->wrapKey
unwrap->unwrapKey

3. "When importing a JWK format key into a WebCrypto Key object, if the key_ops member is present then the WebCryto KeyUsages specified by this JWK shall be equal to the values listed in key_ops where each JWK key_ops value maps to the WebCryto KeyUsage value of the same name"

Except for wrap/unwrap, which have different names in JWK and in WebCrypto.
Comment 1 Mark Watson 2014-02-06 19:57:42 UTC
For (3), it looks like JOSE will align with our naming: http://www.ietf.org/mail-archive/web/jose/current/msg03919.html
Comment 2 Mark Watson 2014-02-06 20:35:16 UTC
*** Bug 24489 has been marked as a duplicate of this bug. ***
Comment 4 Mark Watson 2014-02-20 20:54:14 UTC
JOSE have aligned with us and the mapping is now specified explicitly in the operation descriptions.