Skip to content
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

Add Noise X and IK patterns #138

Open
solardiz opened this issue Nov 7, 2022 · 1 comment
Open

Add Noise X and IK patterns #138

solardiz opened this issue Nov 7, 2022 · 1 comment
Labels

Comments

@solardiz
Copy link
Contributor

solardiz commented Nov 7, 2022

Scenario: pre-knowledge of server static public key, but need to authenticate the clients (can be multiple). Out of hydrogen's currently supported patterns, only KK and XX provide client authentication. However, KK requires that the server knows the client's key from the start, which isn't a good fit when there are multiple clients, and XX would proceed with working communication even when we've connected to the wrong server (would need to explicitly check the server's key). Right?

IK avoids these drawbacks. It is also the pattern used by WireGuard (of course, we're not talking compatibility here, just precedent that a reputable project in a similar scenario made that choice).

X is the first packet in IK, so can be had with no added code. It will also provide a way to start communication before the IK handshake completes, initially at weaker security properties.

Copy link

github-actions bot commented Jan 1, 2025

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the Stale label Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant