Finding the key-id of an armoured key
Fri Jan 10 20:24:04 2003
-----BEGIN PGP SIGNED MESSAGE-----
NotDashEscaped: You need GnuPG to verify this message
> I need to be able to establish various details about a key (public or
> secret) that is held as armoured text, preferably without having to
> import it into a keyring first.
> Any suggestions as to how I can get this information. I'm sure it should
> be simple, but I just can't see it.
The --dry-run option is nice for this, as well as liberal use of -v and --status-fd:
gpg --status-fd 0 -v -v --dry-run --import pubkey.14964AC8.asc
Greg Sabino Mullane firstname.lastname@example.org
PGP Key: 0x14964AC8 200301101423
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----