gnupg/scd
Werner Koch f32994b0bf
scd: Support PC/SC for "getinfo reader_list".
* scd/apdu.c: Include membuf.h.
(pcsc): Add reader_list field.
(open_pcsc_reader): Fill that field.
(apdu_get_reader_list): New.
* scd/command.c: Remove header ccid-driver.h.
(pretty_assuan_send_data): New.
(cmd_getinfo): Print all reader names.
--

Note that depending on the card backend (ccid or PC/SC) it might be
necessary to first send a reset followed by SERIALNO to get an updated
list of reader.  Or well send KILLSCD.

The pretty printing of Assuan data lines does only work if you connect
direct to scdaemon because the wrapper in gpg-agent does not know
about this and combines the Assuan lines again.

Signed-off-by: Werner Koch <wk@gnupg.org>
2021-09-08 15:50:28 +02:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00
apdu.c scd: Support PC/SC for "getinfo reader_list". 2021-09-08 15:50:28 +02:00
apdu.h scd: Support PC/SC for "getinfo reader_list". 2021-09-08 15:50:28 +02:00
app-common.h scd: Add option --info to emit KEYPAIRINFO by readkey command. 2021-05-03 20:15:03 +02:00
app-dinsig.c scd: Extend an internal function to also return the algo. 2021-04-29 10:52:43 +02:00
app-geldkarte.c scd: Change the apptype from a string to an enum. 2021-02-19 09:17:06 +01:00
app-help.c scd: Add option --info to emit KEYPAIRINFO by readkey command. 2021-05-03 20:15:03 +02:00
app-nks.c Assorted memory leak fixes on the error code paths. 2021-05-20 14:51:42 +02:00
app-openpgp.c Update OpenPGP card vendor list. 2021-07-04 15:49:50 +02:00
app-p15.c scd: avoid memory leaks 2021-05-20 15:19:19 +02:00
app-sc-hsm.c scd: Extend an internal function to also return the algo. 2021-04-29 10:52:43 +02:00
app.c scd: Fix serial number detection for Yubikey 5. 2021-06-10 12:44:23 +02: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:ccid: Handle LIBUSB_TRANSFER_OVERFLOW interrupt transfer. 2021-06-23 12:10:01 +09:00
ccid-driver.h scd: Clean up the structure for future fix of PC/SC. 2020-10-06 11:17:58 +09:00
command.c scd: Support PC/SC for "getinfo reader_list". 2021-09-08 15:50:28 +02:00
iso7816.c scd: Error code map fix for older Yubikey. 2021-06-14 10:24:39 +09:00
iso7816.h scd: New function for iso7816 PSO_CSV. 2021-04-29 10:44:12 +02:00
scdaemon-w32info.rc w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00
scdaemon.c scd: Add string for another PC/SC error code. 2021-05-04 10:33:30 +02:00
scdaemon.h scd: New option --pcsc-shared. 2021-04-29 19:43:23 +02:00
scdaemon.w32-manifest.in w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00