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

2018-01-27 Thread MFPA
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Friday 26 January 2018 at 4:44:51 AM, in , FuzzyDrawrings via Gnupg-users wrote:- > 'import-filter' option is unavailable to me as I use > the GnuPG > versions in Ubuntu repository. If I put either the > blacklist or > whitelist in gpg.conf, G

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

2018-01-25 Thread FuzzyDrawrings via Gnupg-users
On January 24, 2018 11:58 PM, Werner Koch wrote: >On Tue, 23 Jan 2018 08:41, gnupg-users@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

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

2018-01-25 Thread Werner Koch
On Tue, 23 Jan 2018 08:41, gnupg-users@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 certa

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

2018-01-24 Thread Robert J. Hansen
> please don't script based on the output of gpg without using > --with-colons. Correction noted, thank you. Have one in return. :) > for fpr in $(gpg --with-colons --list-keys | \ >awk -F: '/^fpr:/{ print $10 }'); do \ > gpg --edit-key "fpr" clean save; done "fpr" shou

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

2018-01-24 Thread Daniel Kahn Gillmor
On Tue 2018-01-23 16:55:20 -0500, Robert J. Hansen wrote: >> From the man page: > > Note that this can be done in a bash one-liner: > > $ for x in `gpg --list-keys|grep "[A-F0-9]\{40\}"|sed 's/ //g'` ; do gpg > --edit-key $x clean save ; done please don't script based on the output of gpg without

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

2018-01-23 Thread Robert J. Hansen
> From the man page: Note that this can be done in a bash one-liner: $ for x in `gpg --list-keys|grep "[A-F0-9]\{40\}"|sed 's/ //g'` ; do gpg --edit-key $x clean save ; done Or in Windows Powershell: > ForEach ($keymatch In &gpg --list-keys|Select-String -Pattern "[A-F0-9]{40}") { &gpg --edit-k

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

2018-01-23 Thread FuzzyDrawrings via Gnupg-users
I guess I had stopped reading about ' clean' after the first line: >clean Compact (by removing all signatures except the selfsig) ...however the rest of the description indicates it does exactly what I need. Doh! Many thanks!___ Gnupg-users mai

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

2018-01-23 Thread Teemu Likonen
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).

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

2018-01-23 Thread Peter Lebbing
On 23/01/18 08:41, FuzzyDrawrings via Gnupg-users wrote: > Title says it all. From the man page: >--edit-key > Present a menu which enables you to do most of the key manageā€ > ment related tasks. It expects the specification of a key on > th

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

2018-01-23 Thread FuzzyDrawrings via Gnupg-users
Title says it all. 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 signat