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

Node to node connections should keep track of the nonce (iv) #419

Closed
jumaffre opened this issue Oct 8, 2019 · 0 comments · Fixed by #665
Closed

Node to node connections should keep track of the nonce (iv) #419

jumaffre opened this issue Oct 8, 2019 · 0 comments · Fixed by #665

Comments

@jumaffre
Copy link
Contributor

jumaffre commented Oct 8, 2019

To make sure that no replay attacks on encrypted forwarded requests from a backup to the primary can be performed, each node to node channel should keep track of the sender and receiver nonces (i.e. GCM IV) to check for continuity of messages sent.

This new mechanism should be resilient to loss of messages over the channel and reconnections. A unit test will probably be the best way to verify this behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants