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

security: handshake V2 #17

Open
JarbasAl opened this issue Dec 23, 2024 · 0 comments
Open

security: handshake V2 #17

JarbasAl opened this issue Dec 23, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@JarbasAl
Copy link
Member

JarbasAl commented Dec 23, 2024

V1: current password Hsub handshake

image

V2 proposal: Encrypted Hsub handshake

image

the main differences:

  • we don't leak the salt this way
  • if someone could theoretically break SHA256
    • no leaking the password by reversing the hash.
    • if AES is broken then all of hivemind crypto is broken too
@JarbasAl JarbasAl self-assigned this Dec 23, 2024
@JarbasAl JarbasAl added this to the protocol_V2 milestone Dec 24, 2024
@JarbasAl JarbasAl added the enhancement New feature or request label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant