CryptoCertum 3.6 card support
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start by reading card-starcos.c and comparing its existing Starcos 3.5 ATR and eSign AID handling with the ATR and AIDs in this issue. Re-run the reported pkcs15-tool command with the explicit Starcos driver and AID as a baseline. Done means OpenSC recognizes the CryptoCertum 3.6 card and can handle the reported eSign application.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi, I have a CryptoCertum 3.6 card from Certum that doesn't seem to be recognized by OpenSC 0.26.1.
The ATR of the card is 3b 7f 96 00 00 80 31 80 58 43 65 72 74 75 6d 30 31 82 90 00.
The card has two "profiles" in the Certum terminology:
- The "Secure profile":
- Pin locked, it requires a PUK provided bu Certum to unlock
- Apparently preloaded with 5 RSA 3072 and 5 ECC P-384 keys (according to the data displayed by the Certum diagnostic tool)
- As I understand this profile is expected to handle eIDAS qualified certificates
- The "Common profile":
- Not initialized when received, the PIN/PUK can be set freely upon initialization
- Certificates and privates keys can be imported from a PKCS#12 file. I haven't figured out how to generate a key pair.
The PIN/PUK of the two profiles are independent so I guess each profile is mapped to a different application on the card.
I traced the USB packets with USBPcap and Wireshark when running the Certum diagnostic tool and signing with signtool (using a key loaded on the common profile). This revealed two application AIDs:
a0 00 00 01 67 45 53 49 47 4e(eGK-ESIGN)a0 00 00 01 67 45 53 49 47 4f(eSign) -> this one was selected when signing with signtool
I assume it's a Starcos card. OpenSC supports the version 3.5, but card-starcos.c doesn't list the ATR for the 3.6 card and checks a different AID for the eSign application (a0 00 00 02 45 53 69 67 6e).
I ran pkcs15-tool with the driver and AID set explicitely but it didn't work:
$ OPENSC_DRIVER=starcos pkcs15-tool --dump --aid a000000167455349474f
Using reader with a card: ACS ACR40U ICC Reader 0
Connecting to card in reader ACS ACR40U ICC Reader 0...
Failed to connect to card: Card is invalid or cannot be handled
Please let me know if I can provide any relevant information.
- Lingua principale
- C
- Stelle
- 3.1k
- Fork
- 858
- Merge medio
- 4g 4h
- PR unite (30g)
- 16
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenSC/OpenSC
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 2 giorni
-
card lock not released in error pathForse già presa @mvogt1 l’ha presa 5 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 2 giorni
-
Commit from 08.10.26 breaks cachingForse già presa @mvogt1 l’ha presa 5 giorni fa. Apertabug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
OpenSC/OpenSC#3878 · 5 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 66/100
OpenSC/OpenSC#3864 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di OpenSC/OpenSC
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
FujiNetWIFI/fujinet-lib#186 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
PackageKit/PackageKit#1027 ·