gnupg/scd
Valtteri Vuorikoski 8cad11d13b
scd:piv: Improve APT parser compatibility.
* scd/app-piv.c (app_select_piv): Allow for full AID.
--

It appears that SP-800-73-x is not too clear about the format of these
objects. Many current cards (such as the Yubikey 5 series) apparently
have only the PIX in DO 0x4F and only the RID in object 0x79/0x4F.

However, other cards as well as the PivApplet Javacard applet have the
full AID in 0x4F (which actually seems closer to what the standard
says). PivApplet also has the full AID in 0x79/0x4F, but this is
probably incorrect. (Here is a long discussion of the matter from an
OpenSC author:
https://github.com/arekinath/PivApplet/issues/43#issuecomment-772649709)

[Taken from a mail to gnupg-devel date 2021-02-03.]

Signed-off-by: Werner Koch <wk@gnupg.org>
2021-03-11 14:06:51 +01: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:p15: Make it code work again for D-Trust cards. 2021-02-23 12:56:42 +01:00
apdu.h scd:p15: Make it code work again for D-Trust cards. 2021-02-23 12:56:42 +01:00
app-common.h scd: Minor tweak for easier backporting 2021-02-19 10:15:54 +01:00
app-dinsig.c scd: Extend an internal function to also return the algo. 2020-05-05 08:07:11 +02:00
app-geldkarte.c scd: First changes to implement a PIN cache. 2020-01-07 18:45:33 +01:00
app-help.c scd: Extend KEYPAIRINFO with an algorithm string. 2020-09-21 14:47:53 +02:00
app-nks.c scd:p15: First step towards real CardOS 5 support. 2021-01-26 17:42:55 +01:00
app-openpgp.c scd: Swapped openpgp card vendor 0x000a with new 0x000d. 2021-03-09 11:15:34 +01:00
app-p15.c scd:p15: Fix faulty removal of a test code change. 2021-03-10 12:25:42 +01:00
app-piv.c scd:piv: Improve APT parser compatibility. 2021-03-11 14:06:51 +01:00
app-sc-hsm.c scd: Extend an internal function to also return the algo. 2020-05-05 08:07:11 +02:00
app.c scd:p15: Extract extended usage flagsand act upon them. 2021-02-22 17:51:11 +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:ccid:spr532: Extend abort_cmd for initialization time. 2020-12-09 12:54:43 +09:00
ccid-driver.h scd:ccid-driver: Fix pinpad error handling for cancel/timeout. 2020-11-27 15:17:56 +09:00
command.c scd: Fix readkey --info in case a readkey command is available. 2021-02-22 18:28:45 +01:00
iso7816.c scd:p15: Make it code work again for D-Trust cards. 2021-02-23 12:56:42 +01:00
iso7816.h scd: Define new status word 2021-01-27 18:31:12 +01:00
scdaemon-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
scdaemon.c gpgconf: Further simplify the gpgconf option processing. 2020-03-14 19:12:41 +01:00
scdaemon.h scd: New command DEVINFO. 2020-04-02 15:39:26 +09:00