aries-framework-go icon indicating copy to clipboard operation
aries-framework-go copied to clipboard

How to use profiles with connections (didexchange)?

Open matgnt opened this issue 3 years ago • 4 comments

I'm trying to establish a connection between 2 parties, Alice and Bob. Both use a separate profile in the same running instance of aries-agent-rest

Problem is, that I can create an invitation on Alice side and use it with Bob in /vcwallet/connect to run through didexchange protocol. How can Alice see the connection she created in her profile? How is the invitation linked to the profile?

I then thought, I create the invitation and lookup the connection to add it to the profile (right after invitation has been created), but it seems a connection entry doesn't exist at that point.

So, the general question is how (and/or when) an invitation is bound to a profile.

Any help appreciated. Thanks, Matthias

matgnt avatar Mar 08 '22 13:03 matgnt

vcwallet controller is universal wallet implementation from aries, and to be used for holder applications only and for typical did exchange I suggest you use didexchange, outofband, outofbandV2 controllers.

Also, currently vcwallet is not storing connection data model in wallet store.

sudeshrshetty avatar May 09 '22 19:05 sudeshrshetty

@sudeshrshetty, are there any plans where vcwallet credential operations (propose, request, accept) could use didexchange, outofband, outofbandv2 established connections? Currently it doesn't seem possible to do a didexchange using the controller and then let vcwallet take over and get a credential.

borancar avatar Aug 04 '22 22:08 borancar

Off-topic, but let me even take it a step further, cause this could potentially simplify some things, are there plans from migrating credentials from verifiable to vcwallet?

borancar avatar Aug 04 '22 22:08 borancar

Partial answer would https://github.com/hyperledger/aries-framework-go/issues/3106#issuecomment-1005652495

borancar avatar Aug 08 '22 16:08 borancar