The extractPublicKeyBytes() method used to get the raw public key from the VerificationMethod does not account for multicodec.
The publicKeyMultibase in the example is a multibase encoding of a multicodec encoding of the actual key material. This pattern is fairly common, so it should be supported.
Steps to Reproduce
The following test case fails:
Details
The
extractPublicKeyBytes()
method used to get the raw public key from the VerificationMethod does not account for multicodec.The publicKeyMultibase in the example is a multibase encoding of a multicodec encoding of the actual key material. This pattern is fairly common, so it should be supported.