- From: <bugzilla@jessica.w3.org>
- Date: Mon, 12 Jan 2015 20:34:11 +0000
- To: public-webcrypto@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27814
Bug ID: 27814
Summary: Section A.2 - the usage mapping of "enc" is incorrect
Product: Web Cryptography
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: Web Cryptography API Document
Assignee: sleevi@google.com
Reporter: ietf@augustcellars.com
CC: public-webcrypto@w3.org
The text of A.2 says that
enc maps to ["encrypt", "decrypt", "wrapKey", "unwrapKey"]
however my reading of section 4.2 of the JWK specification
(http://tools.ietf.org/html/draft-ietf-jose-json-web-key-39#section-4.2) as
well as the example in Appendix A.2 say that for keys of type "EC" the value of
enc is correct. This means that the mapping should be
enc maps to ["encrypt", "decrypt", "wrapKey", "unwrapKey", "deriveBits",
"deriveKey"]
This also changes the algorithm for importing of ECDH keys when using a jwk
format. (No changes are needed for Diffie-Hellman because it does not support
a jwk format.)
--
You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 12 January 2015 20:34:13 UTC