Re: [opensc-devel] Feitian ePass+SCR301 problem

2010-05-20 Thread Viktor TARASOV
rganizational Unit Name (eg, section) []: > Common Name (eg, your name or your server's hostname) []: > Email Address []: > 28400:error:8000A005:PKCS11 library:PKCS11_rsa_sign:General > Error:p11_ops.c:131: > 28400:error:0D0C3006:asn1 encoding routines:ASN1_item_sign:EVP &g

Re: [opensc-devel] Feitian ePass+SCR301 problem

2010-05-20 Thread Andreas Jellinghaus
It would be great if the entersafe driver could be improved to the point, where src/test/regression/ test suite works with the cards. The test suite provides a very good way for us to test many different card features, and make sure new versions of opensc still work as good as old cards. I think e

Re: [opensc-devel] Built-in SmartCard reader

2010-05-20 Thread Andreas Jellinghaus
Am Donnerstag 20 Mai 2010, um 09:47:19 schrieb Juergen Beisert: > Hi Andreas, > > Andreas Jellinghaus wrote: > > Thinking about it for a few more minutes, I have a much better > > advice: implement a serial port. > > That was also an idea of Alax Cox. But this implies to emulate the whole > reade

Re: [opensc-devel] Built-in SmartCard reader

2010-05-20 Thread Andreas Jellinghaus
Am Donnerstag 20 Mai 2010, um 10:11:03 schrieb Juergen Beisert: > That's exactly what I have. But to bring such kind of driver into the > mainline kernel, the API to the kernel space must be more generic. That's > the reason, why I'm asking for more uses cases for these SmartCards than I > have wit

Re: [opensc-devel] Feitian ePass+SCR301 problem

2010-05-20 Thread Douglas E. Engert
After looking at your http://www.nikhef.nl/~janjust/feitian/opensc-debug.log-20100520 and reading these mails again, this does not look like a reader or pcsc problem. You were not able to write your Globus key to the card, and were not able to generate a key on the card. In http://www.nikhef.nl

Re: [opensc-devel] Built-in SmartCard reader

2010-05-20 Thread Martin Paljak
On May 20, 2010, at 15:07 , Juergen Beisert wrote: > Jim Rees wrote: >> Juergen Beisert wrote: >> >> The external card reader device uses a local processor to run its own >> firmware. But my case is a little bit different than with an external >> reader device: My regular Linux system is the pro

Re: [opensc-devel] Built-in SmartCard reader

2010-05-20 Thread Juergen Beisert
Jim Rees wrote: > Juergen Beisert wrote: > > > Jim Rees wrote: > > >> You might want to add pinpad support. > > The external card reader device uses a local processor to run its own > firmware. But my case is a little bit different than with an external > reader device: My regular Linux sys

Re: [opensc-devel] Feitian ePass+SCR301 problem

2010-05-20 Thread Jan Just Keijser
nSSL> quit in other words: same error. See http://www.nikhef.nl/~janjust/feitian/opensc-debug.log-20100520 for the full log ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel

Re: [opensc-devel] Built-in SmartCard reader

2010-05-20 Thread Jim Rees
Juergen Beisert wrote: > > Jim Rees wrote: > >> You might want to add pinpad support. The external card reader device uses a local processor to run its own firmware. But my case is a little bit different than with an external reader device: My regular Linux system is the processor and

Re: [opensc-devel] Built-in SmartCard reader

2010-05-20 Thread Jean-Michel Pouré - GOOZE
On Thu, 2010-05-20 at 11:11 +0200, Ludovic Rousseau wrote: > I found my patch. It is at [1]. And the email is from Mon, 26 Jan 2009 > 06. > [1] > http://www.mail-archive.com/opensc-devel@lists.opensc-project.org/msg03536.html > Hoops. I don't understand why your patch was not integrated/debugged

Re: [opensc-devel] Feitian ePass+SCR301 problem

2010-05-20 Thread Jean-Michel Pouré - GOOZE
On Thu, 2010-05-20 at 12:35 +0200, Jan Just Keijser wrote: > At this point I downloaded and built opensc-0.11.13 As explained in the tutorial, you must build OpenSC from SVN version: http://www.gooze.eu/howto/smartcard-quickstarter-guide/installing-from-sources This will fix your problems. Kind

Re: [opensc-devel] Feitian ePass+SCR301 problem

2010-05-20 Thread Jan Just Keijser
rd command failed 15127:error:8000A005:PKCS11 library:PKCS11_rsa_sign:General Error:p11_ops.c:131: 15127:error:0D0C3006:asn1 encoding routines:ASN1_item_sign:EVP lib:a_sign.c:276: error in req this is - again - the error -1200 . The full opensc-debug.log file is http://www.nikhef.nl/~janjust/fe

Re: [opensc-devel] Built-in SmartCard reader

2010-05-20 Thread Juergen Beisert
Ludovic Rousseau wrote: > 2010/5/20 Juergen Beisert : > > Andreas Jellinghaus wrote: > >> I think > >> - read data > >> - write data > >> - warm reset > >> - hard reset > >> - get card status (card / no card / card removed and added again) > > You will also need a way to get card events: a card has

Re: [opensc-devel] Built-in SmartCard reader

2010-05-20 Thread Ludovic Rousseau
2010/5/20 Juergen Beisert : > Andreas Jellinghaus wrote: >> I think >> - read data >> - write data >> - warm reset >> - hard reset >> - get card status (card / no card / card removed and added again) You will also need a way to get card events: a card has been inserted, a card has been removed. Or

Re: [opensc-devel] Built-in SmartCard reader

2010-05-20 Thread Ludovic Rousseau
2010/5/19 Ludovic Rousseau : > Le 19 mai 2010 18:33, Jean-Michel Pouré - GOOZE a écrit : >> Ludovic, this may be useful to describe how libccid could evolve to >> handle t=1 protocol > > libccid already supports T=1 (and better than OpenCT :-) > > Regarding T=1 I reused the T=1 layer from OpenCT w

Re: [opensc-devel] Built-in SmartCard reader

2010-05-20 Thread Juergen Beisert
Hi Andreas, Andreas Jellinghaus wrote: > Am Mittwoch 19 Mai 2010, um 15:32:22 schrieb Juergen Beisert: > > I don't know if this is the correct list to ask this question. If not, > > please give me a pointer. > > muscle list has even more experts on writing drivers I guess, > but opensc-devel shoul

Re: [opensc-devel] Built-in SmartCard reader

2010-05-20 Thread Juergen Beisert
Hi Andreas, Andreas Jellinghaus wrote: > Thinking about it for a few more minutes, I have a much better > advice: implement a serial port. That was also an idea of Alax Cox. But this implies to emulate the whole reader in kernel land (the kernel driver must be the 'firmware' of this device). Th

Re: [opensc-devel] Built-in SmartCard reader

2010-05-20 Thread Juergen Beisert
Martin Paljak wrote: > On May 19, 2010, at 19:35 , Juergen Beisert wrote: > > The list gets longer: > > > > Jim Rees wrote: > >> You might want to add pinpad support. Also think about how you want to > >> handle multiple readers or multiple slots per reader. And card > >> insert/removal notificat