You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The initiator and responder roles from the pre-fallback handshake are preserved in the fallback handshake. Thus, the responder sends the first message in a fallback handshake.
You can argue that this is an implementation detail, but still it would be better to not confuse those who use this library after reading the spec and introduce separate entity to indicate that fallback protocol is used.
UPD: I saw This function reverses the roles of initiator and responder., but this conflicts with the spec.
The text was updated successfully, but these errors were encountered:
http://noiseprotocol.org/noise.html#fallback-patterns:
However:
noise-c/tests/unit/test-handshakestate.c
Lines 584 to 587 in 6243290
noise-c/tests/unit/test-handshakestate.c
Lines 615 to 618 in 6243290
You can argue that this is an implementation detail, but still it would be better to not confuse those who use this library after reading the spec and introduce separate entity to indicate that fallback protocol is used.
UPD: I saw
This function reverses the roles of initiator and responder.
, but this conflicts with the spec.The text was updated successfully, but these errors were encountered: