impierce / identity-wallet

A Tauri-based Identity Wallet for people to manage Decentralized Identities and Verifiable Credentials.
https://www.impierce.com
Apache License 2.0
17 stars 4 forks source link

feat: add support for `ES256` #236

Open nanderstabel opened 1 month ago

nanderstabel commented 1 month ago

Description of change

See title

Blocked until we know if we also need to support ES256K (or only ES256)

Blocked by

Links to any relevant issues

How the change has been tested

Manually tested against https://github.com/impierce/ssi-agent/pull/57

How to test:

  1. Run UniCore from this branch. At the moment this branch only allows UniMe to return data signed using Es256.
  2. Use Postman collection to generate a credential offer QR-code (/v1/credentials + /v1/offers)
  3. Scan the QR-code with UniMe to receive the credential
  4. Use Postman collection to generate a presentation request (/v1/authorization_requests)
  5. Scan the QR-code again and accept, UniCore will successfully validate the Authorization Response
  6. Optional: in order to validate that this solution also works for the DID Key Method, in UniMe's dev mode go to App settings > DID management and select did:key. then repeat steps 4-5.

Definition of Done checklist

Add an x to the boxes that are relevant to your changes.