1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-07-03 02:58:57 +02:00
gnupg/scd
Werner Koch c45a8b034c
scd:openpgp: Use a special compare for the serialno.
* scd/app-openpgp.c (check_keyidstr): Ignore the card version and also
compare case insensitive.
(do_learn_status): Add mssing error handling.
--

This is required because we changed what we emit as serialno of
OpenPGP cards but existing keys still use the old form of the serial
number (i.e. with a firmware version).  This is so that existing stub
keys of gpg-agent will continue to work.

GnuPG-bug-id: 5100
2023-10-11 10:18:59 +02:00
..
apdu.c scd: Fix cmd_apdu on error. 2023-05-10 10:08:27 +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: Use app_get_slot at more places. 2022-11-25 13:55:13 +01: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 scd:nks: Fix ECC signing if key not given by keygrip. 2022-11-25 13:56:47 +01:00
app-openpgp.c scd:openpgp: Use a special compare for the serialno. 2023-10-11 10:18:59 +02:00
app-p15.c scd,p15: Enforce a min. PIN length for certain cards. 2023-04-20 12:42:08 +02:00
app-sc-hsm.c scd: Use app_get_slot at more places. 2022-11-25 13:55:13 +01:00
app.c scd: Return CARDTYPE, CARDVERSION, and APPVERSION. 2023-01-13 13:59:20 +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: Add npth_unprotect/npth_protect for blocking operations. 2022-08-31 13:50:07 +02:00
ccid-driver.h scd: Clean up the structure for future fix of PC/SC. 2020-10-06 11:17:58 +09:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
command.c scd: Fix cmd_apdu on error. 2023-05-10 10:08:27 +02:00
iso7816.c scd:openpgp: Allow reading and writing user certs for keys 1 and 2 2023-10-10 13:54:26 +02:00
iso7816.h scd:openpgp: Allow reading and writing user certs for keys 1 and 2 2023-10-10 13:54:26 +02:00
Makefile.am scd,w32: Fix build dependency 2023-08-29 11:15:57 +02:00
scdaemon-w32info.rc w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00
scdaemon.c scd: New debug flags "card". 2022-05-05 14:12:23 +02:00
scdaemon.h scd:nks: Return USAGE information for KEYINFO command. 2022-10-20 12:22:08 +02:00
scdaemon.w32-manifest.in w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-25 11:10:21 +02:00