Your message dated Wed, 29 Jun 2016 22:22:14 +0000
with message-id <[email protected]>
and subject line Bug#814584: fixed in gnupg2 2.1.13-3
has caused the Debian Bug report #814584,
regarding gnupg2: gpg2 --card-status fail on armel / Raspberry Pi - "Card error"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
814584: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=814584
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gnupg2
Version: 2.1.11-5
Severity: important

Hi.

I'm trying to get a GnuPG smartcard working with gnupg/gnupg2 on a
Raspberry Pi running Freedombox (ie Debian armel).  This do not work.
I'm not sure if the problem is in gnupg2 or some other package (like
pcscd, scdaemon or the kernel).  Feel free to reassign as you see fit.
Starting with gnupg2 instead of gnupg as the former seem to be where the
development is happening.

I'm testing using a smart card that work just with with both gpg and
gpg2 on amd64.

When I insert the smart card, it is recognized by the kernel as a
Gemalto USB device.  But when I try to get the card status, I only get
this error (typed from screen, might have typos):

  % gpg2 --card-status
  gpg: selecting opengpg failed: Card error
  gpg: OpenPGP card not available: Card error
  %

When I try the same using gpg (v1), I get this (typed from screen):

  % gpg --card-status
  gpg: detected reader `Gemalto USB shell Token V2 (0F9E69C2) 00 00'
  gpg: pcsc_connect failed: unresponsive card (0x80100066)
  gpg: apdu_send_simple(0) failed: general error
  Please insert the card and hit enter or enter 'c' to cancel: c
  gpg: selecting opengpg failed: general error
  gpg OpenPGP card not available: general error
  %

The syslog contain messages like this from pcscd:

  pcscd[1596]: 99999999 ccid_usb.c:813:ReadUSB() read failed (1/4): -7
    LIBUSB_ERROR_TIMEOUT
  pcscd[1596]: 00000096 ifdwrapper.c:369:IFDStatusICC() Card not
    transacted: 612
  pcscd[1596]: 00000032 eventhandler.c:3333:EHStatusHandlerThread() Error
    communicating to Gemalto USB Shell Token V2 (0F9E69C2) 00 00

Any idea what can be wrong here?  I would love to get GnuPG smart cards
working with Freedombox.

My only ideas is something is wrong with the armel architecture support
of some of the packages involved, or the Raspberry Pi is unable to
provide enough power to the smart card reader and smart card for the
smart card to work.  Not quite sure how to figure out if any of these
ideas are correct.

These are some of the packages involved (I installed them manually as
the machine is offline):

  dirmngr               2.1.11-5
  gnupg-agent           2.1.11-5
  gnupg2                2.1.11-5
  libassuan0            2.4.2-2
  libccid               1.4.22-1
  libgnutls30           3.4.9-2
  libksba8              1.3.3-1
  libncursesw5          6.0+20151024-2
  libnpth0              1.2-2
  libpcsclite1          1.8.15-1
  libsecret-1-0         0.18.4-1
  libsecret-common      0.18.4-1
  libtinfo5             6.0+20151024-2
  pcscd                 1.8.15-1
  pinentry-curses       0.9.7-3
  scdaemon              2.1.11-5

-- 
Happy hacking
Petter Reinholdtsen

--- End Message ---
--- Begin Message ---
Source: gnupg2
Source-Version: 2.1.13-3

We believe that the bug you reported is fixed in the latest version of
gnupg2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Kahn Gillmor <[email protected]> (supplier of updated gnupg2 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 28 Jun 2016 13:46:36 -0400
Source: gnupg2
Binary: gnupg-agent scdaemon gpgsm gnupg gnupg2 gpgv gpgv2 dirmngr gpgv-udeb 
gpgv-win32
Architecture: source
Version: 2.1.13-3
Distribution: experimental
Urgency: medium
Maintainer: Debian GnuPG Maintainers <[email protected]>
Changed-By: Daniel Kahn Gillmor <[email protected]>
Description:
 dirmngr    - GNU privacy guard - network certificate management service
 gnupg      - GNU privacy guard - a free PGP replacement
 gnupg-agent - GNU privacy guard - cryptographic agent
 gnupg2     - GNU privacy guard - a free PGP replacement (dummy transitional pa
 gpgsm      - GNU privacy guard - S/MIME version
 gpgv       - GNU privacy guard - signature verification tool
 gpgv-udeb  - minimal signature verification tool (udeb)
 gpgv-win32 - GNU privacy guard - signature verification tool (win32 build)
 gpgv2      - GNU privacy guard - signature verification tool (dummy transition
 scdaemon   - GNU privacy guard - smart card support
Closes: 814584 825911 828109
Changes:
 gnupg2 (2.1.13-3) experimental; urgency=medium
 .
   * pull bugfixes from upstream (Closes: #828109, #814584)
   * should also allow for reproducible builds, with fix to
     timestamps in tofu.test
   * provide supervised dirmngr, gpg-agent, and scdaemon services from
     systemd's user sessioniif the user wants to enable them.  These
     services should terminate at logout (Closes: #825911)
   * avoid launching gpg-agent from Xsession.d since we have more robust
     session management available (added NEWS entry about this change)
   * gnupg-agent now Provides: gpg-agent to mitigate common confusion.
   * updated dirmngr package description.
Checksums-Sha1:
 5bf3f2bd7cc9c3aa146a4da121363d7532b1a0f8 3112 gnupg2_2.1.13-3.dsc
 8bae9501ea7c696002e242e140be3d8850d80c47 41282 gnupg2_2.1.13-3.debian.tar.bz2
Checksums-Sha256:
 20ac9a156ac15b1fbc68654e7e8097aa294c623b7c2f42e6b97bee5f699e1f02 3112 
gnupg2_2.1.13-3.dsc
 11183868e1c5464871a58361260bfa27af3795ddc0e2f00bce06f211e10149e6 41282 
gnupg2_2.1.13-3.debian.tar.bz2
Files:
 03bd608331bfa97519a75b1b798e7e68 3112 utils optional gnupg2_2.1.13-3.dsc
 72b2621b7db183db48c673c38e5a25b6 41282 utils optional 
gnupg2_2.1.13-3.debian.tar.bz2

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQKTBAEBCgB9BQJXdDqvXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFREIyRTc0RjU2RkNGMkI2NzI5N0I3MzUy
NEVDRkY1QUZGNjgzNzBBFhxka2dAZmlmdGhob3JzZW1hbi5uZXQACgkQJOz/Wv9o
Nwpa5g//afH3y1t7g0JiSk7y0eDyzVzfOvBrYlZlQ6Yys7K5iZTwGL8Xd0y2wgEC
BsbnsP0/Veait7p574lp5yEkXLEAPDDTCgfx3nVrGTAYDloxVS1DdkCBmk8TC9Em
G78dlev3p63cFHYo/Joo35ZjBxGTv2dDGq3cr/JRG846yM+yYxXYR0IHfgsQhqzb
mZnxCeQ/ttS1Khn3Qiki45ey/ePZSN5dk5mXKQ/APgDXrrA62fFQKcQZX8T9fzpe
ki2yHbljdxsc9nBr8mBhj6BjvfMdeuTQ8X0qg8YXVEw64dSSNvieYfkIVywnsLYK
m3j/Zq2zGxgnZo/SRar6CYucqT3xCFuxyT1v585wUBG3PO0l8l3RrXA4ZtdcW0kD
6THsH3Fad2Tj/zvo2vh7fFArALSHWFbOqNByjwwwhcCB+nYqfdUOuK95hh2KLcs/
5w3BV7nuZHCCH9ITHqih8042JBGqOAPL+1LFTqidqctgeVyObbpur/yUPuo0Zd3K
uqTifF676gv8JQrK77o5pe5xQpAT+17oSlrRdyzq1JK9eogWFi7rZHYlq4FEavHY
+/Rrvgz6W4oXJHRfcbCTs7tMw127HfXzUNRRH3CI4nP07WVuZVqPDxa76/OftlbO
eILXrHv18SPP6FBsXX6Uj0ZehDCi+rIzwtX4VZdUbvtJed3YWIM=
=jmvR
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to