Import all keys from signatures
dshaw at jabberwocky.com
Thu Mar 5 15:28:41 CET 2009
On Mar 5, 2009, at 4:48 AM, Dirk Zemisch wrote:
> i'm just had some trouble with my keyrings and after all recovery
> etc. a
> lot of keys I earlier received are gone.
> But a lot of them are named in the sigs of my own key. Is there a
> possibility to read out all key-IDs from the sigs and import the
> keys from a keyserver? Maybe someone here wrote a script or so?
> I'm using WinXP and Ubuntu on the same keyring, so OS is not really
Sure. On the Ubuntu system, do this:
gpg --recv-keys `gpg --with-colons --list-sigs YOUR-KEY-ID-HERE |
egrep '^sig' | cut -d: -f5 | uniq`
More information about the Gnupg-users