-
Notifications
You must be signed in to change notification settings - Fork 72
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
Failed to create PKCS #15 meta structure: File not found #14
Comments
pkcs15-init --create-pkcs15 -vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv |
Hi, The APDU sent to the card in your log ( This does not occur on my machine using the latest OpenSC master (i.e. there is an Le field). Can you try a more recent version? |
Hello. One line I have found that maybe can make sence I tried to compile and install ISOApplet from this repo and also So if you need new log or another tests just ask. |
Yes, there is an issue already in the the select APDU. Can you try this branch? https://github.com/philipWendland/OpenSC/tree/select-case Also, your card seems to use the T=0 protocol. I don't know if IsoApplet has ever been used with T=0, so there might be more errors down the line. Can you also try forcing T=1 in opensc.conf? |
Hello.
So what would you say? Does it mean that protocol T1 is not supported by card? I asking because as it stated on the producers website that this card model supports both protocols T0 and T1. Reader that I use also say to be supported T1 protocol on the company's website. |
I spent a bit debugging this today and believe it's due to this bug: |
This is due to a bug in getOffsetCData(). I patched the code for IsoApplet using https://gist.github.com/benbenbenbenbenben/cfe31b2f6abb38bdf503b4679d783d9a and it works now for me. |
Thank you! I added a note to the wiki. I am reluctant to fix card-specific firmware issues in upstream IsoApplet. Pandora's box, IMHO. |
Having issue when doing pkcs15-init --create-pkcs15
Card: ACOSJ 40K Dual
OS: Archlinux
JavaCard SDK (for building): 2.2.2 (also tried 3.0.4)
OpenSC: 0.16.0
Similar issues that I found: #6, #8.
Function "Create file" called but after this "file not found" returned several places.
Also many errors in debug output - "wrong length"
The text was updated successfully, but these errors were encountered: