aries-cloudagent-python
aries-cloudagent-python copied to clipboard
How to get the verifier's DID?
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.
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.
Oh ok. Thank you for the reply. Is there any example somewhere or some pointers?