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
However the XK pattern itself is actually meant in the case the responder does not know the static key of the initiator.
By naively changing the example for KK in the examples directory. The example fails with Error: Receive message 2, since i do not register alice with bob:
(the example does succeed if i uncomment these lines though)
i have two questions in this regard,
is it possible to use noise-star in XK setting without actually knowing the initiators keys in advance?
is it possible to extract the public key of the initiator in the first message so that i can "register" it at that point, and possibly use it for other authorization checks later?
The text was updated successfully, but these errors were encountered:
stef
changed the title
registration of X keys beforehand
registration of [X|I]* keys beforehand
Mar 19, 2023
ok, i guess if i change my perspective and squint i can see this as a kind of "authorized_keys" file like in ssh, this actually makes sense for "[I|X]" patterns in some use-cases. and if i do so, i also know how to ask your fine code to give me the rs of the initiator.
you can close this issue, but also keep it open as a reminder for others that are initially confused by this.
in the file https://github.com/Inria-Prosecco/noise-star/blob/main/noise-all/api-XK/XK_25519_ChaChaPoly_BLAKE2b/XK.h#L149 the the following comment is found:
However the XK pattern itself is actually meant in the case the responder does not know the static key of the initiator.
By naively changing the example for KK in the examples directory. The example fails with
Error: Receive message 2
, since i do not register alice with bob:(the example does succeed if i uncomment these lines though)
i have two questions in this regard,
The text was updated successfully, but these errors were encountered: