Automatic resyncing of keys?

Ingo Klöcker ingo.kloecker@epost.de
Sun Apr 21 19:20:02 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 21 April 2002 18:21, Dave Chapeskie wrote:
> On Sat, Apr 20, 2002 at 03:55:57PM +0200, Ingo Klöcker wrote:
> > 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=="pub" {print $5}' \
> 	| sort -u | xargs -n 20 gpg --recv-keys

Many roads lead to Rome.

My command line was the first thing I did come up with when I wanted to 
update my keyring last Thursday. And it worked just fine.

What's the purpose of the "sort -u"? Why do you sort the key ids?

Regards,
Ingo

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8wvGSGnR+RTDgudgRAuGAAKDhL2BdiC6duXBuNEVU/QdotgUGZACfZyYy
32WsseAxCdloSI4tnaZA3eU=
=E7vK
-----END PGP SIGNATURE-----