Automatic update of keyring

Walt Mankowski waltman@pobox.com
Sun Sep 9 21:35:02 2001


--rwEMma7ioTxnRzrJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Sep 09, 2001 at 06:51:01AM -0400, Dave Chapeskie wrote:

> On Wed, Jun 13, 2001 at 01:18:33PM -0400, Dave Chapeskie wrote:
> > Subject: Re: Refreshing PGP keys
> >
> > Just do something like:
> >
> > gpg --with-colons --fast-list-mode --list-keys \
> > | awk -F: '$1=3D=3D"pub" {print $5}' | sort | uniq \
> > | xargs -n 20 gpg --recv-keys
>=20
> Of course you could replace the "sort | uniq" with just "sort -u".
> To put it into a ~/.cshrc or ~/.tcshrc file as an alias you'll need to
> escape the single quotes like this:
>=20
> alias gpg-update-all 'gpg --with-colons --fast-list-mode --list-keys |
> awk -F: '\''$1=3D=3D"pub" {print $5}'\'' | sort -u
> | xargs -n 20 gpg --recv-keys'
This is a simpler way of doing it: gpg --recv-keys `gpg --list-keys | grep ^pub | cut -b 12-19` --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7m8QLXfGeK2entYQRAuq+AJwKhwvHr/bYats0XY6SJrAAiTmanACgkmTB 7555gpaGGmm6rPu6P4mY+fw= =QaL7 -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ--