hyperledger-archives / aries-framework-go

Hyperledger Aries Framework Go provides packages for building Agent / DIDComm services.
https://wiki.hyperledger.org/display/ARIES/aries-framework-go
Apache License 2.0
240 stars 161 forks source link

Remove `publicKey` from did document model #2644

Open llorllale opened 3 years ago

llorllale commented 3 years ago

https://github.com/hyperledger/aries-framework-go/blob/baaee32af638b505f462db428bff5ef62b77458d/pkg/doc/did/doc.go#L317

publicKey was removed from the did-core abstract data model a while ago.

troyronda commented 3 years ago

For now, we still need to support older DID methods that have the publicKey property.

I assume this is why rawDoc currently has the publicKey property. (backwards compatibility). @fqutishat @llorllale

llorllale commented 3 years ago

@troyronda @fqutishat can you confirm which methods these are?

llorllale commented 3 years ago

I assume technically did:peer is one of those.... :disappointed:

Edit: https://github.com/decentralized-identity/peer-did-method-spec/pull/27