-
Notifications
You must be signed in to change notification settings - Fork 59
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
pthid vs thid - Out Of Band - Message Correlation #427
Comments
The use of I'm less familiar with DIDComm V2, but I believe the same things are required and the same reasoning applies. |
But my point is that Out of Band (OOB) is not a protocol. Is just a message without a specific recipient. The problem is not technical only semantics you can (and you need either way) always distinguish the message from each DID. In my point of view the invitation protocol (that I see as any other protocol). This is where we could maybe specify where to use
|
This was also discussed on the DIF DIDComm user Grupo (min 11) https://us02web.zoom.us/rec/share/oZ0gVJRXV9HOSV72jw75Q8xRYjFOYmuKQGiO23Npti8XYXZWaomOyr7FyHI7aAFC.LztoqpeUWUb7aFC5 So I think we need to better specify where to use So in conclusion from the call: |
In 9.5.3 Message Correlation we read: "The id of the message passed in a URL or a QR code is used as the pthid on a response sent by the recipient of this message. The response recipient can use the pthid to correlate it with the original message."
pthid
instead ofthid
when reply to messages that are passed in a QRcode?The way that is described seems we change the behavior depending on the transportation layer.
Also this explanation below in the specs (that is almost hidden):
This may feel counter-intuitive — why not it in the
thid
of the response instead? The answer is that putting it in pthid enables multiple, independent interactions (threads) to be triggered from a single out-of-band invitation.Yes this is counter-intuitive and why do we think the out-of-band is not dedicated to a single recipient just because it doesn't specify the exact recipient?
How does the
pthid enables multiple independent interactions
? What is the problem of replying usingthid
?With this description, I almost wanted to try to give some sort of attack just by knowing the
thid
of any interaction.An Out Of Band Message is just a message without a specific recipient (where the field
to
is not defined). right?The way
pthid
andthid
is presented seems that I will usepthid
when starting a new protocol in the middle of the other one.Example:
thid
in the reply. It doesn't matter If the invitation is an OOB message or not!thid
)]pthid
with the id of the reply.pthid
with theid
of the invitation oob message.I think @rodolfomiranda also agrees that
thid
should be used instead and this point is probably coming from legacy from OOB 1.1.The text was updated successfully, but these errors were encountered: