decentralized-identity / decentralized-identity/ion

CLI creates payload is outdated key type

Open
#229 2 comments 0 reactions 0 assignees View on GitHub
good first issue high prioirty improvement
Dominant language
HTML
Stars
1.2k
Forks
166
PR merge metrics
No merged PRs in 30d

Description

As of

```
"name": "ion",
"version": "1.0.3",
```

```json
{
"action": "replace",
"document": {
"publicKeys": [
{
"id": "signing-key",
"type": "EcdsaSecp256k1VerificationKey2019",
"publicKeyJwk": {
"kty": "EC",
"crv": "secp256k1",
"x": "qp0Ezzc4YhA196COYKa-RHrCom-0LgFtAf8FqvcntN0",
"y": "zWcbbbg9w1m-DNOszvM68TD0_vFBtWyc18S06c8cULU"
}
}
]
}
}
```

Should be

```json
{
"action": "replace",
"document": {
"publicKeys": [
{
"id": "signing-key",
"type": "JsonWebKey2020",
"publicKeyJwk": {
"kty": "EC",
"crv": "secp256k1",
"x": "qp0Ezzc4YhA196COYKa-RHrCom-0LgFtAf8FqvcntN0",
"y": "zWcbbbg9w1m-DNOszvM68TD0_vFBtWyc18S06c8cULU"
}
}
]
}
}
```

This is low priority, but will harm interoperability with `JsonWebSignature2020`, better not to encourage that key type to be used.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.