-
Notifications
You must be signed in to change notification settings - Fork 219
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
Special case of threading in didexchange #0023 ? #817
Comments
It’s not intended to be a special case, but to remind DID Exchange implementers of how threading is supposed to work. A DID Exchange “usually” (more on that below) starts from an OOB invitation message (a different protocol), so the OOB That said, I realize as I type this that DID Exchange can use an implicit invitation — e.g. if a party has published a DIDComm service in a published DID, anyone can use that to send a DID Exchange Perhaps a clarification is needed. |
When dealing with implicit invitations,
|
Nice @genaris — I was only writing and thinking and not actually looking at the RFC (as I should have been). Thanks for the correction. So it does seem to be correct. |
Thanks @swcurran and @genaris. However I think I didn't get fully my point across - I understand reason for I would suspect that |
Got it — sorry for the tangent. It’s interesting (perhaps good?) and kind of suprising that it is called — but perhaps it is wrong? By calling it out, the behaviour is clear. The wording in 0008 is a bit ambiguous, so that it is not clear if the |
Well, It seemed like a good idea at the time. That was added given feedback. |
After looking at the history (and watching a few minutes of 2020-03-11 Aries WG call recording, starting from 59:30), it looks like this mandatory pthid in
I guess the Later on, this functionality went to RFC 0434's |
Good detective work, @genaris !! So that might be why that line is there. However, I don’t think we can remove the line and so make it optional to have or not have the So the answer is that it is a possibly unfortunate evolution of the RFC as it was initially debated, but it is there now and should be left as it is defined. When we next make a version change, we can consider removing the line, but the issue is not important enough to generated the overhead of a version change. Hopefully that is enough information to close the issue. |
Thank you all for engaging here, especially @genaris for all the effort too dig this out, wow! 🚀 Though this is not ideal and while I'd be happy to remove However it's good to have understanding why the RFC was defined the way it is (and I am not missing something important). Again, thanks everyone. |
Hi, I have a question about thread branching and its particular usage in did-exchange https://github.com/hyperledger/aries-rfcs/blob/main/features/0023-did-exchange/README.md
So according to the general https://github.com/hyperledger/aries-rfcs/blob/main/concepts/0008-message-id-and-threading/README.md it sounds like (and was always my understanding) that
pthread
is used to "bootstrap" new subprotocols from some other message (which might be part of some thread). My understanding was that only the first message in the new subprotocol needs to refer to its parent message viapthread
.However, did-exchange explicitly states that the
https://didcomm.org/didexchange/1.0/complete
(eg. being 2nd message in protocol sent by invitation receiver) needs to specifypthid
again:The text was updated successfully, but these errors were encountered: