I use GPG on awsLinux, currently version 2.0.22. Before exchanging a file with someone we exchange public keys, so signatures can be confirmed for the files transmitted. Their public key is imported into my keychain for this purposes.
When decrypting the files I get a line like this one:
gpg: Good signature from "John Doe <[email protected]>"
However when using --list-packets
and entering the passphrase, I get something like:
:signature packet: algo 1, keyid 123abc456def
version 4, created 123456789, md5len 0, sigclass 0x00
Is there a way to get & check the signature without needing the passphrase or decrypting?