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

Split encrypt and decrypt halves #138

Open
piegamesde opened this issue Sep 8, 2022 · 2 comments
Open

Split encrypt and decrypt halves #138

piegamesde opened this issue Sep 8, 2022 · 2 comments

Comments

@piegamesde
Copy link

Hi, I need to support the use case where sender and receiver side are more or less running independently from each other. From what I gather about the Noise protocol so far, this should be possible, as both directions have their own and independent counters. However, I haven't found any methods that would help me do this.

@mcginty
Copy link
Owner

mcginty commented Sep 12, 2022

Hey @piegamesde! That is indeed something I added previously for an early WireGuard experiment using snow, and have not integrated into the API. To be honest, snow hasn't gotten the love it deserves in the last couple years, and is due for a redesign to better support the newer Rust ecosystem (async, etc).

@piegamesde
Copy link
Author

Thanks for the information. I switched to the noise-protocol crate in the meantime as it does expose the CipherState structs.

Usually I'm not a fan of so-called "sans IO" protocol libraries, but in this case the API is so simple to use that I don't think doing explicit IO stuff would be worth the effort.

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