hyperledger-labs / business-partner-agent

The Business Partner Agent is a SSI wallet and controller based on aries cloud agent python.
https://labs.hyperledger.org/business-partner-agent/
Apache License 2.0
56 stars 49 forks source link

Recipient of connection request has no way to get info about requester #63

Closed domwoe closed 4 years ago

domwoe commented 4 years ago

As a user of a business partner that get added as a partner I want to know who added me

If I add a new business partner which has Aries support, then an Aries connection is created between the two Agents. I know the public DID of the business partner and can retrieve the public profile. However, the connection request that my agent sends to the partner does not contain my public DID but a freshly generated peer DID. Hence, the business partner does not have any information about me. How do we handle that?

Options:

  1. Add functionality to ACA-PY to allow connections based on public DIDs. I think that should be not too hard.
  2. Hack: Put public DID as the agent label (this is what we DID in the first demonstrator), since the agent label is communicated in a connection request.
  3. Add functionality to ACA-PY to include public profile endpoint in the connection request.
  4. Hack: Automatically send a basic message with the public DID after connection is established
  5. Automatically request the public did or public profile endpoint as a self-attested value in a proof request
domwoe commented 4 years ago

Started implementing option 1. See Issue and Code