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
Hey.
I've been wondering how to properly accept multiple public keys instead of just a single one.
Does simply not providing a remote_public_key(&pubkey) and checking HandshakeState.get_remote_static() work?
Using a psk works, but it's not ideal.
The text was updated successfully, but these errors were encountered:
It could be really useful to check against a list of allowed public keys instead of just allowing a single one. I think simply not providing a remote_public_key and checking HandshakeState.get_remote_static() should work.
@vifino sorry for not getting back to you. @zserik is correct - using the X pattern (static key for sender is transmitted) will allow you to receive a static key and then verify it in whatever way you'd like.
Hey.
I've been wondering how to properly accept multiple public keys instead of just a single one.
Does simply not providing a
remote_public_key(&pubkey)
and checkingHandshakeState.get_remote_static()
work?Using a
psk
works, but it's not ideal.The text was updated successfully, but these errors were encountered: