Keys clean of all signatures except those made by others I trust
Teemu Likonen
tlikonen at iki.fi
Tue Jan 23 17:16:33 CET 2018
FuzzyDrawrings via Gnupg-users [2018-01-23 02:41:45-05] wrote:
> Say I import Bob's key with "--recv-key" from some keyserver. Bob's
> public key has been signed by a lot of non-serious User ID's and spam.
> However Bob's key may have been signed by Alice (whose public-key I
> have in my keyring).
>
> I would like to clean the key of the spam signatures while preserving
> any signatures made by Alice (or anyone else I have trusted on my
> keyring). Does there exist a command/option to accomplish this in
> gpg2?
For one key: "--edit-key" and "clean". To make it automatic for all
import operations you can use options in gpg.conf file:
import-options import-clean
keyserver-options import-clean
I like clean export too, so:
import-options import-clean
export-options export-clean
keyserver-options import-clean,export-clean
--
/// Teemu Likonen - .-.. <https://keybase.io/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20180123/87d22e4b/attachment.sig>
More information about the Gnupg-users
mailing list