Details
It seems that the publicKeyMultibase is a multibase encoding of a multicodec encoding of an ed25519 public key.
did-jwt@7.2.5 doesn't know how to interpret the multicodec encoding so it tries to use the byte array as is so verification fails.
The fix would be in the did-jwt library.
Versions (please complete the following information):
Bug severity 3
Describe the bug
Credentials issued by did:peer fail verification. Here is a sample test to reproduce the issue:
Details It seems that the
publicKeyMultibase
is a multibase encoding of a multicodec encoding of an ed25519 public key.did-jwt@7.2.5
doesn't know how to interpret the multicodec encoding so it tries to use the byte array as is so verification fails.The fix would be in the did-jwt library.
Versions (please complete the following information):