- From: <bugzilla@jessica.w3.org>
- Date: Tue, 22 Apr 2014 23:37:25 +0000
- To: public-webcrypto@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25419 Bug ID: 25419 Summary: ECDH importKey for SPKI handles errors differently than all other key types, notably ECDSA Product: Web Cryptography Version: unspecified Hardware: PC OS: Windows NT Status: ASSIGNED Severity: normal Priority: P2 Component: Web Cryptography API Document Assignee: sleevi@google.com Reporter: sleevi@google.com CC: public-webcrypto@w3.org The specification for ECDH importKey states for importKey https://dvcs.w3.org/hg/webcrypto-api/raw-file/0a08958cf50f/spec/Overview.html#ecdh-operations Import Key 2. If format is "spki" ... 4. If the parameters field of the algorithm AlgorithmIdentifier field of spki is absent, then return an error named SyntaxError However, the corresponding errors returned for other ASN.1 related encoding errors are all DataError, as they are for the similar clause in the ECDSA importKey - https://dvcs.w3.org/hg/webcrypto-api/raw-file/0a08958cf50f/spec/Overview.html#ecdsa-operations - which states a DataError is returned For consistency, all of the SPKI errors should be DataErrors if related to ASN.1 issues. -- You are receiving this mail because: You are on the CC list for the bug.
Received on Tuesday, 22 April 2014 23:37:26 UTC