How to list keys and revcerts in a file without doing anything with
schierlm at gmx.de
Mon Aug 8 10:58:24 CEST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Given is a text file (actually the clipboard contents) that may contain
- - among other things that should be ignored - keys and revocation
How do I list the contents of that file? I do not intend to import the
contents directly into my primary keyring, so my current solution is to
import everything into a new empty keyring and then list its contents.
Problem: I do not get the revocation certificates since my empty keyring
obviously does not contain their secret keys. They create a short notice
on import to stdout, but that one is quite hard to parse from all the
information "flying by".
Alternative solution, just to use gpg without parameters. That one does
not import anything, but it may start decrypting or verifying other
stuff in that file (which I don't like since that may ask for
passphrases, which is even more parsing...)
- --list-packets is quite a lot of info and not really easier to parse.
The only obvious option that is left for me is to add an
"Edit->Paste directly" command that allows to import revocation
certificates, but without any confirmation.
Does anyone know any simple way or command line switch i missed?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Gnupg-devel