hyperledger / aries-cloudagent-python

Hyperledger Aries Cloud Agent Python (ACA-Py) is a foundation for building decentralized identity applications and services running in non-mobile environments.
https://wiki.hyperledger.org/display/aries
Apache License 2.0
404 stars 511 forks source link

did doc - referenced verification methods should be plain strings #1104

Closed Moopli closed 1 month ago

Moopli commented 3 years ago

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).

swcurran commented 3 years ago

@shaangill025 - another one for you.

Likely needs handling similiar to #1106?

domwoe commented 3 years ago

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?

domwoe commented 3 years ago

Also related: #1050