yorukot / superfile

Pretty fancy and modern terminal file manager
https://superfile.netlify.app
MIT License
4.96k stars 105 forks source link

File encryption using age instead of AES #37

Open lescx opened 3 months ago

lescx commented 3 months ago

Based on the roadmap, it is planned to support AES encryption. While I think it is a great idea to implement file encryption in a file manager, using AES is a bad idea. It is good enough for the web, but not a good tool to encrypt files on a hard drive. There are other tools that should be used for that.

Please have a look at age, a nice, small and lightning fast encryption tool written in Go. There is also a nice API for it. Crypto is hard but programming with age is not.

As mentioned in #36, I think encryption should be an optional feature. If you have age, you can encrypt files, otherwise you get a notification on which binary you need to install.

yorukot commented 3 months ago

I though AES is currently the best choice for encryption

But maybe I can do some quick research on this