Automatic resyncing of keys?

Dave Chapeskie gnupg@ddm.wox.org
Sun Apr 21 18:21:02 2002


On Sat, Apr 20, 2002 at 03:55:57PM +0200, Ingo Kl=F6cker wrote:
> On Saturday 20 April 2002 15:32, Shawn McMahon wrote:
> > Is there a way to automatically re-retrieve all the keys I have in my
> > keyring, to get any updated signatures that have been re-submitted,
> > short of writing a script?
> >
> > If not, has somebody written that script already?
>=20
> Try this:
>=20
> gpg --recv-keys `gpg --list-keys | grep ^pub | sed 's_[^/]*/\([0-9A-F]*\)=
.*_\1_'`

As seen in the archives this is my prefered method which has many
advantages over the above suggestion:

gpg --with-colons --fast-list-mode --list-keys \
	| awk -F: '$1=3D=3D"pub" {print $5}' \
	| sort -u | xargs -n 20 gpg --recv-keys

--=20
Dave Chapeskie
OpenPGP Key ID: 0x3D2B6B34