Re: [opensc-devel] Let ePass3000 work with OpenCT

2010-02-23 Thread Andreas Jellinghaus
commited in change 1185 in trunk. Thanks, Andreas ___ opensc-devel mailing list [email protected] http://www.opensc-project.org/mailman/listinfo/opensc-devel

Re: [opensc-devel] Let ePass3000 work with OpenCT

2010-02-23 Thread Andreas Jellinghaus
Am Sonntag 21 Februar 2010 12:03:47 schrieb Xiaoshuo Wu: > Sorry, I missed something in my first patch, here is the new one: ok, thanks. but I'm still not sure: does this fix a general bug in T0 implementation that affects all readers? Or is this a special case for entersafe only? I don't know T

Re: [opensc-devel] Possible issue with pkcs15 emulation

2010-02-23 Thread Viktor TARASOV
François Leblanc wrote: >> Index: pkcs15-syn.c >> === >> --- pkcs15-syn.c (revision 4063) >> +++ pkcs15-syn.c (working copy) >> @@ -316,6 +316,8 @@ >> sc_pkcs15_pin_info_t pin = *in_pin; >> >> pin.magic = SC_PKCS15_

Re: [opensc-devel] [opensc-user] OpenCT - Error: can 't open /var/run/openct/status: No such file or directory

2010-02-23 Thread Andreas Jellinghaus
Am Dienstag 23 Februar 2010 17:09:18 schrieb Carlos Rodrigues: > Hi!, > > I didn't go on because refers "At system boot, openct needs to create a > status file and start a process for every permanent connected reader". > > I don't have a permanent connected reader. > > So only need do " cp etc/

Re: [opensc-devel] Possible issue with pkcs15 emulation

2010-02-23 Thread François Leblanc
> > Index: pkcs15-syn.c > === > --- pkcs15-syn.c (revision 4063) > +++ pkcs15-syn.c (working copy) > @@ -316,6 +316,8 @@ > sc_pkcs15_pin_info_t pin = *in_pin; > > pin.magic = SC_PKCS15_PIN_MAGIC; > + if (!pi

Re: [opensc-devel] Possible issue with pkcs15 emulation

2010-02-23 Thread Viktor TARASOV
Martin Paljak wrote: > On Feb 23, 2010, at 14:18 , Viktor TARASOV wrote: > >> Maybe, for the first one the specially dedicated macros should be defined. >> > First what? Please explain. > I mean the macros for the possible values of AUTH object authentication method. > >> In fact,

Re: [opensc-devel] Possible issue with pkcs15 emulation

2010-02-23 Thread Martin Paljak
On Feb 23, 2010, at 14:40 , François Leblanc wrote: > > No objections? Yes. The wrappers in pcks15-syn.c are supposed to simplify the creation of PKCS#15 emulation drivers. Until other than PIN authentication is implemented, it is safe to say that the _add_pin_object wrapper can set the auth

Re: [opensc-devel] Possible issue with pkcs15 emulation

2010-02-23 Thread Viktor TARASOV
François Leblanc wrote: > Ok so Can I apply joined patch? Tested only with Westcos Card... > As for me, 'yes, you can'. Later, probably, we will introduce specially dedicated macros for the PIN auth. method values . > François. > > > --

Re: [opensc-devel] Possible issue with pkcs15 emulation

2010-02-23 Thread Martin Paljak
On Feb 23, 2010, at 14:18 , Viktor TARASOV wrote: > Maybe, for the first one the specially dedicated macros should be defined. First what? Please explain. > In fact, by definition, the authentication method of the AUTH PKCS#15 > object cannot be SC_AC_NONE (method 'not none' is it's reason for >

Re: [opensc-devel] Possible issue with pkcs15 emulation

2010-02-23 Thread François Leblanc
Ok so Can I apply joined patch? Tested only with Westcos Card... Hope I forget nobody... No objections? François. emulation-set-auth-method.patch Description: Binary data smime.p7s Description: S/MIME cryptographic signature ___ opensc-devel m

Re: [opensc-devel] Possible issue with pkcs15 emulation

2010-02-23 Thread Viktor TARASOV
Martin Paljak wrote: > On Feb 23, 2010, at 12:39 , Viktor TARASOV wrote: > >> François Leblanc wrote: >> >>> Hello Victor, >>> >>> I’m playing with opensc and find that when we use pkcs15 emulation >>> sc_pkcs15_verify_pin fails, >>> >>> this is due to 'auth_method' not set by emulation lay

Re: [opensc-devel] Possible issue with pkcs15 emulation

2010-02-23 Thread Martin Paljak
On Feb 23, 2010, at 12:39 , Viktor TARASOV wrote: > François Leblanc wrote: >> Hello Victor, >> >> I’m playing with opensc and find that when we use pkcs15 emulation >> sc_pkcs15_verify_pin fails, >> >> this is due to 'auth_method' not set by emulation layer (and use to be set >> by 'sc_pkcs15_ve

Re: [opensc-devel] Possible issue with pkcs15 emulation

2010-02-23 Thread Viktor TARASOV
François Leblanc wrote: > Hello Victor, > > I’m playing with opensc and find that when we use pkcs15 emulation > sc_pkcs15_verify_pin fails, > > this is due to 'auth_method' not set by emulation layer (and use to be set > by 'sc_pkcs15_verify_pin' > > before changeset 4048). For real pkcs15 card it

[opensc-devel] Possible issue with pkcs15 emulation

2010-02-23 Thread François Leblanc
Hello Victor, I’m playing with opensc and find that when we use pkcs15 emulation sc_pkcs15_verify_pin fails, this is due to 'auth_method' not set by emulation layer (and use to be set by 'sc_pkcs15_verify_pin' before changeset 4048). For real pkcs15 card it seems that 'sc_pkcs15_decode_aodf_ent

Re: [opensc-devel] Problems (bug?) in engine_pkcs11 ver 0.1.5

2010-02-23 Thread Andreas Jellinghaus
Am Dienstag 23 Februar 2010 09:50:50 schrieb Ubi - opensc: > Don't kill me for being so late, I'm really sorry I couldn't check before! no problem. > I'm currently testing the latest version of engine_pkcs11 and the > problem seems to be correctly fixed. > Just to refresh anyone's memory, the err

Re: [opensc-devel] Problems (bug?) in engine_pkcs11 ver 0.1.5

2010-02-23 Thread Ubi - opensc
Andreas Jellinghaus wrote: > hi Ubi, > > can you try the new engine_pkcs11 version released today? > I fixed a bug, maybe it was related to the issue you saw. > > the new engine_pkcs11 needs the latest libp11, also released > today. > > Regards, Andreas > > Don't kill me for being so late, I'