Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use short-lived/ephemeral connections instead of connection-less #513

Open
esune opened this issue May 8, 2024 · 0 comments
Open

Use short-lived/ephemeral connections instead of connection-less #513

esune opened this issue May 8, 2024 · 0 comments

Comments

@esune
Copy link
Member

esune commented May 8, 2024

Investigate the possibility of using short-lived connections instead of the current connection-less approach to support the proof-request mechanism for VC-AuthN.

A short-lived connection is a "normal" connection that is established with a goal code specifying that it will be severed once the purpose it was created for is achieved. As an example, I could create a connection with the purpose of completing a proof-request, use that connection to submit the proof-request to the holder and delete that connection once done.

A couple of caveats to consider:

  • success/failure scenarios need to be considered. In particular, in case of failure a problem report should be delivered on the connection before it is deleted.
  • experience could be clunky if the holder does not know what to expect: connections remaining in their wallet beyond the initial purpose, problem reports not arriving (see above), maybe more

Relates to #203

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant