aries-cloudagent-python icon indicating copy to clipboard operation
aries-cloudagent-python copied to clipboard

How to get the verifier's DID?

Open skradha26 opened this issue 2 years ago • 2 comments

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.

skradha26 avatar Jun 23 '22 20:06 skradha26

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.

kukgini avatar Jul 19 '22 00:07 kukgini

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

skradha26 avatar Jul 25 '22 18:07 skradha26