[Bug 647545] Re: safesign (libaetpkss.so) hangs the process which uses it

2011-04-03 Thread Ludovic Rousseau
Naty has pcsc-lite version 1.7.0 so the bug should be fixed. Closing the bug report. ** Changed in: pcsc-lite (Ubuntu) Status: New = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 647545] Re: safesign (libaetpkss.so) hangs the process which uses it

2010-10-22 Thread Ludovic Rousseau
Your Python sample exposed a bug in pcsc-lite. It is now fixed un revision 5344. I now have: $ ./SCardCancel2.py Context established! context canceled Released context. -- safesign (libaetpkss.so) hangs the process which uses it https://bugs.launchpad.net/bugs/647545 You received this bug

[Bug 647545] Re: safesign (libaetpkss.so) hangs the process which uses it

2010-10-22 Thread Ludovic Rousseau
I have no problem on Linux using pcsc-lite 1.6.5 and your Python sample. $ ./SCardCancel2.py Context established! context canceled Exception: Failed to release context: Command cancelled. PCSC-Lite 1.5.3 is an old version. You should at least try with version 1.5.5. -- safesign

[Bug 647545] Re: safesign (libaetpkss.so) hangs the process which uses it

2010-10-22 Thread Jan Rochat
Hi Ludovic, I can not force ubuntu to update to 1.6.5., maybe you should tell them to. Furthermore the example above gives no exception when running on windows 7 or windows xp. (release context does return success instead of cancel) Jan -- safesign (libaetpkss.so) hangs the process which uses

[Bug 647545] Re: safesign (libaetpkss.so) hangs the process which uses it

2010-10-21 Thread Jan Rochat
Below a program that shows the problem out of the context of SafeSign (libaetpkss.so). The program runs fine on Windows (XP), and hangs on Ubuntu with PCSC-Lite 1.5.3 #! /usr/bin/env python from smartcard.scard import * try: hresult, hcontext = SCardEstablishContext(SCARD_SCOPE_USER)

[Bug 647545] Re: safesign (libaetpkss.so) hangs the process which uses it

2010-09-29 Thread Paul Moran
Also seen this problem with the 1.5 libs. However upgrading to 1.6.4 causes other issues: the hanging problem goes away but now the usb token is never detected. It could be a problem with libaetpkss.so since its closed source and we can't tell if its correct or not. -- safesign (libaetpkss.so)

[Bug 647545] Re: safesign (libaetpkss.so) hangs the process which uses it

2010-09-26 Thread Magosányi Árpád
I confirm that 1.6.x does not have this problem (I have installed it from debian pool), so I have lost interest in patching an old version, so I will be happy with a WONTFIX. The answer to your questions: - no, there is no one at the other end of the pipe - I could generate a pcscd log, but I

[Bug 647545] Re: safesign (libaetpkss.so) hangs the process which uses it

2010-09-25 Thread Ludovic Rousseau
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

[Bug 647545] Re: safesign (libaetpkss.so) hangs the process which uses it

2010-09-25 Thread Magosányi Árpád
I don't know what the heck libaetpkss does, as it is closed source. I assure you I am not happy to use proprietary code. It kept a lot of my packages downgraded because this bug, and it took me a day to figure out at last what is the problem. It is possible that safesign calls linpcsc-lite in

[Bug 647545] Re: safesign (libaetpkss.so) hangs the process which uses it

2010-09-25 Thread Ludovic Rousseau
The latest pcsc-lite 1.6.x do not use a fifo anymore. So the patch would only be for the 1.5.x branch. If I can't reproduce/understand the bug myself I will not apply the patch, even if it works for you. I note you have not replied to the 2 questions in my previous message. -- safesign