Skip to content

Peer validation in crypto_kx_*() & thank you! #1066

Answered by jedisct1
etkaar asked this question in Q&A
Discussion options

You must be logged in to vote

The easiest way is to know the peer's public key instead of transmitting it. Without the corresponding secret key, an intermediary cannot compute the shared secret.

If any public key has to be accepted, have the peer sign it, and verify it using a long-term public key.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@etkaar
Comment options

@jedisct1
Comment options

@etkaar
Comment options

Answer selected by jedisct1
Comment options

You must be logged in to vote
2 replies
@jedisct1
Comment options

@etkaar
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1065 on May 23, 2021 14:00.