Expired Keys
Cameron Metzke
cmetzke at gmail.com
Mon Sep 5 00:53:44 CEST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Neil Williams wrote:
> On Sunday 04 September 2005 9:20 pm, Cameron Metzke wrote:
>
>>Hi,
>
>
> Message was signed on 01/01/1970 12:59 am with unknown key 0x68312280.
> The validity of the signature cannot be verified.
> gpgkeys: key 8892825868312280 not found on keyserver
>
> If you are going to sign emails, PLEASE make sure your key is on
> subkeys.pgp.net!
>
> Ta.
>
>
>>Is there any command that will delete expired keys from a keyring ?
>
>
> From previous discussions here:
>
> gpg --batch --yes --delete-key `gpg --list-keys --fixed-list-mode \
> --with-colons | grep "^pub" | grep -v "^pub:[u|f]:" | cut -f5 -d":"`
>
> That deletes anything that is NOT u (ultimate trust) of f (full trust). Adapt
> the regexp ^pub:[u|f] to suit.
>
> If, like me, you run this regularly as a cron job to filter out the useless
> keys that clutter up many keyrings, use:
>
> #!/bin/bash
> gpg --check-trustdb
> gpg --batch --yes --delete-key `gpg --list-keys --fixed-list-mode \
> --with-colons | grep "^pub" | grep -v "^pub:[u|f]:" | cut -f5 -d":"`
> gpg --import /home/neil/documents/gpg/people/*.asc
> gpg --refresh-keys
> gpg --check-trustdb
>
> The import line brings back keys that I want but which I have not yet had a
> chance to sign.
>
> The refresh-keys command updates every key still in the keyring - you could
> run that FIRST but it takes longer. It depends how likely it is that some of
> the "junk" keys will turn out to be trusted once refreshed.
>
> Of course, one man's junk is another man's gold. YMMV.
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
There you go my key is now on the http://keyserver.mine.nu/ keyserver
for ya :)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
iD8DBQFDG3r4iJKCWGgxIoARAkidAJ9uw9vgskYt4UJqxJGHzN9OtytIrACfeADo
M+v7qRBOkqmkmKitNoPdgNc=
=bqoV
-----END PGP SIGNATURE-----
More information about the Gnupg-users
mailing list