gnupg/scd
NIIBE Yutaka 611faf1579 scd: internal driver: Submit SET_INTERFACE control transfer.
* scd/ccid-driver.c (ccid_open_usb_reader): Alway submit SET_INTERFACE
control transfer.

--

This handling is not mondatory, but it's better to do so, because
there are card reader with pinpad and token with ack button, which
support user interaction.

User interaction status should be reset at open time.  The status
should be reset when the session is closed/stopped.  In practice,
since cleanup routine in a driver may not be called properly, it's
good to submit SET_INTERFACE at open time.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2019-02-22 20:05:09 +09:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am scd: Add very basic support for PIV cards. 2019-01-20 11:45:57 +01:00
apdu.c scd: One new and one improved 7816 function. 2019-01-20 11:41:23 +01:00
apdu.h scd: Handle ack button timeout as GPG_ERR_TIMEOUT. 2019-02-21 15:16:11 +09:00
app-common.h scd: Make app_genkey and supporting ISO function more flexible. 2019-02-06 14:07:42 +01:00
app-dinsig.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
app-geldkarte.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
app-help.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
app-nks.c scd: Add option --clear to PASSWD. 2019-01-21 14:06:51 +01:00
app-openpgp.c scd: Extend KEYPAIRINFO by key usage info. 2019-02-21 12:41:10 +01:00
app-p15.c Use the gpgrt log functions if possible. 2017-11-27 15:00:25 +01:00
app-piv.c scd: Extend KEYPAIRINFO by key usage info. 2019-02-21 12:41:10 +01:00
app-sc-hsm.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
app.c scd: Don't let the "undefined" app cause a conflict error. 2019-02-21 08:51:53 +01:00
atr.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
atr.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ccid-driver.c scd: internal driver: Submit SET_INTERFACE control transfer. 2019-02-22 20:05:09 +09:00
ccid-driver.h scd: Support "acknowledge button" feature. 2018-10-11 15:41:49 +09:00
command.c scd: Extend KEYPAIRINFO by key usage info. 2019-02-21 12:41:10 +01:00
iso7816.c scd: Handle ack button timeout as GPG_ERR_TIMEOUT. 2019-02-21 15:16:11 +09:00
iso7816.h scd: Make app_genkey and supporting ISO function more flexible. 2019-02-06 14:07:42 +01:00
scdaemon-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
scdaemon.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
scdaemon.h scd: Add option --clear to PASSWD. 2019-01-21 14:06:51 +01:00