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

Migrate from node crypto to libsodium #63

Open
alichtman opened this issue Jan 3, 2025 · 0 comments
Open

Migrate from node crypto to libsodium #63

alichtman opened this issue Jan 3, 2025 · 0 comments
Labels
wontfix This will not be worked on

Comments

@alichtman
Copy link
Owner

alichtman commented Jan 3, 2025

WARNING: Will have to be very careful to provide legacy support + migrate people over to the new format.

Potentially, this is not worth the effort.


The node crypto libraries are a bit clunky to use, and easy to footgun with (for example, forgetting to validate the auth tag: f7b1e23).

Could use libsodium instead: https://doc.libsodium.org/quickstart#how-do-i-encrypt-a-file-using-a-password

https://www.npmjs.com/package/libsodium

@alichtman alichtman added the wontfix This will not be worked on label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant