-
Notifications
You must be signed in to change notification settings - Fork 711
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
Italian CNS - ATHENA (ACTALIS) / 01 - Support #393
Comments
|
@puccia could you have a look into this? |
|
I see that it's a transmit error exactly when trying to send a 135-byte APDU. Perhaps the card reader/driver combination is not handling that correctly? @kbytesys , could you try setting max_send_size in opensc.conf to something like 120 and see what happens? Thanks! |
|
Hi. I've tried two different card reader. BTW I can try to recompile and try that config setting in few days. |
|
No good news. I've recompiled and lowered the max_send_size (from 120 to 50), the outgoing apdu value is lower in the log, but the error is the same. Tested with a bluedrive II and a manhattan smart card reader. |
|
looking at the log you provided, I can see these problems:
is your card correctly initialized?
|
|
You may also check the log of your pcsc middleware in which the reader driver could indicate the specific error. Am 30. Juli 2015 21:03:07 MESZ, schrieb Andrea Briganti notifications@github.com:
Frank Morgner |
|
Google doesn't give anything for This is the debug of the pcscd daemon: |
|
It is also possible that the driver is trying to use a digital signature
|
|
This looks strange: Whatever this timeout is, it seems ridiculously high. I could imagine that there is a sanity check that throws the error. Could you set a breakpoint here and see where exactly this error is? What do you think, @LudovicRousseau ? |
|
You can try to force your card to use T=0 with force_protocol=t0 and your card ATR in opensc.conf. Other than that, this problem coms from a level lower than OpenSC, where workarounds can be made but root cause can probably be not fixed. |
|
closing this due to inactivity. please re-open if there is new input. |
|
Hello, it happens that I just received one of these cards. I'm experiencing the same issue, but only with an old acr38u reader not supported by libccid (I have to use libacr38u instead). With other two readers, (including newer acr38u) no issue. |
Hi, I can't use my new Italian CNS card with opensc. I know it uses the Athena Actalis/01 chip that seems to be supported.
This is the output of the pcsc_scan:
I've also compiled and tested the last sources from git with the command:
You can find the full debug log here (too long for github issue):
http://kbyte.snowpenguin.org/uploads/opensc/card_debug.log
The text was updated successfully, but these errors were encountered: