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

VC Validate Command - Add keys for proof verification #1316

Open rolsonquadras opened 4 years ago

rolsonquadras commented 4 years ago

When the VC has Proof section, it needs key to validate it. The key needs to be passed as option to verifiable.NewCredential().

https://github.com/hyperledger/aries-framework-go/blob/ac5a9ccceb3daa9fbaa028587122ae94ac9fe593/pkg/controller/command/verifiable/command.go#L107-L110

troyronda commented 4 years ago

(and should be automatic when the DID is resolvable).