-
Notifications
You must be signed in to change notification settings - Fork 135
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
Unable to pack encrypted didcomm message for certain 25519 keys #1067
Comments
it's possible that the issue is restricted to the |
it's possible that this is fixed by: #1030 (which wasn't deployed on IIW demo agent) but need to add integration test to confirm |
branch with unit tests that expose the issue: https://github.com/uport-project/veramo/compare/nickreynolds/add-packing-unit-test?expand=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug severity
2
Describe the bug
Discovered during IIW interop session, veramo failed to correctly pack a DIDCommV2Message for a DID that expressed its X25519 key with
publicKeyBase58
orpublicKeyMultibase
. It appears that veramo's implementation only works correctly when the key is expressed inpublicKeyHex
format.To Reproduce
Steps to reproduce the behaviour:
publicKeyBase58
representationExpected behaviour
Should be able to pack encrypted message no matter which representation X25519 key uses
Details
Might not be remembering details 100% correctly, will have to double check once I can reproduce again
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: