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 REKEY Function to Align with Noise Protocol Spec #101

Open
Shourya742 opened this issue Oct 15, 2024 · 1 comment
Open

Add REKEY Function to Align with Noise Protocol Spec #101

Shourya742 opened this issue Oct 15, 2024 · 1 comment

Comments

@Shourya742
Copy link
Contributor

Currently, our Noise protocol implementation disconnects when the nonce is exhausted, rather than using the REKEY function as specified in the Noise protocol to refresh the cipher state and reset the nonce. To ensure compliance with the Noise spec, we should implement the REKEY function to refresh the state and reset the nonce to 0, avoiding disconnection and maintaining seamless encrypted communication.

@Fi3
Copy link
Contributor

Fi3 commented Oct 16, 2024

@jakubtrnka any comments on this?

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

2 participants