3 ms·
I've been using GPG to password-protect files for a long time. It's so easy that I'm surprised more people don't use it. (Non-security-researcher suggestion f
by acabal 14y ago
I've been using GPG to password-protect files for a long time. It's so easy that I'm surprised more people don't use it.
(Non-security-researcher suggestion follows, take with a grain of salt): Note that the default encryption algo used with the -c option is usually CAST5. Though there haven't been any successful attacks against it yet, in today's world of the NSA storing communications indefinitely you might want to consider using AES256 instead of CAST5 to (semi) future-proof your encrypted files. You can do that by adding the following line to ~/.gnupg/gpg.conf:
personal-cipher-preferences aes256 3des
If I'm misguided in that suggestion please do let me know!
- famousactress 14y agoI'm likely denser than you. I find gpg so obtuse that one of the first things I built at Elation was a python app that wraps it. We keep passwords in structured text files which are encrypted using gpg, then the python file wraps all the gpg bits, keeps the stuff organized, and lets us do things like tab-complete the username we're pulling a password from, and copies the password to our clipboard so that we don't have to ever see the passwords, much less all of them. In fact, we're interesting in open-sourcing it since it's really rough around the edges. If anyone is interested in working on it with us, hit me up and maybe we can toss it up on github and make it more nice together.