hyperledger / aries-vcx

aries-vcx is set of crates to work with DIDs, DID Documents, DIDComm, Verifiable Credentials and Hyperledger Aries.
https://didcomm.org
Apache License 2.0
125 stars 83 forks source link

(feat) Implement Resolver for did:jwk #1290 #1299

Open gmulhearn opened 1 month ago

gmulhearn commented 1 month ago

Closes #1290

Implementation of DidJwk, which pretty much identical to the style of DidKey https://github.com/hyperledger/aries-vcx/blob/main/did_core/did_methods/did_key/src/lib.rs . This provides an easy way to map from a Key into a DidJwk etc.

Implements a DidResolvable for did-jwk method, which utilizes the did-jwk spec

gmulhearn commented 1 week ago

FWIW, Anonyome was able to consume this successfully. including testing against processing/resolving credo openid4vc issuer did:jwk's and credo processing our holder did:jwk's (derived from Key with DidJwk)