android / android/cose-lib

Support compressed format for EC2SigningKey

Open
#3 0 comments 0 reactions 1 assignee Claimed by @vikram-gaur View on GitHub
Dominant language
Java
Stars
8
Forks
23
PR merge metrics
No merged PRs in 30d

Description

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 |
+----------+------+-------+-------------+-----------------------------------+
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.