How am I supposed to use gpg to symmetrically encrypt a file? When I run gpg --symmetric filename
, then it prompts me for passwords as expected, and generates a filename.gpg
file. However, when I run gpg -d filename.gpg
, it returns
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
SECRET DATA HERE
gpg: WARNING: message was not integrity protected
without asking for the password