Questions tagged [smartcard]
A smartcard is a card with an embedded chip that may store cryptographic keys and/or perform cryptographic functions. Smartcards are often use as employee ID badges or in contactless credit/debit cards.
smartcard
1,960
questions
1
vote
1
answer
26
views
Should executing PACE authentication twice cause errors?
I am using JMRTD library for reading data from eID and PassportService doPace() method works fine. But when I do another doPace(), immediately after, I get:
PICC side error in static PACE key ...
0
votes
0
answers
13
views
Python detect USB Device - different results between IDLE and CMD Interpretter
I am trying to figure out an issue with USB redirection for a smartcard device within a VDI solution. I am using the pyscard module for the smartcard. For further context, main issue is the card ...
0
votes
0
answers
21
views
Why is the Microsoft Minidriver certification tool (CMCK) not encrypting the card challenge but something else instead?
In the context of card minidriver certification within the HLK framework, it is needed to run a tool named CMCK which will run certification tests for a card minidriver. One of the functions that must ...
0
votes
1
answer
30
views
Using 32byte keys establish platform scp03 secure channel
I want establish a scp03 secure channel.
My static keys are of length 32bytes or 256bits
Using 32 byte keys I want to generate session keys according to scp03 protocol,
when I tried implementing after ...
1
vote
1
answer
43
views
What API call will tell me the number of PIN attempts remaining on a smartcard?
I am successfully retrieving certificates and their private key as follows:
PCCERT_CONTEXT cert = NULL;
if (!(cert = CertFindCertificateInStore(sys, X509_ASN_ENCODING, 0, CERT_FIND_EXISTING, ...
0
votes
0
answers
131
views
Import Private Key to Microsoft TPM Virtual Smart Card without popups for card selection and PIN
I am trying to import private key to Microsoft TPM Virtual Smart Card.
With legacy crypto API, private key is imported successfully. verified with certutil -scinfo. Problem with this approach is, it ...
1
vote
1
answer
42
views
Understanding of ISO7816-4 INS 87 GENERAL Authentication in PIV Applet
I'm working on a project involving smart card communication, specifically with PIV (Personal Identity Verification) applets, and I'm having trouble understanding the use of the INS 87 (General ...
0
votes
1
answer
22
views
Android pcsc sertificate with private key
I need to get full x509 certificate from smart card in psam slot on android. I got apdu commands working with devices sdk.
On windows this certificate appears in personal store when smart card is ...
0
votes
0
answers
60
views
Smart Card MAC calculation on APDU for getting secure message
Here is my
Plain APDU : 00 A4 00 00
kSMac: 2F 34 E0 0D 1C 46 76 67 43 BA 6B 26 AB 20 4F D3
SSC:20 29 73 0A 6D 5E 7C C4
I am working on constructing a secure message and I am following an example ...
2
votes
1
answer
68
views
Signing a PDF with an external signature using a smartcard using iTextSharp 5 gives formatting errors C#
I'm trying to implement a PDF signature with a smartcard using iText 5.5.11. The smart card itself is a Mongolian national ID card which itself seems to be a type of Gemalto. I don't have the dll so I'...
0
votes
0
answers
81
views
USB Key Token with DevOps pipeline
We have a single PC used for digitally signing code in published apps. This computer has a USB dongle that contains the key for signing. When publishing the application, SmartCard PIN entry prompt ...
0
votes
0
answers
53
views
"GET PROCESSING OPTIONS failed" error while reading a smart card with cardpeek software
I'm currently having a problem while reading a card with cardpeek software.
At the starts and end of the operation i keep on getting this error:
GET PROCESSING OPTIONS failed, the script will continue ...
0
votes
0
answers
108
views
PCSC Error on access to Smart Card - at first attempt
i have a WPF c# app where the user has to login with his smart Card to athenticate.
In the most cases it is working fine. But i was told that sometimes when placing the smart card on the reader the ...
0
votes
1
answer
51
views
Error when creating an EF under MF on smart card
I am new to ISO 7816 smart card programming. I am trying to create an EF under the MF. I can succesfully select the MF but there is an error creating the EF. These are the APDUs and responses.
00 A4 ...
0
votes
0
answers
29
views
Writing an EF on a SCOSTA card
I new to programming with smart cards and I have in hand a blank SCOSTA card and an ACR39 Smart card reader. As far as I read, SCOSTA cards are compatible with ISO7816-4, -8 and -9 standards. Its ...