Menu

#35 "insufficient buffer" message with smartcard on Leopard

open
nobody
5
2012-09-14
2007-11-27
Anonymous
No

I have two keys: one key on my hard disk and one key on my OpenPGP smartcard. Both keys worked fine on Tiger.

Now, with Leopard, the key on my hard disk still works (using Enigmail on Thunderbird and GPG on the command line), but the key on the smartcard doesn't work anymore for decrypting or signing e-mails).

Accessing the smartcard looks like this:

galadriel:~ klee$ gpg --card-status
gpg: detected reader `SCR335 USB Smart Card Reader 00 00'
gpg: pcsc_status failed: insufficient buffer (0x80100008) 35

gpg: Ohhhh jeeee: ATR returned by pcsc_status is too large
secmem usage: 0/0 bytes in 0/0 blocks of pool 0/32768
Abort trap

Listing both keys still works fine, though:

galadriel:~ klee$ gpg --list-keys (my e-mail-address here)
pub 1024D/14FEBC9E 2004-02-22
...
sub 1024g/3E269260 2004-02-22

pub 1024R/DF79E493 2006-08-28 [expires: 2011-08-27]
...
uid [jpeg image of size 15639]
sub 1024R/8BE04E2C 2006-08-28 [expires: 2011-08-27]
sub 1024R/24F6C8A4 2006-08-28 [expires: 2011-08-27]

Discussion

  • Oliver Klee

    Oliver Klee - 2007-11-27

    Logged In: YES
    user_id=175888
    Originator: NO

    By the way, this is on intel.

     
  • Ludovic Rousseau

    Logged In: YES
    user_id=1552879
    Originator: NO

    A bug in pcsc-lite on Leopard will trigger a bug in OpenSC.

    Try to upgrade pcsc-lite on Leopard using http://lists.apple.com/archives/fed-talk/2008/Jul/msg00023.html

     
  • Ludovic Rousseau

    Logged In: YES
    user_id=1552879
    Originator: NO

    I reported the bug (and a patch) to the GnuPG upstream bug tracker system at https://bugs.g10code.com/gnupg/issue948

     
  • Oliver Klee

    Oliver Klee - 2008-08-10

    Logged In: YES
    user_id=175888
    Originator: NO

    The ZIP file provided on http://lists.apple.com/archives/fed-talk/2008/Jul/msg00023.html has a size of 0 bytes for me. Do others have the same problem? Is there maybe another download source for the update?

     

Log in to post a comment.