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

[feature] Support Nonce Misuse-Resistant Authenticated Encryption #66

Open
desimone opened this issue Sep 10, 2019 · 1 comment
Open

Comments

@desimone
Copy link

desimone commented Sep 10, 2019

Is your feature request related to a problem? Please describe.

The current algorithms available to securecookie are susceptible to nonce-reuse issues under certain conditions. I know this is very much on the radar 1,2 of the maintainers, but the effort seems tied to a v2 which I'm not sure of the status of.

Describe the solution you'd like

I'd like for sessions to use a non misuse-resistant algorithm. Options include:

XChaCha20-Poly1305 seems like the best current option. It currently exists in /x/crypto, implements the aead interface, is relatively fast (no AES-NI 😭 ), and is ubiquitous.

Describe alternatives you've considered

Reinvent the wheel and reimplement/fork my own sessions package. Which, you know. Meh.

Of course, I'd be happy to help but didn't want to step on toes if this is part of a larger effort.

@desimone desimone added the enhancement New feature or request label Sep 10, 2019
@elithrar elithrar self-assigned this Sep 11, 2019
@elithrar elithrar added feature request and removed enhancement New feature or request labels Sep 11, 2019
@elithrar
Copy link
Contributor

elithrar commented Sep 11, 2019 via email

@elithrar elithrar removed their assignment Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants