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

Suggestion: Make verification easier #443

Open
bkrl opened this issue Jun 16, 2022 · 0 comments
Open

Suggestion: Make verification easier #443

bkrl opened this issue Jun 16, 2022 · 0 comments

Comments

@bkrl
Copy link

bkrl commented Jun 16, 2022

Currently, if the users don't have an existing secure channel, they have to compare a long hex string for verification. We can encode the hash into words so that they are easier to compare. If the sender can copy and paste the hash from the receiver, we can also let them paste in the received hash and compare it for them. Another possible improvement would be to modify the protocol to prevent attackers from brute-forcing the verification hash, which would allow a short sequence of words to be used for verification instead of the full hash. An example of this is the SAS verification in the Matrix protocol, where they do a Diffie-Hellman key exchange and compare short strings derived from the hash of the public keys. A hash commitment ensures that both sides generate their keys before receiving the other side's public key.

@bkrl bkrl changed the title Make verification easier Suggestion: Make verification easier Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant