-
Notifications
You must be signed in to change notification settings - Fork 712
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
PKCS#15 Init: Couldn't bind to the card: Not supported` #2881
Comments
There is no itacns driver in the src/pkcs15init directory. The list of operations in the pkcs11 driver suggests the card is read-only from the opensc side as there are no write/management operations: https://github.com/OpenSC/OpenSC/blob/master/src/libopensc/card-itacns.c#L501 |
There is no profile or routines that can work with pkcs15init in https://github.com/OpenSC/OpenSC/tree/master/src/pkcs15init Most (if not all) government issued cards are designed to be used by end users. The documentation on how they are initialized maybe proprietary. OpenSC has 50 card drivers, but only 30 have pkcs15init profiles. |
I would like to initialize a TS-CNS (Italian Health Card) Smart Card using the
pkcs15-init --erase-card
command to delete the contents of the card before proceeding with the command to create the PKCS#15 structure.Running the command returns the error "Couldn't bind to the card: Not supported".
Running the
pkcs15-init -E -vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
command it would appear that OpenSC does not find the library for 'itacns' but looking at the project's source code, this card should be supported (see card-itacns.c).Console 1 - Output of the command pkcs15-init -E -vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
The text was updated successfully, but these errors were encountered: