Openpgp card handling depending on manufacturer?

NIIBE Yutaka gniibe at
Tue Nov 6 02:51:22 CET 2012

On 2012-11-05 at 19:54 +0100, Klaus Flittner wrote:
> Yes. libusb_block_transfer really returns LIBUSB_ERROR_TIMEOUT. The
> logfiles contain the following if the error occurs: The value -7 in the
> first line corresponds to LIBUSB_ERROR_TIMEOUT.
> -----
>   pcscd: ccid_usb.c:699:ReadUSB() read failed (7/2): -7 Success
>   pcscd: ifdwrapper.c:527:IFDTransmit() Card not transacted: 612
>   pcscd: winscard.c:1532:SCardTransmit() Card not transacted: 0x80100016
> -----

Thank you for the information.

If I were you, I'd check:

	* ATR string of the card
	  That's because it has information for Block Waiting Time (BWT)

	* The value of ccid_descriptor -> readTimeout in libccid
	  Namely, the argument <timeout> of libusb_bulk_transfer

	* Interaction of libccid and smartcard reader by
	  setting ifdLogLevel = 0x0007 in Info.plist
	  (so that we can see if time extension occurs or not)

More information about the Gnupg-devel mailing list