Keys clean of all signatures except those made by others I trust

Werner Koch wk at gnupg.org
Thu Jan 25 08:58:37 CET 2018


On Tue, 23 Jan 2018 08:41, gnupg-users at gnupg.org said:

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

I do blacklisting of certain signatures in my gpg.conf.  A blacklist may
look like this

  import-filter drop-sig=   sig_created_d=2015-12-24
  import-filter drop-sig=|| sig_created_d=2016-03-16

and a whitelist would be

  import-filter drop-sig=   sig_created_d<>2015-12-24
  import-filter drop-sig=&& sig_created_d<>2016-03-16

Unfortuntely a property for comparing the key-id or the fingerprint is
not yet available.  Shall I look into this?


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20180125/8e858098/attachment-0001.sig>


More information about the Gnupg-users mailing list