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 option to use other encryption algorithm (i.e., AES-256-GCM) #168

Open
Mrtenz opened this issue Aug 26, 2022 · 1 comment
Open

Add option to use other encryption algorithm (i.e., AES-256-GCM) #168

Mrtenz opened this issue Aug 26, 2022 · 1 comment

Comments

@Mrtenz
Copy link

Mrtenz commented Aug 26, 2022

Right now, AES-256-CBC is hardcoded as encryption algorithm. Other AES-256 modes, such as GCM, offer some benefits over CBC (like authentication). Changing this would be a breaking change, so a possibility would be to introduce an option to specify the encryption algorithm used.

I haven't looked too much into the encryption implementation, but using other AES-256 modes may require some other changes, like making sure the auth tag is added to the ciphertext.

@stevobm
Copy link

stevobm commented Mar 4, 2024

I need aes-256-ctr as well, since it suits web transmission better, such as incremental backup.
An encryptionAlgorithm param is indeed needed.

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

No branches or pull requests

3 participants