You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue is caused by cloud agent changes: #89
The cloud agent has swtiched to using short-form DIDs for JWT Credential issuance, which the SDK can not handle currently.
Describe the bug
JWT Verification is not working. After further investigation I was able to track down one of the issues
JWTCore.ts:
Pollux.ts
Possible fixes
After further investigation I noticed two issues
Issue 1
The
publicKeyJwk
recovery seems to be wrong:The key is being recovered using the
x
as raw data. It should be replaced withIssue 2
In the Additional Context we have the did:prism parsed from Cloud-Agent most specifically this part:
In which the
crv
property issecp256k1
according to jose iana type.So there's an issue regarding this comparison:
Because Curve.SECP256K1 resolves as
Secp256k1
Additional context
issuerDID
:Cloud-agent version:
1.40.1-134-d16da04
The text was updated successfully, but these errors were encountered: