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

packDidCommMessage with did:key recipient fails #681

Closed
mirceanis opened this issue Aug 26, 2021 · 0 comments · Fixed by #682
Closed

packDidCommMessage with did:key recipient fails #681

mirceanis opened this issue Aug 26, 2021 · 0 comments · Fixed by #682
Assignees
Labels
bug Something isn't working

Comments

@mirceanis
Copy link
Member

Bug severity
3

Describe the bug
packDidCommMessage fails at the DID resolution step because did:key resolver does not include didResolutionMetadata in the result.

To Reproduce
This is noticeable when using the @veramo/cli:
veramo execute -m packDIDCommMessage -a '{"packing":"anoncrypt","message":{"to":"did:key:z6MktEQbgrewCxg3bXkdKAqHJXSEMJVcxUhcEvkWVqyBpzYn", "body":{"hello":"world"}}}'

Observed behaviour
This fails with TypeError: Cannot read property 'error' of undefined

Versions:

  • Veramo: 2.1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant