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

How to get the verifier's DID? #1841

Closed skradha26 closed 1 month ago

skradha26 commented 2 years ago

how can I get the verifier's DID in the aries demo? This is in case a holder gets a proof request and holder wants to know the DID of the verifier to resolve DIDDoc to check before sending proof. I am not sure which API endpoint to use to get the DID of verifier.

kukgini commented 2 years ago

I'm not sure I understand correctly what you are asking.

When you received a proof request, you already connected with counter party (in this case, a verifier). From the connection, you can get counter party's identifier of peer DID form. However, there is no way to verify that it is a reliable opponent. It only guarantees that all messages forwarded thereafter are from the original party.

So, If you want to verify a verifier, there is a way to connect with Implicit Invitation of verifier's public DID in the first place. And that public DID has to be obtained from trusted governance.

skradha26 commented 2 years ago

Oh ok. Thank you for the reply. Is there any example somewhere or some pointers?