From fe2c1c86c3826685be80a1c70aa526ae79477064 Mon Sep 17 00:00:00 2001 From: Wouter Verhelst Date: Thu, 11 Apr 2024 10:38:57 +0200 Subject: [PATCH] Disable the Applet V1.8 ATR The V1.8 applet has a few differences to the older applets. This causes the OpenSC PKCS#11 module to not be able to sign anything with the Belpic driver on this card. While the best solution is to implement the required changes to make this work correctly, for the time being it's better to not confuse users by claiming we support the card when in reality we don't. --- src/libopensc/card-belpic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libopensc/card-belpic.c b/src/libopensc/card-belpic.c index 0f482e4174..c316b766ca 100644 --- a/src/libopensc/card-belpic.c +++ b/src/libopensc/card-belpic.c @@ -146,8 +146,8 @@ static long t1, t2, tot_read = 0, tot_dur = 0, dur; static size_t next_idx = (size_t)-1; static const struct sc_atr_table belpic_atrs[] = { - /* Applet V1.8 */ - { "3B:7F:96:00:00:80:31:80:65:B0:85:04:01:20:12:0F:FF:82:90:00", NULL, NULL, SC_CARD_TYPE_BELPIC_EID, 0, NULL }, + /* Applet V1.8 -- disabled, as it requires driver updates which are not yet implemented */ + /* { "3B:7F:96:00:00:80:31:80:65:B0:85:04:01:20:12:0F:FF:82:90:00", NULL, NULL, SC_CARD_TYPE_BELPIC_EID, 0, NULL }, */ /* Applet V1.1 */ { "3B:98:13:40:0A:A5:03:01:01:01:AD:13:11", NULL, NULL, SC_CARD_TYPE_BELPIC_EID, 0, NULL }, /* Applet V1.0 with new EMV-compatible ATR */