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

Include ImageURL in invitation

Open ankitkr1606 opened this issue 5 years ago • 4 comments

I was trying to include ImageURL in the invitation while using create_invitation REST API but was not able to. Can you help me in this?

ankitkr1606 avatar Oct 13 '20 06:10 ankitkr1606

As of now when I create invitation using Swagger agents the response I get is something like this. invi

But as shown in the example of create invitation we can even include an attribute called ImageURL as can be seen here ex_invi

I want to include this into the invitation. I looked at the code base but was not able to find that image_url variable has been assigned any value.

ankitkr1606 avatar Oct 15 '20 10:10 ankitkr1606

The use of icons in invitations has some interesting tension to it -- we want it to improve the user experience, but we want to be careful to make sure a "self-asserted" image (no verification of the sender) can't be used to fool a user into thinking a connection is with one party when it isn't. People pretending to be the Bank when they aren't and they are trying to scam people. An invitation rightly has no trust between the parties, and that trust should be built up using the connection process.

All that said, a PR could be created, if you are interested.

swcurran avatar Oct 15 '20 18:10 swcurran

@ankitkr1606 did you try to set this parameter at the agent start?

--image-url IMAGE_URL Specifies the image url for this agent. This image url is publicized (self-attested) to other agents as part of forming a connection. [env var: ACAPY_IMAGE_URL]

kfigaj avatar Mar 24 '22 13:03 kfigaj

Related to #1686 which is the same issue but for the OOB/DID Exchange protocols. This one is for connections.

swcurran avatar Jun 03 '22 23:06 swcurran

This was added for OOB in PR #1966 . Closing this and will close #1686 as well.

swcurran avatar Jan 10 '23 15:01 swcurran