by simias · 9y ago · 0 comments
Why do you need to generate a private key from a passphrase instead of simply deriving an encryption key directly?
I actually do that from time to time when using GnuPG is not practical:
openssl aes-256-cbc -a -salt -in <cleartext-file> -out <encrypted-file>
And in order to decrypt: openssl aes-256-cbc -d -a -in <encrypted-file> -out <cleartext-file>