Skip to content

Commit f923624

Browse files
metsmamrts
authored andcommitted
We don't use FCP info disable it
WE2-486 Signed-off-by: Raul Metsma <[email protected]>
1 parent d421b33 commit f923624

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/electronic-ids/pcsc/EIDIDEMIA.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ const SelectCertificateCmds& EIDIDEMIA::selectCertificate() const
113113
{
114114
static const auto selectCertCmds = SelectCertificateCmds {
115115
// Authentication certificate.
116-
{0x00, 0xA4, 0x02, 0x04, 0x02, 0x34, 0x01},
116+
{0x00, 0xA4, 0x02, 0x0C, 0x02, 0x34, 0x01},
117117
// Signing certificate.
118-
{0x00, 0xA4, 0x02, 0x04, 0x02, 0x34, 0x1F},
118+
{0x00, 0xA4, 0x02, 0x0C, 0x02, 0x34, 0x1F},
119119
};
120120
return selectCertCmds;
121121
}

tests/mock/select-certificate-script-EST-IDEMIA.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const PcscMock::ApduScript ESTEID_IDEMIA_V1_SELECT_AUTH_CERTIFICATE_AND_AUTHENTI
3434
0x41, 0x57, 0x50},
3535
{0x90, 0x00}},
3636
// Select authentication certificate file.
37-
{{0x00, 0xA4, 0x02, 0x04, 0x02, 0x34, 0x01}, {0x90, 0x00}},
37+
{{0x00, 0xA4, 0x02, 0x0C, 0x02, 0x34, 0x01}, {0x90, 0x00}},
3838

3939
// Read data length.
4040
{{0x00, 0xb0, 0x00, 0x00, 0x04}, {0x30, 0x82, 0x04, 0x03, 0x90, 0x00}},
@@ -183,7 +183,7 @@ const PcscMock::ApduScript ESTEID_IDEMIA_V1_SELECT_SIGN_CERTIFICATE_AND_SIGNING
183183
0x70, 0x70, 0x6C, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6F, 0x6E},
184184
{0x90, 0x00}},
185185
// Select signing certificate file.
186-
{{0x00, 0xA4, 0x02, 0x04, 0x02, 0x34, 0x1F}, {0x90, 0x00}},
186+
{{0x00, 0xA4, 0x02, 0x0C, 0x02, 0x34, 0x1F}, {0x90, 0x00}},
187187

188188
// Read data length.
189189
{{0x00, 0xb0, 0x00, 0x00, 0x04}, {0x30, 0x82, 0x03, 0xec, 0x90, 0x00}},

tests/mock/select-certificate-script-LAT-V2.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const PcscMock::ApduScript LATEID_IDEMIA_V2_SELECT_AUTH_CERTIFICATE_AND_AUTHENTI
3434
0x41, 0x57, 0x50},
3535
{0x90, 0x00}},
3636
// Select authentication certificate file.
37-
{{0x00, 0xA4, 0x02, 0x04, 0x02, 0x34, 0x01}, {0x90, 0x00}},
37+
{{0x00, 0xA4, 0x02, 0x0C, 0x02, 0x34, 0x01}, {0x90, 0x00}},
3838

3939
// Read data length.
4040
{{0x00, 0xb0, 0x00, 0x00, 0x04}, {0x30, 0x82, 0x06, 0xc1, 0x90, 0x00}},
@@ -253,7 +253,7 @@ const PcscMock::ApduScript LATEID_IDEMIA_V2_SELECT_SIGN_CERTIFICATE_AND_SIGNING
253253
0x70, 0x70, 0x6C, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6F, 0x6E},
254254
{0x90, 0x00}},
255255
// Select signing certificate file.
256-
{{0x00, 0xA4, 0x02, 0x04, 0x02, 0x34, 0x1F}, {0x90, 0x00}},
256+
{{0x00, 0xA4, 0x02, 0x0C, 0x02, 0x34, 0x1F}, {0x90, 0x00}},
257257

258258
// Read data length.
259259
{{0x00, 0xb0, 0x00, 0x00, 0x04}, {0x30, 0x82, 0x08, 0x48, 0x90, 0x00}},

0 commit comments

Comments
 (0)