Page MenuHome GnuPG
Feed Advanced Search

Dec 24 2017

gniibe added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

Please enable all debug information in scdaemon.conf, like:

verbose
verbose
debug-level guru
debug-all
debug-ccid-driver
log-file /run/user/1000/scdaemon-verbose.log
Dec 24 2017, 10:11 PM · scd, Bug Report
enno added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

The file scdaemon.log is short and contains only:

2017-12-24 12:32:53 scdaemon[4347] écoute sur la socket « /run/user/1000/gnupg/S.scdaemon »
2017-12-24 12:32:53 scdaemon[4347] gestionnaire pour le descripteur -1 démarré
2017-12-24 12:32:53 scdaemon[4347] pcsc_establish_context failed: no service (0x8010001d)
Dec 24 2017, 12:35 PM · scd, Bug Report
gniibe added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

Thanks for your testing. please give me scdaemon.log with updated scdaemon.

Dec 24 2017, 12:03 PM · scd, Bug Report

Dec 23 2017

enno added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

With latestes master, there still appears:

--- ~ » gpg --card-status                                          2 ↵
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: selecting openpgp failed: Aucun périphérique de ce type
gpg: la carte OpenPGP n'est pas disponible : Aucun périphérique de ce type
Dec 23 2017, 4:08 PM · scd, Bug Report

Dec 13 2017

gniibe added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Looking an example code of http://g10code.com/docs/openpgp-card-v21-free-source.zip (Note that this is just an example code), 6A88 can be occurred for PSO:DECIPHER when:

Dec 13 2017, 1:22 AM · Info Needed, scd, Bug Report

Dec 11 2017

gniibe added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Thanks a lot. Please note that there is a bit of possibility the messages which cause failure are one of attack vectors. (While most likely case is they are generated by broken implementation.)

Dec 11 2017, 11:34 PM · Info Needed, scd, Bug Report
dirk added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Im mean GnuPG fails for messages from a particular sender, while it works for messages from other senders.

Dec 11 2017, 10:57 PM · Info Needed, scd, Bug Report
gniibe created T3600: Support ACKNOWLEDGE button for OpenPGP card and/or Token.
Dec 11 2017, 7:35 AM · scd
gniibe added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Do you mean, GnuPG fails for a particular message, while it works for other messages?
Or do you mean, GnuPG fails for messages from a particular sender, while it works for messages from other senders?

Dec 11 2017, 2:17 AM · Info Needed, scd, Bug Report

Dec 10 2017

dirk added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

The new reader arrived. Works find for every message - except obviously this one sender.
See reader https://pcsclite.alioth.debian.org/ccid/supported.html#0x04E60x5116 ti should support large APDU. Same error messages
I think we are on the wrong error track here. It is not the reader. I now tested 4.

Dec 10 2017, 10:03 AM · Info Needed, scd, Bug Report

Dec 8 2017

gniibe added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Thank you for your cooperation.

Dec 8 2017, 2:14 AM · Info Needed, scd, Bug Report

Dec 7 2017

dirk added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

I still have trouble beliving it is the reader. Since I tried now 3.
As well I have a 4096 bit key and everybody has been encrypting this with my key. Therefore it does not make sense to me.

Dec 7 2017, 9:36 PM · Info Needed, scd, Bug Report
gniibe added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

For Gemalto USB Shell Token V2, libccid has known issue: https://ludovicrousseau.blogspot.jp/2017/03/gemalto-idbridge-k30-k50-ct30-and-zero.html
I don't know about ACR 38U.

Dec 7 2017, 12:07 AM · Info Needed, scd, Bug Report

Dec 6 2017

dirk added a comment to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.

Here two other Reader example - same message - same problem:
Reader: Gemalto USB Shell Token V2 (00483E73) 00 00
Reader: ACS ACR 38U-CCID 00 00

Dec 6 2017, 8:54 PM · Info Needed, scd, Bug Report
gniibe added projects to T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>: scd, Info Needed.

For Gemalto Shell Tokens: http://support.gemalto.com/index.php?id=tokens
There are three variants. Please describe detail.

Dec 6 2017, 1:39 AM · Info Needed, scd, Bug Report
gniibe merged task T2285: decryption fails with "Missing item in object" even though private key is available into T3576: Open PGP SmartCard V2.1 - decryption error: ERR 100663364 Missing item in object <SCD>.
Dec 6 2017, 1:14 AM · Info Needed, Bug Report, gnupg, scd

Dec 4 2017

gniibe edited projects for T3201: KDF DO support enhancement, added: gnupg (gpg22); removed gnupg (gpg23).
Dec 4 2017, 2:31 AM · gnupg (gpg22), scd
gniibe edited projects for T3201: KDF DO support enhancement, added: gnupg (gpg23); removed gnupg (gpg22).
Dec 4 2017, 2:30 AM · gnupg (gpg22), scd
gniibe edited projects for T3201: KDF DO support enhancement, added: gnupg (gpg22); removed gnupg (gpg23).

It's in gniibe/scd-kdf-support.
I think it's good to add to GnupG 2.2 branch.

Dec 4 2017, 2:26 AM · gnupg (gpg22), scd
gniibe changed the status of T3152: KDF DO support in OpenPGP card from Open to Testing.
Dec 4 2017, 2:24 AM · scd

Nov 29 2017

gniibe added a comment to T3083: Smartcard access may fail with error "Invalid Value" after resuming system from suspend.

If more fine-grained control is needed with suspend-to-ram, we need to write kernel driver for USB access.

Nov 29 2017, 8:22 AM · Restricted Project, gnupg (gpg22), scd
gniibe closed T3083: Smartcard access may fail with error "Invalid Value" after resuming system from suspend as Resolved.
Nov 29 2017, 8:20 AM · Restricted Project, gnupg (gpg22), scd
gniibe added a comment to T3083: Smartcard access may fail with error "Invalid Value" after resuming system from suspend.

I learned suspend-to-ram functionality. Currently, for Linux, if we have USB driver in kernel, there are methods to handle suspend-to-ram and resume events. For user space driver by libusb, there is nothing and it should all work well by reseting after resume.

Nov 29 2017, 7:18 AM · Restricted Project, gnupg (gpg22), scd

Nov 22 2017

gniibe added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

Another log is not needed, as I located the issue. If you can try building GnuPG from Git repo (it's 2.2 branch now), it helps us a lot.

Nov 22 2017, 1:00 AM · scd, Bug Report

Nov 21 2017

enno added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

Thank you. Do you still need the log files with the settings suggested by Werner? Would I have to compile the master branch to see if it works now?

Nov 21 2017, 4:09 PM · scd, Bug Report
gniibe added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

Thank you for scdamon.log. For the card reader, the interrupt transfer notifies no availability of the card before PC_to_RDR_IccPowerOn.
I fixed this issue in rG0bb7fd0cab2d: scd: Enable card removal check after select_application.. Let's see if it works well for the card reader.

Nov 21 2017, 4:22 AM · scd, Bug Report

Nov 20 2017

werner added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

This is the actual error message from your log file:

2017-11-18 07:45:15 scdaemon[8918] DBG: ccid-driver: idVendor: 04E6  idProduct: 5119  bcdDevice: 0525
[...]
2017-11-18 07:45:15 scdaemon[8918] DBG: ccid-driver:   bMaxCCIDBusySlots       1
2017-11-18 07:45:15 scdaemon[8918] DBG: ccid-driver: CCID submit transfer (83): 0
2017-11-18 07:45:15 scdaemon[8918] DBG: ccid-driver: CCID: card inactive/removed
Nov 20 2017, 4:38 PM · scd, Bug Report
enno added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

Nov 20 2017, 3:27 PM · scd, Bug Report
gniibe claimed T3508: GPG 2.2.2 not recognizing card reader under Linux.

For some reason, scdaemon.log is not yet available here. Please put it again.

Nov 20 2017, 7:16 AM · scd, Bug Report

Nov 18 2017

enno added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

Ok, edited ~/.gnupg/scdaemon.conf to contain

Nov 18 2017, 11:50 AM · scd, Bug Report

Nov 17 2017

werner added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

You may have other changes on your system as well.

Nov 17 2017, 12:45 PM · scd, Bug Report

Nov 16 2017

enno added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

But this does not explain why it works on the same system with GPG 2.1.11 instead of 2.2.2.
Here is what happens after applying the suggested quick fixes:

--- ~ » sudo pcscd
--- ~ » sudo chown enno /dev/bus/usb/002/005                        1 ↵
--- ~ » sudo chgrp users /dev/bus/usb/002/005                      2 ↵
--- ~ » ls -l /dev/bus/usb/002/005
crw-rw-r-- 1 enno users 189, 132 16 nov.  15:17 /dev/bus/usb/002/005
--- ~ » gpg --card-status
gpg: selecting openpgp failed: Aucun périphérique de ce type
gpg: la carte OpenPGP n'est pas disponible : Aucun périphérique de ce type
Nov 16 2017, 7:19 PM · scd, Bug Report
werner added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

So you either need to start pcscd or you fix the permission of the device so that GnuPG's scdaemon can access the card reader using its internal access method. There are probably some udev rules which need to be adjusted. For a quick check you can manually change the owner or group to your own user or one of your groups. Then it should work again.

Nov 16 2017, 7:13 PM · scd, Bug Report
enno added a comment to T3508: GPG 2.2.2 not recognizing card reader under Linux.

Dear Werner,

Nov 16 2017, 5:44 PM · scd, Bug Report
werner added a project to T3508: GPG 2.2.2 not recognizing card reader under Linux: scd.

Entering on the shell

lsusb | grep USB
Nov 16 2017, 11:20 AM · scd, Bug Report

Nov 7 2017

gniibe added a comment to T3152: KDF DO support in OpenPGP card.

Implemented in a branch: gniibe/scd-kdf-support

Nov 7 2017, 3:30 AM · scd

Nov 2 2017

aa added a comment to T3152: KDF DO support in OpenPGP card.
Nov 2 2017, 5:13 PM · scd
gniibe added a comment to T3152: KDF DO support in OpenPGP card.

Changes for Gnuk is done. It's now testing. It will be in Gnuk 1.2.7.

Nov 2 2017, 8:49 AM · scd

Oct 30 2017

gniibe closed T3286: card: Yubikey factory-reset failure as Resolved.

D441 applied. Closed.

Oct 30 2017, 6:20 AM · gnupg (gpg22), scd

Oct 26 2017

aa added a comment to T3286: card: Yubikey factory-reset failure .
Oct 26 2017, 5:19 PM · gnupg (gpg22), scd
werner added a comment to T3286: card: Yubikey factory-reset failure .

I am pretty sure that older cards required this behaviour. It might have been a workaround for a bug in scdaemon, though - I am not sure. So we should test this with all available card versions.

Oct 26 2017, 4:58 PM · gnupg (gpg22), scd
gniibe closed T2167: Unplugging USB Smartcard/Yubikey causes problems with scdaemon as Resolved.
Oct 26 2017, 5:50 AM · gnupg (gpg22), Restricted Project, patch, Windows 64, scd, Windows, Windows 32, Bug Report

Oct 24 2017

werner edited projects for T3083: Smartcard access may fail with error "Invalid Value" after resuming system from suspend, added: Restricted Project; removed In Progress.
Oct 24 2017, 12:23 PM · Restricted Project, gnupg (gpg22), scd
gniibe added a comment to T2167: Unplugging USB Smartcard/Yubikey causes problems with scdaemon.

I am closing this bug report, as I can't get feedback to fix something.

Oct 24 2017, 2:42 AM · gnupg (gpg22), Restricted Project, patch, Windows 64, scd, Windows, Windows 32, Bug Report

Oct 20 2017

werner edited projects for T3286: card: Yubikey factory-reset failure , added: gnupg (gpg22); removed gnupg (gpg21).
Oct 20 2017, 2:00 PM · gnupg (gpg22), scd
werner edited projects for T3201: KDF DO support enhancement, added: gnupg (gpg23); removed gnupg (gpg21).
Oct 20 2017, 1:59 PM · gnupg (gpg22), scd
werner edited projects for T3083: Smartcard access may fail with error "Invalid Value" after resuming system from suspend, added: gnupg (gpg22); removed gnupg (gpg21).
Oct 20 2017, 1:56 PM · Restricted Project, gnupg (gpg22), scd
werner edited projects for T3300: scd: Support multiple readers by PC/SC driver, added: gnupg (gpg23); removed gnupg (gpg21).
Oct 20 2017, 1:36 PM · Restricted Project, gnupg (gpg23), scd
werner edited projects for T2167: Unplugging USB Smartcard/Yubikey causes problems with scdaemon, added: gnupg (gpg22); removed gnupg.
Oct 20 2017, 1:30 PM · gnupg (gpg22), Restricted Project, patch, Windows 64, scd, Windows, Windows 32, Bug Report
werner removed projects from T2167: Unplugging USB Smartcard/Yubikey causes problems with scdaemon: gnupg (gpg20), gnupg (gpg21).

gniibe: Can you check the status?

Oct 20 2017, 1:28 PM · gnupg (gpg22), Restricted Project, patch, Windows 64, scd, Windows, Windows 32, Bug Report

Oct 17 2017

freysteinn added a comment to T3280: Cannot add subkeys to key stored on card.

Hello.
I am having the same problem with my Yubikey v4.

Oct 17 2017, 8:29 PM · gnupg (gpg22)

Sep 21 2017

werner added a project to T2440: scdaemon grabs card exclusively; it'd be nice if it didn't: scd.
Sep 21 2017, 3:46 PM · scd, gnupg, Feature Request

Sep 7 2017

gniibe claimed T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path.
Sep 7 2017, 12:35 AM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr

Aug 1 2017

gniibe added a comment to T3286: card: Yubikey factory-reset failure .

D441: card: Yubikey factory-reset failure is the patch.

Aug 1 2017, 7:24 AM · gnupg (gpg22), scd
gniibe added a comment to T3286: card: Yubikey factory-reset failure .

This may fix the problem for new version 4.2.7:

Aug 1 2017, 6:36 AM · gnupg (gpg22), scd
gniibe updated subscribers of T3286: card: Yubikey factory-reset failure .
Aug 1 2017, 6:33 AM · gnupg (gpg22), scd

Jul 27 2017

marcus closed T2938: scd-event is annoying to use on Windows as Wontfix.
Jul 27 2017, 3:18 PM · Windows 32, scd, Windows, Bug Report, gnupg

Jul 25 2017

lorenz added a comment to T1854: Problems with same encryption and signing key on smartcard.

That is the way I get my certificate signed, there is nothing I can do about it ;-)

Jul 25 2017, 7:35 PM · gnupg, Feature Request, scd
marcus added a comment to T1854: Problems with same encryption and signing key on smartcard.

It's not really a good idea to use the same RSA key for encryption and signing. (Although when I wrote scute, I couldn't generate a CSR for the encryption key, because the CSR had to be self-signed, meh).

Jul 25 2017, 6:37 PM · gnupg, Feature Request, scd
marcus updated the task description for T1854: Problems with same encryption and signing key on smartcard.
Jul 25 2017, 6:36 PM · gnupg, Feature Request, scd
gniibe created T3300: scd: Support multiple readers by PC/SC driver.
Jul 25 2017, 11:32 AM · Restricted Project, gnupg (gpg23), scd
gniibe closed T3262: Longer URL (possibly, login) should be supported as Resolved.

Fixed in rG69614d55018d: scd: Support longer data length for special DOs for v3 card..

Jul 25 2017, 6:46 AM · scd, gnupg (gpg21)

Jul 24 2017

marcus added a project to T2683: Add config option to connect to HW token in non-exclusive (shared) mode: scd.
Jul 24 2017, 6:19 PM · scd, Feature Request

Jul 20 2017

marcus closed T2128: KEYTOCARD does not configure the card's key length as Resolved.

Given that 2.0 only gets important updates, and for 2.1 it is fixed, we can close it.

Jul 20 2017, 9:54 PM · Bug Report, gnupg, scd

Jul 19 2017

gniibe created T3286: card: Yubikey factory-reset failure .
Jul 19 2017, 12:59 AM · gnupg (gpg22), scd

Jul 17 2017

Mouse added a comment to T3267: scdaemon PC/SC OPEN failed: sharing violation (0x8010000b).

@werner I request re-consideration. I *have* read the discussion, and remain convinced that a parameter that allows shared access is necessary.

Jul 17 2017, 10:47 PM · FAQ, scd
marcus placed T671: card context shared between callers up for grabs.
Jul 17 2017, 6:26 PM · scd, Bug Report, gnupg
marcus closed T3012: gpg-agent 2.0.30 not able to create SHA-2 signatures with scute as Wontfix.

gpgtools will have to update.

Jul 17 2017, 5:42 PM · Won't Fix, Bug Report, gnupg (gpg20), gnupg, scd
justus created T3280: Cannot add subkeys to key stored on card.
Jul 17 2017, 12:21 PM · gnupg (gpg22)

Jul 13 2017

marcus edited projects for T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path, added: Stalled; removed In Progress, gnupg (gpg22).
Jul 13 2017, 1:29 AM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr

Jul 10 2017

werner updated the task description for T3267: scdaemon PC/SC OPEN failed: sharing violation (0x8010000b).
Jul 10 2017, 4:26 PM · FAQ, scd
werner closed T3267: scdaemon PC/SC OPEN failed: sharing violation (0x8010000b) as Wontfix.

This is on purpose. Please read the discussions. Use card-timeout in scdaemon.conf or "gpgconf --kill scdaemon"

Jul 10 2017, 4:24 PM · FAQ, scd

Jul 7 2017

gniibe created T3262: Longer URL (possibly, login) should be supported.
Jul 7 2017, 1:43 AM · scd, gnupg (gpg21)

Jun 26 2017

kristianf closed T3219: Regression in 2.1.21: Creates (local) signature on other public keyblock using signing subkey when certification key is not available as Resolved.
Jun 26 2017, 7:20 PM · scd, Bug Report
justus triaged T3219: Regression in 2.1.21: Creates (local) signature on other public keyblock using signing subkey when certification key is not available as Normal priority.

If this is gone in master, please close this bug. Thanks :).

Jun 26 2017, 3:14 PM · scd, Bug Report

Jun 23 2017

kristianf added a comment to T3219: Regression in 2.1.21: Creates (local) signature on other public keyblock using signing subkey when certification key is not available.

Issue seems to be gone in gpg (GnuPG) 2.1.22-beta75

Jun 23 2017, 9:32 PM · scd, Bug Report
kristianf added a project to T3219: Regression in 2.1.21: Creates (local) signature on other public keyblock using signing subkey when certification key is not available: scd.
Jun 23 2017, 8:36 PM · scd, Bug Report

Jun 9 2017

gniibe created T3201: KDF DO support enhancement.
Jun 9 2017, 6:26 AM · gnupg (gpg22), scd
gniibe removed a project from T3152: KDF DO support in OpenPGP card: g10code Sprint (KW 23).

Specification is finished.

Jun 9 2017, 6:24 AM · scd
gniibe added a comment to T3152: KDF DO support in OpenPGP card.

bit 0 (in smartcard context, we say b1 as it starts from 1) of Extended Capabilities specifies if KDF-DO is supported.

Jun 9 2017, 4:57 AM · scd
gniibe added a comment to T3152: KDF DO support in OpenPGP card.

Tag for KDF-DO is assigned as:

Jun 9 2017, 4:32 AM · scd

Jun 6 2017

marcus edited projects for T3152: KDF DO support in OpenPGP card, added: g10code Sprint (KW 23); removed g10code Sprint (KW 22).
Jun 6 2017, 10:16 AM · scd

May 29 2017

marcus edited projects for T3152: KDF DO support in OpenPGP card, added: g10code Sprint (KW 22); removed g10code Sprint (KW 21).
May 29 2017, 10:16 AM · scd

May 24 2017

justus moved T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path from Backlog to Deferred on the gnupg (gpg22) board.
May 24 2017, 1:29 PM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr

May 22 2017

marcus edited projects for T3152: KDF DO support in OpenPGP card, added: g10code Sprint (KW 21); removed g10code Sprint (KW 20).
May 22 2017, 10:43 AM · scd

May 15 2017

marcus edited projects for T3152: KDF DO support in OpenPGP card, added: g10code Sprint (KW 20); removed g10code Sprint (KW 19).
May 15 2017, 10:35 AM · scd
justus added a comment to T2964: dirmngr and gpg-agent should work automatically even when GNUPGHOME is larger than sun_path.

Automatic creation of socket directories creates cleanup trouble for projects previously relying on the agent-shutdown if $GNUPGHOME is removed: https://notmuchmail.org/pipermail/notmuch/2017/024550.html

May 15 2017, 9:47 AM · Stalled, scd, gpgagent, Bug Report, gnupg, dirmngr
gniibe triaged T3152: KDF DO support in OpenPGP card as Normal priority.
May 15 2017, 4:15 AM · scd

May 11 2017

gniibe added a comment to T3152: KDF DO support in OpenPGP card.

Here is the spec.

May 11 2017, 4:38 AM · scd

May 9 2017

gniibe created T3152: KDF DO support in OpenPGP card.
May 9 2017, 11:06 PM · scd

May 1 2017

gniibe added a comment to T2298: Unblocking a smartcard PIN not possible in 2.1.

The debug log includes communication between host PC and the reader, thus, it may include your input of PIN when you do that.

May 1 2017, 6:06 AM · Info Needed, gnupg, scd, Bug Report

Apr 30 2017

languitar added a comment to T2298: Unblocking a smartcard PIN not possible in 2.1.

Ping? Otherwise I would provide the required information.

Apr 30 2017, 2:35 PM · Info Needed, gnupg, scd, Bug Report

Apr 12 2017

gniibe added a project to T3083: Smartcard access may fail with error "Invalid Value" after resuming system from suspend: In Progress.

By the commit: rGf053f99ed0b0: scd: Handle unexpected suspend/resume by CCID driver., I put some code to handle such an expected return from the device.
Please try.
I couldn't reproduce this on my machine. (Suspend-to-RAM keeps my USB device running.)

Apr 12 2017, 4:28 AM · Restricted Project, gnupg (gpg22), scd

Apr 11 2017

gniibe added a comment to T3083: Smartcard access may fail with error "Invalid Value" after resuming system from suspend.

It looks like the device got suspended and resumed.
But the application (scdaemon) didn't get noticed by libusb.
So, scdaemon kept communicating as usual, but got unexpected msg type = 0x81,
which is error report status (RDR_to_PC_DataBlock).

Apr 11 2017, 1:57 PM · Restricted Project, gnupg (gpg22), scd
gniibe triaged T3083: Smartcard access may fail with error "Invalid Value" after resuming system from suspend as Normal priority.
Apr 11 2017, 1:32 PM · Restricted Project, gnupg (gpg22), scd
gniibe added a comment to T3082: Ship hwdb files for USB smartcards and crypto tokens.

FWIW, the syntax of "vendor-id:product-id" is used for USB for any USB tools.

Apr 11 2017, 12:48 PM · scd
pwithnall added a comment to T3082: Ship hwdb files for USB smartcards and crypto tokens.
In T3082#95656, @gniibe wrote:

Thank you for your comment.

I think that a practical approach for us would be having a list of vendor-id:product-id in a file under gnupg/doc/ and maintain the list.
It will be up to distributions to use the list to build hwdb, udev rules, or whatever.

Apr 11 2017, 12:36 PM · scd
gniibe added a comment to T3082: Ship hwdb files for USB smartcards and crypto tokens.

Thank you for your comment.

Apr 11 2017, 12:23 PM · scd
pwithnall added a comment to T3082: Ship hwdb files for USB smartcards and crypto tokens.
In T3082#95636, @gniibe wrote:

(3) We don't know which smartcard reader works fine, while we know some readers don't work well.

Apr 11 2017, 10:48 AM · scd
gniibe claimed T3082: Ship hwdb files for USB smartcards and crypto tokens.

While I understand your request, it's complicated.

Apr 11 2017, 10:16 AM · scd