[Pkg-gnupg-maint] Bug#650767: /usr/bin/gpg: gpg --edit-key clean - does not work

Jan Christoph Uhde linux at obiwahn.org
Fri Dec 2 18:28:52 UTC 2011


Package: gnupg
Version: 1.4.11-3
Severity: normal
File: /usr/bin/gpg

Dear Maintainer,

the gpg manpage states:

clean:
Compact (by removing all signatures except the selfsig) any user ID that is no
longer usable (e.g. revoked, or expired). Then, remove any signatures that are
not usable by the trust calculations. Specifically, this removes any signature
that does not validate, any signature that is superseded by a later signature,
revoked signatures, and signatures issued by keys that are not present on the
keyring.

Now one of my friends revoked his key and i do not seem to get rid of
the key. I think it would be good when the signature of revoked keys
would not be shown afer cleaning - i am not sure if the manpages says
that or is talking about revoked signatures _only_ and not keys.

It definitely says: 
Specifically, this removes any signature ... and signatures issued by 
keys that are not present on the keyring.

So i have changed trust, disabled and finally deleted the key.
But it still shows up when checking sigs.

I know that i do not get rid of signature (as they keep coming back from
the key servers - which makes a working clean even more important) but it
would make checking signatures and exporting the key easier. I have not checked
but i have not much hope that the --export-clean option works as intended.

Best regards!!

Jan


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnupg depends on:
ii  dpkg          1.16.1.1        
ii  gpgv          1.4.11-3        
ii  install-info  4.13a.dfsg.1-8  
ii  libbz2-1.0    1.0.5-7         
ii  libc6         2.13-21         
ii  libreadline6  6.2-8           
ii  libusb-0.1-4  2:0.1.12-19     
ii  zlib1g        1:1.2.3.4.dfsg-3

Versions of packages gnupg recommends:
ii  gnupg-curl     1.4.11-3   
ii  libldap-2.4-2  2.4.25-4+b1

Versions of packages gnupg suggests:
ii  eog           3.2.2-2       
ii  gnupg-doc     <none>        
ii  imagemagick   8:6.6.9.7-5+b2
ii  libpcsclite1  1.7.4-2       

-- no debconf information





More information about the Pkg-gnupg-maint mailing list