Re: [opensc-devel] Handling multiple USB tokens in IFD handler

2012-05-01 Thread Ludovic Rousseau
2012/4/27 Alexander Gozman a.goz...@infosec.ru:
  Hello.

Hi,

  Probably the problem I'm gonna describe is already known: OpenCT's IFD
 handler, used by pcscd, does not
 handle multiple USB tokens correctly. With one token everything works fine,
 but if you insert another one, it
 leads either to error, or even to pcscd's segmentation fault.
  The problem hides in CT_init() and CT_close() functions. The first one
 calculates wrong channel number for a
 new device, and the second causes memory corruption when deleting an item
 from a linked list.
  I've made a simple patch that corrects these problems and makes IFD handler
 work good - see the attachment.
 Hope it'll be useful.

Applied in revision 1191. Thanks for the patch.

OpenCT was maintained by Andreas Jellinghaus. Andreas has now left the
smart card world for other opportunities.
Do not expect a new release of OpenCT anytime soon.

Bye,

-- 
 Dr. Ludovic Rousseau
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Re: [opensc-devel] Handling multiple USB tokens in IFD handler

2012-05-01 Thread Alon Bar-Lev
On Tue, May 1, 2012 at 5:20 PM, Ludovic Rousseau
ludovic.rouss...@gmail.com wrote:
 OpenCT was maintained by Andreas Jellinghaus. Andreas has now left the
 smart card world for other opportunities.
 Do not expect a new release of OpenCT anytime soon.

There is no problem to release what we have... only minor changes were
applied since last release.

Alon.
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel


Re: [opensc-devel] new release?

2012-05-01 Thread Kalev Lember
On 04/30/2012 12:06 PM, Jean-Michel Pouré - GOOZE wrote:
 Most of the development is happening in the secure messaging branch and
 installers are released from the compilation farm.
[...]
 We will soon release a testing farm with smarcards and USB tokens
 attached. So you can safely go with the secure messaging branch.

Hi Jean-Michel,

Thanks for your reply.

What I am looking for is an official release, something that Linux
distributions could pick up. A snapshot of another development branch
wouldn't really help me here, but I appreciate the suggestion.

I'm sure there's a lot of nice work going into the secure messaging
branch, but that shouldn't stop the 0.12.3 release. There will always be
some great new stuff to merge, but it's also important to be able to get
regular releases out, based on the already merged code.

-- 
Thanks,
Kalev
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

[opensc-devel] Does pkcs11-tool crash?

2012-05-01 Thread Nguyễn Hồng Quân
I'm trying pkcs11-tool with opensc-pkcs11 module and CryptoStick
(OpenPGP card).
The tool crashes when listing objects in the card.
Please let me know if it crashes also with other cards? I have only
CryptoStick, so I cannot test with other cards (I'm trying to fix this
crash).

-- 
Regards,
Quân

___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel