Why doesn't gpg ask me for my password when decrypting (symmetric encryption)?

fleeb andrewinfosec at gmail.com
Tue Jul 26 06:26:01 CEST 2011

When encrypting with --symmetric, I would expect to get asked for the
password when decrypting but I am never prompted... why?

me$ gpg --symmetric --cipher-algo AES256 -v foo.txt
gpg: using cipher AES256
gpg: writing to `foo.txt.gpg'
me$ gpg foo.txt.gpg
gpg: AES256 encrypted data
gpg: encrypted with 1 passphrase
File `foo.txt' exists. Overwrite? (y/N) y

I'm on OS X 10.7 with gpg (GnuPG/MacGPG2) 2.0.17
View this message in context: http://old.nabble.com/Why-doesn%27t-gpg-ask-me-for-my-password-when-decrypting-%28symmetric-encryption%29--tp32137287p32137287.html
Sent from the GnuPG - User mailing list archive at Nabble.com.

More information about the Gnupg-users mailing list