Hello Ievgenii,
Le 24/01/2022 à 15:12, Ievgenii Meshcheriakov a écrit :
Package: libpcsclite1
Version: 1.9.5-1
Severity: normal
X-Debbugs-Cc: eu...@debian.org
ScardConnect() call is blocking when another process has started a transaction
on the same card, but it is impossible to cancel it using SCardCancel().
This makes it harder to use the library reliably in an asynchronous manner.
I'm attaching source code that demonstrates the problem. After building it
run 'cardlock' executable followed by 'cardlock_cancel' in a different
terminal. A card should be in the used card reader. Both executables accept
reader ID as arguments. My expectation is that 'cardlock_cancel' could exit
after 5 second sleep, but it does not.
This problem is not Debian specific.
Please follow the discussion on the MUSCLE list
https://lists.infradead.org/pipermail/pcsclite-muscle/2022-January/001233.html
If you really want to open a ticket please open it upstream at salsa or github
https://salsa.debian.org/rousseau/PCSC/-/issues
https://github.com/LudovicRousseau/PCSC/issues
Bye
--
Dr. Ludovic Rousseau