Open cre8 opened 1 month ago
Thank you @cre8.
As you mentioned before in https://github.com/openwallet-foundation-labs/sd-jwt-js/issues/177#issue-2185692325 There are 3 ways to fetch public keys. I have to do it all at once. :)
Thank you @cre8.
As you mentioned before in openwallet-foundation-labs/sd-jwt-js#177 (comment) There are 3 ways to fetch public keys. I have to do it all at once. :)
Well, the vc fetch metadata is less than 20 lines of code.... good luck with all the DID methods out there :D
There are multiple ways to reference the public key of the issuer, one way is the jwt vc issuer metadata: https://www.ietf.org/archive/id/draft-ietf-oauth-sd-jwt-vc-04.html#name-jwt-vc-issuer-metadata It would be cool when the tool will try to fetch and insert the public key automatically, in case the url is callable via the public internet.
The fetching of the public key is quite simple, see: https://github.com/cre8/credhub/blob/72d1cf974af085fbecdd7537e5053e7de287ce86/apps/verifier-backend/src/app/resolver/resolver.service.ts#L60