-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
v1.8.21 and higher break pcsc-cyberjack driver #22
Comments
This can be triggered by this (ugly) code snippet:
Do not forget to change "reader_name".
|
Why do you think the problem is with pcsc-lite and not with the pcsc-cyberjack driver that cannot handle large buffers? |
I think the pcsc-cyberjack is the problem. ;-) |
Thanks. Closing the issue. |
By the way... SP13 will fix this problem internally. http://support.reiner-sct.de/downloads/LINUX/V3.99.5_SP13/pcsc-cyberjack_3.99.5final.SP13.tar.gz |
Add patch from https://forum.reiner-sct.com/index.php?/topic/3728-failed_to_transmit_control_command_to_the_terminal to PKGBUILD. Background: PCSC v1.8.21 and higher break pcsc-cyberjack driver: LudovicRousseau/PCSC#22 There is no official driver, which gets it working, however, an unofficial patch is available and it seems to work fine.
Add patch from https://forum.reiner-sct.com/index.php?/topic/3728-failed_to_transmit_control_command_to_the_terminal to PKGBUILD. Background: PCSC v1.8.21 and higher break pcsc-cyberjack driver: LudovicRousseau/PCSC#22 There is no official driver, which gets it working, however, an unofficial patch is available and it seems to work fine.
Add patch from https://forum.reiner-sct.com/index.php?/topic/3728-failed_to_transmit_control_command_to_the_terminal Background: PCSC v1.8.21 and higher break pcsc-cyberjack driver: LudovicRousseau/PCSC#22 There is no official driver, which gets it working, however, this unofficial patch is available and it seems to work fine.
I have the same issue now in pcscd daemon though. It powers and unpowers itself |
@qxlsz please open a new issue with complete details. |
Since v1.8.21 it is not possible to establish a "pace (pin)" channel to German eID card with the driver of ReinerSCT cyberjack komfort/standard. [1]
After git bisect this changeset seems to be the reason: 09cf6c7
The problem is the change from "ctStr.cbRecvLength" to "sizeof pbRecvBuffer" as the driver returns 612 (IFD_COMMUNICATION_ERROR) now.
The provided user buffer seems not the problem as it is broken before that check and we do not get a SCARD_E_INSUFFICIENT_BUFFER. If I manually set
unsigned char pbRecvBuffer[MAX_BUFFER_SIZE_EXTENDED];
to e.g. 16000 instead of 65548 it will work again.pcscd log
[1] http://support.reiner-sct.de/downloads/LINUX/V3.99.5_SP11/pcsc-cyberjack-3.99.5final.SP11.tar.bz2
The text was updated successfully, but these errors were encountered: