safesign (libaetpkss.so) hangs the process which uses it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcsc-lite (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
It happens above libpcsclite1_
Any process using libaetpkss.so as a pkcs#11 provider hangs at the end of smart card session.
It is caused by the pcsclite library (I don't know if it is called in the correct way, as the Safesign pkcs#11 library is closed source).
The cause of it is an open on a fifo which hangs as no one at the other end.
Patch (please notify upstream as well):
--- pcsc-lite-
+++ pcsc-lite-
@@ -170,7 +170,7 @@
- fd = SYS_OpenFile(
+ fd = SYS_OpenFile(
if (fstat(fd, &fstat_buf))
{
Interesting patch. But I (as upstream maintainer) can't apply it before I understand the problem.
If you can write a small sample to reproduce the problem without using a proprietary software I will have a look.
If it is not possible I have some questions:
- does the FIFO the code is trying to open exists or not?
- can you follow [1] and generate a pcscd log?
[1] http:// pcsclite. alioth. debian. org/ccid. html#support