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 ///

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to