Open vongohren opened 1 year ago
Checking in here if there are any thoughts of why this might happen?
Found the cause -- the toJwk
and fromJsonWebKey2020
methods have an error in their logic. See PR https://github.com/digitalcredentials/ed25519-verification-key-2020/pull/7 for fix.
Looks like the fix here would be to ensure only the first 32 bytes are set as jwk.d
.
We should add local interop tests with the jose
lib as well.
I just wanted to raise awareness here as the issue is in a fork, and might be here as well.
https://github.com/digitalcredentials/ed25519-verification-key-2020/issues/5#issuecomment-1314141779