Skip to content

Instantly share code, notes, and snippets.

@keltia
Last active August 29, 2015 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keltia/10989573 to your computer and use it in GitHub Desktop.
Save keltia/10989573 to your computer and use it in GitHub Desktop.
Fetch public keys for "User ID not found" signatures on a given key
gpg --with-colons --list-sigs <keyid> | awk -F: '$10 ~/not found/{print $5}'| xargs gpg --recv-keys
@thierry-FreeBSD
Copy link

/usr/local/bin/gpg --refresh-keys
in your crontab (low period) is also useful.

@keltia
Copy link
Author

keltia commented Apr 28, 2014

Agreed but it is easily handled by the completion system in zsh. My gist is there but I get frustrated each time I get new sigs :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment