Skip to content

Support compressed format for EC2SigningKey #3

@vikram-gaur

Description

@vikram-gaur

We should support compressed format. Seems like we only support full coordinates. From the RFC:

   +----------+------+-------+-------------+-----------------------------------+
   | Key Type | Name | Label | CBOR Type   | Description                       |
   +----------+------+-------+-------------+-----------------------------------+
   | 2        | crv  | -1    | int / tstr  | EC identifier - Taken from the    |
   |          |      |       |             | "COSE Elliptic Curves" registry   |
   | 2        | x    | -2    | bstr        | x-coordinate                      |
   | 2        | y    | -3    | bstr / bool | y-coordinate                      |
   | 2        | d    | -4    | bstr        | Private key                       |
   +----------+------+-------+-------------+-----------------------------------+

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions