Re: [opensc-devel] Looking for engine_pkcs11 specialist...

2009-05-14 Thread Fleblanc
Douglas E. Engert a écrit : Fleblanc wrote: Hi, What version of OpenSSL? 1.0.0-beta1 I use openssl with engine_pkcs11, I have a config file to init openssl with opensc_pkcs11 like this: [openssl_def] engines = engine_section

[opensc-devel] Looking for engine_pkcs11 specialist...

2009-05-14 Thread Fleblanc
Hi, I use openssl with engine_pkcs11, I have a config file to init openssl with opensc_pkcs11 like this: [openssl_def] engines = engine_section [engine_section] pkcs11 = pkcs11_section [pkcs11_section] engine_id = pkcs11 dynamic_path = c:\\appli\\opensc\\opensc\\lib\\engines\\engine_pkcs11.dl

Re: [opensc-devel] Testing a new driver - File not found

2009-05-12 Thread Fleblanc
Sorry, I've done. I've integreated "westcos" cards. You need to implement a "card-xxx.c " a "pkcs15-xxx.c" and to create a tool "xxx-tool.c" With westcos-tool I use opensc api to write file I need on the card, I use pkcs15-westcos.c to emulate pkcs15 structure for this card and of course car

Re: [opensc-devel] Testing a new driver - File not found

2009-05-12 Thread Fleblanc
Hi Egon, I think, if you use pkcs15 emulation you can't or didn't need to use pkcs15-init tool, using pkcs15 emulation it's required when cards are uncompatible with real pkcs15 structure so pkcs15-init tool can't use them. Use an another tool to init them or create yours... François. Egon

Re: [opensc-devel] Cygwin? Mingw? --with-cygwin-native

2009-05-05 Thread Fleblanc
Thank you for yours answers Yes I think so cross compile it's more quickly... François. Alon Bar-Lev a écrit : > On 5/5/09, Andreas Jellinghaus wrote: > >> Am Dienstag 05 Mai 2009 10:22:07 schrieb Fleblanc: >> >> >>> Hello, >>> &

Re: [opensc-devel] Cygwin? Mingw? --with-cygwin-native

2009-05-05 Thread Fleblanc
checkout: > http://opensc-project.org/svn/build > > And read the README file. > > On 4/22/09, Fleblanc wrote: > >> I've started with version "0.11.8-svn", I've a checkout of the trunk and >> I don't find a build script too >> &g

[opensc-devel] [Fwd: Re: Cygwin? Mingw? --with-cygwin-native]

2009-04-22 Thread Fleblanc
Thank you Peter too. François Thank you very much Alon Bar-Lev, I will play with this and try to correctly build ... Regards, François. Alon Bar-Lev a écrit : > checkout: > http://opensc-project.org/svn/build > > And read the README file. > > On 4/22/09, Fleblanc wr

Re: [opensc-devel] Cygwin? Mingw? --with-cygwin-native

2009-04-22 Thread Fleblanc
I've started with version "0.11.8-svn", I've a checkout of the trunk and I don't find a build script too I missed something? François. Alon Bar-Lev a écrit : > Check out svn repository. > > On 4/22/09, Fleblanc wrote: > >> First thank you for yo

Re: [opensc-devel] Cygwin? Mingw? --with-cygwin-native

2009-04-22 Thread Fleblanc
lping, Regards. François. Alon Bar-Lev a écrit : > Use the build [1] project. > > Alon. > > [1] http://www.opensc-project.org/build > > On 4/20/09, Fleblanc wrote: > >> Hi there, >> >> I try building opensc under windows but I never success for now

[opensc-devel] Cygwin? Mingw? --with-cygwin-native

2009-04-20 Thread Fleblanc
Hi there, I try building opensc under windows but I never success for now. I've tryed msys, cygwin with and without --with-cygwin-native and lot of options... (Errors are very various, ldtl librairies missing, or link symbol not found, or link with cyg... dlls depends of my options)

Re: [opensc-devel] Possible issue with memory management on vista...

2009-04-07 Thread Fleblanc
Euh, yes it's a possiblity even if it is must difficult to do... I've seen something about build script, but I never find it. I think about this, Thank you. Regards Andreas Jellinghaus a écrit : > what about compiling opensc and your code together > into one new single binary? shouldn't that s

[opensc-devel] Possible issue with memory management on vista...

2009-04-06 Thread Fleblanc
Hi there, I've some troubles using opensc under vista, getting APPCRASH errors in ntdll module. Since I work with modules I provide "p15emu-westcos.dll" where I simulate the pkcs15 structure for westcos card, so in "sc_pkcs15emu_westcos_init" of my module I clear label, serial number

Re: [opensc-devel] ScardControl fail

2009-03-18 Thread Fleblanc
> Thanks, > Martin > > On 11.03.2009, at 20:45, Alon Bar-Lev wrote: > >> Great work! >> Can someone confirm current hardware still works? >> I never had PINPAD reader to play with. >> >> Alon. >> >> On Wed, Mar 11, 2009 at 11:13 AM, Fleblan

Re: [opensc-devel] ScardControl fail

2009-03-11 Thread Fleblanc
>bInsertionOffsetNew = 0x08; /* bOffsetNew */ pin_modify->bInsertionOffsetNew = 0x00; /* bOffsetNew */ Perhaps bInsertionOffsetNew = 0x08 only for SC_PIN_ENCODING_GLP ... Regards François Leblanc. Fleblanc a écrit : After testing I'm happy with SCardControl it's work fine now,

Re: [opensc-devel] Problems with pkcs15

2009-03-10 Thread Fleblanc
Perhaps you can specify your own profile, so you can fixe exactly the location of your file... François Leblanc. Marc Rios Valles a écrit : > Hi, > > I am adapting the source code of a driver that works with opensc-0.11.4 > to works with opensc-0.11.7. I am having problems with the function > s

Re: [opensc-devel] ScardControl fail

2009-03-09 Thread Fleblanc
p |= 0x08 << 3; Of course I've a reader that work with bmFormatString = 0x41 and not with bmFormatString = 0x21 but it maybe an error on the firmware of this reader, I have only one king of reader for testing ... What do you think about this? Regards François Leblanc. Fleblanc a écri

Re: [opensc-devel] ScardControl fail

2009-03-09 Thread Fleblanc
Thank you , I will try it ... François Leblanc. Alon Bar-Lev a écrit : > Thank you, fixed in r3662. > And build-004 was released with this fix. > > Alon. > > On Wed, Feb 25, 2009 at 11:27 AM, Fleblanc > wrote: > >> Opensc release 0.11.6 >> >> Pl

Re: [opensc-devel] ScardControl fail

2009-03-06 Thread Fleblanc
ed by VisualC ? If someone can help. Regards François Leblanc. Fleblanc a écrit : > Opensc release 0.11.6 > > Platform Windows XP > > Reader XIRING CCID with pinpad > > > Two things: > > First when I connect this reader and other PCSC readers when I use > pkc

[opensc-devel] ScardControl fail

2009-02-25 Thread Fleblanc
Opensc release 0.11.6 Platform Windows XP Reader XIRING CCID with pinpad Two things: First when I connect this reader and other PCSC readers when I use pkcs15-tool I have the message "Card not present" In other word, the XIRING reader with pinpad must be alone to work... Second, I have a

Re: [opensc-devel] Version testing issue in pkcs15-syn.c

2009-02-18 Thread Fleblanc
Andreas Jellinghaus a écrit : > Hi, > > thanks for reporting this issue! > > did you find it by chance, or are you trying to use that code? > the code is meant for loading external drivers as shared > objects. But I'm not aware of any such driver, and I think > there was never a working driver u

[opensc-devel] Version testing issue in pkcs15-syn.c

2009-02-18 Thread Fleblanc
Hi there, I'm working with opensc release 0.11.6 Possible issue in file 'pkcs15-syn.c' function 'parse_emu_block' in line 245 /* try to get version of the driver/api */ get_version = (const char *(*)(void)) lt_dlsym(handle, "sc_driver_version"); if (!get_version ||

Re: [opensc-devel] Certificat in opensc.

2009-02-11 Thread Fleblanc
First thanks for your answer, In fact the problem is when I want to pu a certificat made by openssl in the card with command pkcs15-init.exe -U demoCA\newcerts\0108.pem --id 45 opensc answer [pkcs15-init] asn1.c:1207:asn1_decode: mandatory ASN.1 object 'validity' not found [pkcs15-init] asn1

[opensc-devel] Certificat in opensc.

2009-02-11 Thread Fleblanc
Hi there, I don't understand I'va put a certificat made by open in smartcard and get it back, when I try to convert this certificat on text form I got errors, look: C:\Appli\RetD\opensc\bin>openssl x509 -text -inform DER < certificatlue.der unable to load certificate 1148:error:0D07209B:asn