-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allowing public DID connection reuse and implicit connections. (#…
…1014) Signed-off-by: Thiago Romano <[email protected]> Signed-off-by: Thiago Romano <[email protected]>
- Loading branch information
1 parent
374b616
commit 4ceef79
Showing
5 changed files
with
61 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4ceef79
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @thiagoromanos, could you please explain how could I test the enableReuseConnection so a contact is not added in the contacts screen every time (scan QR Code - /out-of-band/create-invitation) if the contact already exists in the mobile wallet? A video would be appreciated!
4ceef79
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right now it's not possible to do that using bifold as it is, because de DidResolver for react-native is not working properly, so I used a AFJ NodeJS proxy (like this one https://github.com/2060-io/aries-javascript-indy-vdr-proxy) to make the requests.
The test is quite simple. You create an invitation setting
"use_public_did": true
and in your wallet setenableReuseConnections: true
on your configuration context. Doing that, next time you receive another invitation from the same agent using public_did, you will reuse the connection you already have. Note that you cannot use the same invite multiple times, to do that, useenableImplicitInvitations
option on the configuration context. You will be able to use the same invitation multiple times, but each time a connection will be created.