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

DID method support and other lower layer metadata #82

Closed
troyronda opened this issue Jul 21, 2020 · 5 comments
Closed

DID method support and other lower layer metadata #82

troyronda opened this issue Jul 21, 2020 · 5 comments
Assignees
Labels
needs discussion Good item for a working group call conversation PR Needed v2.0 necessary for spec completion

Comments

@troyronda
Copy link
Contributor

How do I know that the other party supports my DIDComm capabilities? For example:

  • DID methods
  • Transports
  • DIDComm version

Or conversely, how do I find out that my message couldn't be received/processed due to incompatibility of these capabilities?

@OR13
Copy link
Contributor

OR13 commented Jul 24, 2020

There are lots of aries RFCs that touch on this... https://github.com/hyperledger/aries-rfcs/search?q=discovery&unscoped_q=discovery

I would love if there was a single source of truth, answer to this.

@kdenhartog
Copy link
Contributor

kdenhartog commented Jul 26, 2020

Given the asynchronous nature of the protocol some of these aren't going to have great answers to these questions. In general though we've got two main mitigation strategies to help us fail gracefully.

  1. Expiration times
  2. Standard Error messaging codes

For strategy one, you'd want to use this in the case where it's first message (because you're not sure you're sending it to the right place) and in cases where you have no certainty that everything is setup properly. It's essentially just being used as a "If you don't respond by the expiration time I'm going to assume you don't exist".

For strategy two, this would be likely be used in cases where a connection has been established already and there's some form of on going messaging continuity.

I'm not certain if there's other methods that we can use in this case, but I'll take a look through other UDP based protocols and see what they've come up with.

@kdenhartog kdenhartog added needs discussion Good item for a working group call conversation PR Needed v2.0 necessary for spec completion labels Jul 16, 2021
@TelegramSam
Copy link
Collaborator

Discussed in WG 20211101. Did add accept to OOB invitations. Discover features may also help.

@TelegramSam
Copy link
Collaborator

Any updates to this @troyronda and @kdenhartog ?

@TelegramSam
Copy link
Collaborator

Closed after Discussion WG 20220110. Please reopen if you disagree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs discussion Good item for a working group call conversation PR Needed v2.0 necessary for spec completion
Projects
None yet
Development

No branches or pull requests

4 participants