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

Chacha20 poly1305 #11

Merged
merged 2 commits into from
Oct 17, 2024
Merged

Chacha20 poly1305 #11

merged 2 commits into from
Oct 17, 2024

Conversation

kruserr
Copy link
Owner

@kruserr kruserr commented Oct 17, 2024

Change from aes256-gcm to chacha20 poly1305.

The primary reasoning behind this is that aes256-gcm has a 64GB limit per key or nonce [0].

i6 pack is primarily intended to be used for compressing and encrypting backups, and thus we will be hitting this 64GB limit.
We are not looking to increase complexity by implementing rotating keys / nonces, and thus other cipher suites were considered.
In looking for other available cipher suites, chacha20 poly1305 seems to cover most of the needs of this library, and thus is chosen.

0 - https://crypto.stackexchange.com/questions/31793/plain-text-size-limits-for-aes-gcm-mode-just-64gb

@kruserr kruserr merged commit 2454a0b into kruserr:main Oct 17, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

1 participant