general command line file encryption tool
I'm not 100% sure how to pose this question, but I'm wondering what the standard or most commonly used command line tool for file encryption is. By this I mean it supports some standard crypto algorithms (aes, 3des, etc.) and allows basically any type of file as input.
About this post
- Posted
- Archived
- Score
- 4 · 100% up
- Kind
- Text
- ID
- 2pjpf2
8 comments
A list of supported cipher algorithms is given by
gpg --versionI could never get gpg keys working. I just use a LUKS USB for all my encrypted files now.
Well, in that comment I was pointing out that gpg can also do symmetric encryption (encrypt using a passphrase) in addition to the regular public-key encryption.
Encrypted filesystems are nice (I'm using LUKS with dm-crypt on my Arch drive), but I got the impression OP wanted to encrypt a specific file and not the whole FS.
For single files or text i would say Gpg
A other way is use encFS,i have a encrypted folder mounted in my dropbox and can open it even on my smartphone.
Edit: encfs got audited and seems to have security issues. Especially when someone gets access to previous versions of the files(dropbox)
Another option is openssl:
To decrypt:
Deleted before we saved it.