Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Support JwsVerificationKey2020 for DID public key #1527

Closed
kdimak opened this issue Mar 26, 2020 · 0 comments · Fixed by #1538
Closed

Support JwsVerificationKey2020 for DID public key #1527

kdimak opened this issue Mar 26, 2020 · 0 comments · Fixed by #1538
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@kdimak
Copy link
Contributor

kdimak commented Mar 26, 2020

JwsVerificationKey2020 is defined at https://github.com/transmute-industries/lds-jws2020.
Example of the public key definition with type=JwsVerificationKey2020:

{
  "id": "did:example:123#_Qq0UL2Fq651Q0Fjd6TvnYE-faHiOpRlPVQcY_-tA4A",
  "type": "JwsVerificationKey2020",
  "controller": "did:example:123",
  "publicKeyJwk": {
    "crv": "Ed25519",
    "x": "VCpo2LMLhn6iWku8MKvSLg2ZAoC-nlOyPVQaO3FxVeQ",
    "kty": "OKP",
    "kid": "_Qq0UL2Fq651Q0Fjd6TvnYE-faHiOpRlPVQcY_-tA4A"
  }
}

Please note that currently verifier.PublicKey structure is passed to the signature verifiers. In this particular case, Type=JwsVerificationKey2020z and some public key bytes are filled. This could be not enough for Crypto based signature verifier as we don't pass crvandkty` of the JSON Web Key.

@troyronda troyronda added the enhancement New feature or request label Mar 27, 2020
@troyronda troyronda added this to the 0.1.3 milestone Mar 27, 2020
kdimak added a commit to kdimak/aries-framework-go that referenced this issue Mar 31, 2020
kdimak added a commit to kdimak/aries-framework-go that referenced this issue Mar 31, 2020
kdimak added a commit to kdimak/aries-framework-go that referenced this issue Mar 31, 2020
kdimak added a commit to kdimak/aries-framework-go that referenced this issue Mar 31, 2020
kdimak added a commit to kdimak/aries-framework-go that referenced this issue Mar 31, 2020
kdimak added a commit to kdimak/aries-framework-go that referenced this issue Apr 2, 2020
kdimak added a commit to kdimak/aries-framework-go that referenced this issue Apr 2, 2020
talwinder50 pushed a commit to talwinder50/aries-framework-go that referenced this issue Apr 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

Successfully merging a pull request may close this issue.

2 participants