Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LongFormPrismDID resolver wrong Verification method type #408

Closed
elribonazo opened this issue Mar 24, 2025 · 0 comments · Fixed by #410
Closed

LongFormPrismDID resolver wrong Verification method type #408

elribonazo opened this issue Mar 24, 2025 · 0 comments · Fixed by #410
Assignees

Comments

@elribonazo
Copy link
Contributor

Proposed feature

We are wrongly setting the Verification method type to the curve value, secp, ed... which is wrong.

This impacts the offline first issuer as it is not able to find the right key based on the resolved DIDDocument

Feature description

These are the valid values:

export enum VerificationKeyType {
  Ed25519VerificationKey2018 = "Ed25519VerificationKey2018",
  Ed25519VerificationKey2020 = "Ed25519VerificationKey2020",
  X25519KeyAgreementKey2019 = "X25519KeyAgreementKey2019",
  X25519KeyAgreementKey2020 = "X25519KeyAgreementKey2020",
  EcdsaSecp256k1VerificationKey2019 = "EcdsaSecp256k1VerificationKey2019",
}

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

1 participant