-
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
pkcs15-init --create-pkcs15 returns [Unsupported INS byte in APDU] #1437
Comments
We have support for reading the enrolled CardOS 5.3 cards, but not for enrolling them. For entrolling would be needed |
Hello @Jakuje I added master...Jakuje:cardos-tokeninfo-ecc to my local build. $ /usr/local/bin/cardos-tool -i -v But cannot enroll with pkcs15-init What changes should be done to enroll it? |
These commits are already merged in master. You don't need to merge them again. The output confirms that it is really cardos 5.3 card detected. I have no idea how to enroll this card. I have only enrolled cards that I can confirm work as expected. You should probably check with the vendor/shop if he will be able to provide you some guidance or specification. Based on that, we can have a look what are the missing bits for enrolling, but I don't want to promise anything. |
Closing this issue due to inactivity. Please re-open the ticket if more input is available. |
Problem Description
Using smart-card=Atos CardOS V5.3 and gemalto USB reader
$ pkcs15-init --create-pkcs15
Using reader with a card: Gemalto PC Twin Reader 00 00
New Security Officer PIN (Optional - press return for no PIN).
Please enter Security Officer PIN:
Failed to create PKCS #15 meta structure: Unsupported INS byte in APDU
This means card connected, driver is found.
$ pkcs15-init --create-pkcs15 -vvvvv
https://gist.github.com/amitkumar50/ef2d4601b6af3ec56597915788d088f3
iso7816.c:555:iso7816_select_file: returning with: -1204 (Unsupported INS byte in APDU)
#define SC_ERROR_INS_NOT_SUPPORTED -1204
How to enroll cert and key using pkcs15-init?
What is meaning of unsupported instruction code in APDU?
Proposed Resolution
No at moment
Logs
https://gist.github.com/amitkumar50/ef2d4601b6af3ec56597915788d088f3
The text was updated successfully, but these errors were encountered: