Encrypt your file (enter passcode):
openssl enc -aes-256-cbc -a -salt -in passwords.txt -out passwords.txt.encryptedThen remove the old file. You might want to shred the file, because you can recover simple deletes.
Un-encrypt your file (enter passcode):
openssl enc -d -aes-256-cbc -a -in passwords.txt.encryptedThe un-encrypted data is written to the output stream.
See also OpenSSL: Documents, enc(1). You can use whatever cipher you want.
Of course, you now have a main password to your password file. So protect that and remember it.
Oh, you have windows? Install Cygwin. Don't know how to do that? Just keep your passwords on paper then and put them in a physical safe in your home.
No comments:
Post a Comment