Re: [opensc-devel] C_SignFinal fails when using a pinpad reader

2010-05-11 Thread Ludovic Rousseau
2010/5/11 Viktor TARASOV : > Ludovic Rousseau wrote: >> 2010/5/11 Viktor TARASOV : >> I can send an OpenSC log file level=99 (200 KB uncompressed) if needed. I use the current SVN version of OpenSC. >>> Please, do it. >>> >> >> Attached. bzip2 compressed. >> >> I have a Feitian smart

Re: [opensc-devel] C_SignFinal fails when using a pinpad reader

2010-05-11 Thread Viktor TARASOV
Ludovic Rousseau wrote: > 2010/5/11 Viktor TARASOV : > >>> I can send an OpenSC log file level=99 (200 KB uncompressed) if needed. >>> I use the current SVN version of OpenSC. >>> >> Please, do it. >> > > Attached. bzip2 compressed. > > I have a Feitian smart card and use the entersa

Re: [opensc-devel] C_SignFinal fails when using a pinpad reader

2010-05-11 Thread Ludovic Rousseau
2010/5/11 Viktor TARASOV : >> I can send an OpenSC log file level=99 (200 KB uncompressed) if needed. >> I use the current SVN version of OpenSC. > > Please, do it. Attached. bzip2 compressed. I have a Feitian smart card and use the entersafe card driver. It may be an entersafe card driver bug.

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

2010-05-11 Thread Jan Just Keijser
Hi Jean-Michel , Jean-Michel Pouré - GOOZE wrote: > On Fri, 2010-05-07 at 12:36 +0200, Jan Just Keijser wrote: > >> Excellent! I will test the CCID reader when I get it. >> > > You should receive it next Monday or Tuesday. > > >> More information for the Feitian folks: I also tried the

Re: [opensc-devel] C_SignFinal fails when using a pinpad reader

2010-05-11 Thread Viktor TARASOV
Hello, Ludovic Rousseau wrote: > Hello, > > Using a normal reader: > $ pkcs11-tool --slot 9 --sign --input-file aa --output-file a > Please enter User PIN: > Using signature algorithm RSA-X-509 > > Using a pinpad reader: > $ pkcs11-tool --slot 1 --sign --input-file aa --output-file a > Using signa

[opensc-devel] C_SignFinal fails when using a pinpad reader

2010-05-11 Thread Ludovic Rousseau
Hello, Using a normal reader: $ pkcs11-tool --slot 9 --sign --input-file aa --output-file a Please enter User PIN: Using signature algorithm RSA-X-509 Using a pinpad reader: $ pkcs11-tool --slot 1 --sign --input-file aa --output-file a Using signature algorithm RSA-X-509 error: PKCS11 function C_

Re: [opensc-devel] pcsc protocol detection

2010-05-11 Thread Ludovic Rousseau
Le 11 mai 2010 14:14, Jean-Michel Pouré - GOOZE a écrit : > I found the post from I remember a post from Andreas Jellinghaus > explaining how integration could be done. > > Quote: > > my proposal is this: > * take libccid code > * isolate the parts that are related to the ccid interface > * replac

Re: [opensc-devel] pcsc protocol detection

2010-05-11 Thread Jean-Michel Pouré - GOOZE
On Tue, 2010-05-11 at 14:05 +0200, Jean-Michel Pouré - GOOZE wrote: > > There was a solution proposed on the list that OpenCT may be > integrated > or triggered by libccid but I cannot find this post. I found the post from I remember a post from Andreas Jellinghaus explaining how integration cou

Re: [opensc-devel] pcsc protocol detection

2010-05-11 Thread Jean-Michel Pouré - GOOZE
On Tue, 2010-05-11 at 13:51 +0200, Ludovic Rousseau wrote: > Jean-Michel, can > you elaborate? When compiling OpenSC with both libccid and OpenCT backends, the first backend which grabs the card may lock it. To my knowledge, this was not fixed and never really worked. There was a solution propos

Re: [opensc-devel] pcsc protocol detection

2010-05-11 Thread Jean-Michel Pouré - GOOZE
On Tue, 2010-05-11 at 14:15 +0300, Martin Paljak wrote: > I believe the problem was "fixed" (to some extent) by grabbing CCID > interfaces in OpenCT with a small delay, so that pcsc-lite+ccid could > handle it with a higher priority. Okay, I was not aware of this fix, sorry. I will test and report

Re: [opensc-devel] pcsc protocol detection

2010-05-11 Thread Ludovic Rousseau
2010/5/11 Martin Paljak : > On May 11, 2010, at 13:18 , Jean-Michel Pouré - GOOZE wrote: >> @devel list >> >> Can we have a real discussion on the devel list how your guys are going >> to handle T0, T1 detection under GNU/Linux? My opinion is that it is a >> stopper to the Linux market of smart car

Re: [opensc-devel] pcsc protocol detection

2010-05-11 Thread Martin Paljak
On May 11, 2010, at 13:18 , Jean-Michel Pouré - GOOZE wrote: > @devel list > > Can we have a real discussion on the devel list how your guys are going > to handle T0, T1 detection under GNU/Linux? My opinion is that it is a > stopper to the Linux market of smart cards. What do you see as the probl

Re: [opensc-devel] pcsc protocol detection

2010-05-11 Thread Jean-Michel Pouré - GOOZE
On Tue, 2010-05-11 at 11:53 +0200, francois.lebl...@cev-sa.com wrote: > cardmod is only for windows user and pcsc... > > Protocol detection use pcsc function SCardStatus to check if the card > is connected on T0, T1 > > or RAW mode. Thanks, I did not notice. @devel list Can we have a real

Re: [opensc-devel] pcsc protocol detection

2010-05-11 Thread francois . leblanc
cardmod is only for windows user and pcsc... Protocol detection use pcsc function SCardStatus to check if the card is connected on T0, T1 or RAW mode. Regards, François. François Leblanc Service Recherche et Innovation francois.lebl...@cev-sa.com Tél. : 02.33.77.65.00 Fax : 02.33.77.65.01

[opensc-devel] pcsc protocol detection

2010-05-11 Thread Jean-Michel Pouré - GOOZE
Dear friends, Would it be possible to have more information on pcsc protocol detection: r4288 | flc | 2010-05-05 11:31:44 +0200 (Wed, 05 May 2010) | 1 line Add cardmod pcsc protocol detection Is there a way to have both OpenCT and PCSC+CCID not interfere. We discussed that several times. Are the

Re: [opensc-devel] Pin is asked on the pinpad even if given on the command line

2010-05-11 Thread Ludovic Rousseau
2010/5/10 Ludovic Rousseau : > Hello, > > I am using a pinpad with a Feitian PKI card (entersafe driver). > > I use "pkcs15-init --generate-key rsa/2048 --auth-id 01 --pin " to > generate a key onboard. > The problem is that the PIN is asked on the pinpad even if I give the > PIN on the command

Re: [opensc-devel] Cardmod MiniDriver Problem

2010-05-11 Thread francois . leblanc
Greats news, This is a good progress. Do you release a patch or should I do? Thank you, François. François Leblanc Service Recherche et Innovation francois.lebl...@cev-sa.com Tél. : 02.33.77.65.00 Fax : 02.33.77.65.01 www.cev-sa.com Avant d'imprimer, pensez à l'environnement De : Joz

[opensc-devel] Pin is asked on the pinpad even if given on the command line

2010-05-11 Thread Ludovic Rousseau
Hello, I am using a pinpad with a Feitian PKI card (entersafe driver). I use "pkcs15-init --generate-key rsa/2048 --auth-id 01 --pin " to generate a key onboard. The problem is that the PIN is asked on the pinpad even if I give the PIN on the command line. This contradict the comment in src/

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

2010-05-11 Thread Jan Just Keijser
Jean-Michel Pouré - GOOZE wrote: > On Fri, 2010-05-07 at 12:36 +0200, Jan Just Keijser wrote: > >> I will test it with openssl 0.9.8 next week >> > > I think the alternative would be to generate the keys/certificates > outside the smartcard and transfer them to smartcard. > > Everything is