Package: gnupg
Version: 1.4.5-1
Severity: normal

here is the list of all my secret keys (gpg --homedir `pwd` --list-secret-keys):
/var/lib/mini-dinstall/.gnupg/secring.gpg
-----------------------------------------
sec   1024D/9911519C 2006-08-18
uid                  resheteva mini-dinstall repository
ssb   2048g/C759CB9D 2006-08-18

sec   1024D/BA8EF4FB 2006-08-20
uid                  resheteva mini-dinstall repository2
ssb   2048g/6086A696 2006-08-20

and now i'm filtering the list:
gpg --homedir `pwd` --list-secret-keys "resheteva mini-dinstall repository"
with the same result, despite the second key should not have apeared here.

however, 
gpg --homedir `pwd` --list-secret-keys "resheteva mini-dinstall repository2"
shows only the last key, 

but request for a keyid that doesn't match the prefix of any key in the secring,
properly reports an error.

in conclusion, this may have been intended as a feature, but exact matching or 
regular expression matching would do it better, in my opinion.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-skas3-v8.2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gnupg depends on:
ii  libbz2-1.0                  1.0.3-3      high-quality block-sorting file co
ii  libc6                       2.3.6-15     GNU C Library: Shared libraries
ii  libldap2                    2.1.30-13+b1 OpenLDAP libraries
ii  libreadline5                5.1-7        GNU readline and history libraries
ii  libusb-0.1-4                2:0.1.12-2   userspace USB programming library
ii  makedev                     2.3.1-82     creates device files in /dev
ii  zlib1g                      1:1.2.3-13   compression library - runtime

gnupg recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to