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 27447 - Inconsistent use of "raw" format for EC keys
Summary: Inconsistent use of "raw" format for EC keys
Status: RESOLVED MOVED
Alias: None
Product: Web Cryptography
Classification: Unclassified
Component: Web Cryptography API Document (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Ryan Sleevi
QA Contact:
URL:
Whiteboard:
Keywords:
: 28578 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-11-26 19:06 UTC by Eric Roman
Modified: 2016-05-23 23:00 UTC (History)
6 users (show)

See Also:


Attachments

Description Eric Roman 2014-11-26 19:06:29 UTC
ECDH is described as having a "raw" format for import/export. However ECDSA is not specced as having a "raw" format.

This seems inconsistent from an implementation standpoint since the same description of "raw" could apply to ECDSA's EC keys.

Seems like either both EC key types should support "raw", or neither.
Comment 1 David Leon Gil 2014-12-19 02:43:49 UTC
I rather think that "raw" should be exposed for ECDSA keys as well. (Immediate use-case in the End-to-End extension codebase for RFC 6637 OpenPGP keys.)
Comment 2 Martin Thomson 2015-04-28 17:04:58 UTC
*** Bug 28578 has been marked as a duplicate of this bug. ***
Comment 3 Mark Watson 2016-05-23 23:00:15 UTC
Moved to https://github.com/w3c/webcrypto/issues/36