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

TypeError: "challenge" must be a string (ProofPurpose). #185

Open
lemoustachiste opened this issue Dec 3, 2024 · 0 comments
Open

TypeError: "challenge" must be a string (ProofPurpose). #185

lemoustachiste opened this issue Dec 3, 2024 · 0 comments

Comments

@lemoustachiste
Copy link

lemoustachiste commented Dec 3, 2024

According to the data integrity spec https://www.w3.org/TR/vc-data-integrity/#verify-proof, the challenge parameter is optional.

However I'm getting the following (non-blocking Actually, this is the (first) failing error, not the fact that proof proofPurpose does not match the purpose) error when I haven't specified it:

TypeError: "challenge" must be a string.
at new AuthenticationProofPurpose (.../node_modules/jsonld-signatures/lib/purposes/AuthenticationProofPurpose.js:15:13)

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

No branches or pull requests

1 participant