W3C home > Mailing lists > Public > public-webcrypto@w3.org > January 2015

[Bug 27814] New: Section A.2 - the usage mapping of "enc" is incorrect

From: <bugzilla@jessica.w3.org>
Date: Mon, 12 Jan 2015 20:34:11 +0000
To: public-webcrypto@w3.org
Message-ID: <bug-27814-7213@http.www.w3.org/Bugs/Public/>

            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",

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

This archive was generated by hypermail 2.3.1 : Monday, 12 January 2015 20:34:13 UTC