yorukot / superfile

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

File encryption using age instead of AES #37

Open lescx opened 7 months ago

lescx commented 7 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 7 months ago

I though AES is currently the best choice for encryption

But maybe I can do some quick research on this