aries-cloudagent-python icon indicating copy to clipboard operation
aries-cloudagent-python copied to clipboard

did doc - referenced verification methods should be plain strings

Open Moopli opened this issue 4 years ago • 3 comments

Verification method references in the did doc implementation are currently objects with a type member and a publicKey member (a did url), whereas in the spec a verification method reference is a string (a url, usually a did url).

Moopli avatar Apr 21 '21 02:04 Moopli

@shaangill025 - another one for you.

Likely needs handling similiar to #1106?

swcurran avatar May 09 '21 20:05 swcurran

This bugs me as well. I'm trying to create a DID Exchange request with my public DID to establish a connection between to public DIDs. According to to RFC 0023 I just include my public DID in the request and do not attach a DIDdoc.

On the recipient side I use the resolver interface to get the DID doc which is a pyDID DID Document. This is currently not compatible with the did doc model

What's the plan here?

  • Change the model to comply with the did spec?
  • Don't use this model in the DIDX manager and instead use pyDID?

domwoe avatar May 20 '21 16:05 domwoe

Also related: #1050

domwoe avatar May 20 '21 17:05 domwoe