Package: gnupg
Version: 1.4.2-2
Severity: normal

Hi,

I have an OpenGPG smart card with its own subkeys (for encryption and
signing). Since I often don't have my smart card available (for
instance, I might be using ssh from my laptop home, as I read all my
mail there), I've set the non-smart card subkey as my default key in
.gnupg/options:

  default-key 52B7487E!

However, most programs I use (including mutt) are not particularily
subkey aware, and can only specify the key, without forcing a specific
subkey:

  trofast:~# echo test | gpg -u 52b7487e --sign
  gpg: pcsc_connect failed: unknown reader (0x80100009)
  gpg: card reader not available
  *** glibc detected *** corrupted double-linked list: 0x00002aaaab36e6d8 ***
  zsh: done       echo test | 
  zsh: abort      gpg -u 52b7487e --sign
  
Since I can't find any good way of specifying which subkey should be the
default (gpg just picks the newest one, which is rather annoying,
especially when others send me encrypted e-mail -- but Werner Koch
claims that's not a bug, but a feature :-) ), there should at least be
some sort of fallback here; when it can't find my smart card, it should
fall back to the original (older) subkey, which has a good old-fashioned
pass phrase.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.3
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)

Versions of packages gnupg depends on:
ii  libbz2-1.0                  1.0.2-11     high-quality block-sorting file co
ii  libc6                       2.3.5-11     GNU C Library: Shared libraries an
ii  libldap2                    2.1.30-12    OpenLDAP libraries
ii  libreadline5                5.1-5        GNU readline and history libraries
ii  libusb-0.1-4                2:0.1.10a-22 userspace USB programming library
ii  makedev                     2.3.1-79     creates device files in /dev
ii  zlib1g                      1:1.2.3-9    compression library - runtime

gnupg recommends no packages.

-- debconf-show failed


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

Reply via email to