2 replaced http://security.stackexchange.com/ with https://security.stackexchange.com/
source | link

Following from, http://security.stackexchange.com/questions/25170/what-information-is-leaked-from-an-openpgp-encrypted-fileWhat information is leaked from an OpenPGP encrypted file?, which was very helpful, I'd like to ask a similar question regarding symmetric encryption. For example, in a file encrypted with

gpg -c --cipher-algo AES256 --armor -o file.asc file.txt

Is the passphrase hash (with salt and iterations as specified by --s2k-count) stored in the file.asc? How does gpg know a passphrase is correct?

Following from, http://security.stackexchange.com/questions/25170/what-information-is-leaked-from-an-openpgp-encrypted-file, which was very helpful, I'd like to ask a similar question regarding symmetric encryption. For example, in a file encrypted with

gpg -c --cipher-algo AES256 --armor -o file.asc file.txt

Is the passphrase hash (with salt and iterations as specified by --s2k-count) stored in the file.asc? How does gpg know a passphrase is correct?

Following from, What information is leaked from an OpenPGP encrypted file?, which was very helpful, I'd like to ask a similar question regarding symmetric encryption. For example, in a file encrypted with

gpg -c --cipher-algo AES256 --armor -o file.asc file.txt

Is the passphrase hash (with salt and iterations as specified by --s2k-count) stored in the file.asc? How does gpg know a passphrase is correct?

    Tweeted twitter.com/#!/StackSecurity/status/448549717480587265
1
source | link

How does gpg know that a passphrase is bad in symmetric encryption?

Following from, http://security.stackexchange.com/questions/25170/what-information-is-leaked-from-an-openpgp-encrypted-file, which was very helpful, I'd like to ask a similar question regarding symmetric encryption. For example, in a file encrypted with

gpg -c --cipher-algo AES256 --armor -o file.asc file.txt

Is the passphrase hash (with salt and iterations as specified by --s2k-count) stored in the file.asc? How does gpg know a passphrase is correct?