Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActivIdentity Activkey_Sim 00 00 #3055

Open
msetina opened this issue Mar 1, 2024 · 3 comments
Open

ActivIdentity Activkey_Sim 00 00 #3055

msetina opened this issue Mar 1, 2024 · 3 comments

Comments

@msetina
Copy link

msetina commented Mar 1, 2024

I found a old ActivIdentity Activkey_Sim USB dongle. I was happy to see it supported by some parts of OpenSC. When trying to erase it with pkcs15-init -E . I found out that something is a foot.
The error was:
Couldn't bind to the card: Not supported

@frankmorgner
Copy link
Member

Sounds like this is not supported 😉

@msetina
Copy link
Author

msetina commented Mar 2, 2024

ATR is:
Using reader with a card: ActivIdentity Activkey_Sim 00 00
3b:7b:18:00:00:00:31:c0:64:77:e3:03:00:82:90:00

The not supported comes after:

P:1202; T:0x140341028037568 11:08:12.787 [pkcs15-init] card.c:382:sc_connect_card: card info name:'Common Access Card (CAC 1)', type:33002, flags:0x0, max_send/recv_size:255/256
P:1202; T:0x140341028037568 11:08:12.787 [pkcs15-init] card.c:1669:sc_card_sm_check: called
P:1202; T:0x140341028037568 11:08:12.788 [pkcs15-init] card.c:1674:sc_card_sm_check: returning with: 0 (Success)
P:1202; T:0x140341028037568 11:08:12.789 [pkcs15-init] card.c:397:sc_connect_card: returning with: 0 (Success)
Using card driver Common Access Card (CAC 1).
P:1202; T:0x140341028037568 11:08:12.791 [pkcs15-init] pkcs15-lib.c:321:sc_pkcs15init_bind: called
P:1202; T:0x140341028037568 11:08:12.792 [pkcs15-init] card.c:1119:sc_card_ctl: called
P:1202; T:0x140341028037568 11:08:12.792 [pkcs15-init] card-cac.c:683:cac_card_ctl: called
P:1202; T:0x140341028037568 11:08:12.793 [pkcs15-init] card-cac.c:684:cac_card_ctl: cmd=4 ptr=0x7ffc071137cc
P:1202; T:0x140341028037568 11:08:12.793 [pkcs15-init] card-cac.c:708:cac_card_ctl: returning with: -1408 (Not supported)
P:1202; T:0x140341028037568 11:08:12.794 [pkcs15-init] card.c:1126:sc_card_ctl: card_ctl(4) not supported
P:1202; T:0x140341028037568 11:08:12.795 [pkcs15-init] pkcs15-lib.c:261:find_library: unable to locate pkcs15init driver for 'cac1'
P:1202; T:0x140341028037568 11:08:12.796 [pkcs15-init] pkcs15-lib.c:345:sc_pkcs15init_bind: Unsupported card driver cac1
P:1202; T:0x140341028037568 11:08:12.796 [pkcs15-init] pkcs15-lib.c:347:sc_pkcs15init_bind: Unsupported card driver: -1408 (Not supported)

@frankmorgner
Copy link
Member

According to the ATR database, https://smartcard-atr.apdu.fr/parse?ATR=+3b%3A7b%3A18%3A00%3A00%3A00%3A31%3Ac0%3A64%3A77%3Ae3%3A03%3A00%3A82%3A90%3A00, this is some Oberthur token. According to card-oberthur.c, exactly this ATR (card) should be recognized by OpenSC. AFAICT, this card driver does not support erasing the card, but all other functionality should be available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants