Verify signature by specific key

Brian Mearns bmearns at
Wed Jun 17 14:58:27 CEST 2009

I'm looking for an automated way to verify that a signature was made
by a specific key. It's not sufficient to just verify that the
signature is valid and known to my keyring, I want to confirm who it
belongs to. I was hoping the -u option would work, but it doesn't seem
to. The only work-arounds I've come up with are parsing the message
sent to stderr ("Signature made ... using ... key ..."), or creating a
separate key ring containing only desired key. But both of these
options kind of suck. Any other ideas?


Feel free to contact me using PGP Encryption:
Key Id: 0x3AA70848
Available from:

More information about the Gnupg-users mailing list