1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00
gnupg/scd
NIIBE Yutaka cccdca61a8 scd: internal driver: Submit SET_INTERFACE control transfer.
* scd/ccid-driver.c (ccid_open_usb_reader): Alway submit SET_INTERFACE
control transfer.

--

Backport from master commit:

	611faf1579

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>
2020-10-06 11:14:29 +09:00
..
apdu.c common: Change argument order of log_printhex. 2020-05-12 18:51:47 +02:00
apdu.h scd: Distinguish cancel by user and protocol error. 2019-02-19 15:51:14 +09:00
app-common.h scd:p15: Support signing with CardOS 5 cards. 2020-04-01 16:00:31 +02:00
app-dinsig.c scd:p15: Support signing with CardOS 5 cards. 2020-04-01 16:00:31 +02:00
app-geldkarte.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
app-help.c scd:p15: Support signing with CardOS 5 cards. 2020-04-01 16:00:31 +02:00
app-nks.c scd: Factor common PIN status check out. 2020-04-15 15:35:55 +02:00
app-openpgp.c scd: Fix the use case of verify_chv2 by CHECKPIN. 2020-09-16 12:46:50 +09:00
app-p15.c common: Change argument order of log_printhex. 2020-05-12 18:51:47 +02:00
app-sc-hsm.c scd:p15: Support signing with CardOS 5 cards. 2020-04-01 16:00:31 +02:00
app.c scd: Don't let the "undefined" app cause a conflict error. 2019-02-25 08:50:31 +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. 2020-10-06 11:14:29 +09:00
ccid-driver.h scd,ccid: Add support of GEMPC_EZIO. 2019-11-15 15:49:46 +09:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
command.c doc: Typo fixes 2020-10-02 12:32:37 +02:00
iso7816.c scd: Return GPG_ERR_BAD_PIN on 0x63Cn status word. 2020-04-15 15:38:13 +02:00
iso7816.h scd: Factor common PIN status check out. 2020-04-15 15:35:55 +02:00
Makefile.am w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00
scdaemon-w32info.rc w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00
scdaemon.c build: Always use EXTERN_UNLESS_MAIN_MODULE pattern. 2020-02-10 16:37:34 +01:00
scdaemon.h build: Always use EXTERN_UNLESS_MAIN_MODULE pattern. 2020-02-10 16:37:34 +01:00
scdaemon.w32-manifest.in w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00