[opensc-devel] add new public key algorithm (GOSTR3410)

2009-09-21 Thread Aktiv Co. Aleksey Samsonov
Hello! I propose a patch for add GOST R 34.10-2001 algorithm (only PKCS#11 for the present). PKCS#11 and GOST: ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-30/pkcs-11v2-30m1-d7.pdf This patch is first step. If it OK, I'll do: - cleanup code - add support to tools (pkcs15-init pkcs15-tool pkcs1

Re: [opensc-devel] Patch to fix pkcs11 access with multiple PINs

2009-09-21 Thread Ludovic Rousseau
2009/9/21 Andreas Jellinghaus : > Am Sonntag 20 September 2009 17:25:59 schrieb Martin Paljak: >> Hmm, that is an interesting idea. It would also have to include scconf >> which currently is distributed separately, but then again is also used >> by other software like pam_pkcs11 for example. > > ye

Re: [opensc-devel] Patch to fix pkcs11 access with multiple PINs

2009-09-21 Thread Andreas Jellinghaus
Am Montag 21 September 2009 10:24:05 schrieb Alon Bar-Lev: > You *CAN* use the OpenSSH PKCS#11 patch *WITHOUT* OpenSSH X.509 patch. sorry, I had forgotten about that. Andreas ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www

Re: [opensc-devel] Patch to fix pkcs11 access with multiple PINs

2009-09-21 Thread Alon Bar-Lev
On Mon, Sep 21, 2009 at 11:08 AM, Andreas Jellinghaus wrote: > I wouldn't like to kill opensc support in openssh, unless we have a > lightwight patch to enable it with pkcs#11. (i.e. not a patch that > adds full x.509 stuff. I know you have one that does this, but for > me it's not simple enough,

Re: [opensc-devel] Patch to fix pkcs11 access with multiple PINs

2009-09-21 Thread João Poupino
Hi everyone, On Sep 21, 2009, at 9:08, Andreas Jellinghaus wrote: > I wouldn't like to kill opensc support in openssh, unless we have a > lightwight patch to enable it with pkcs#11. (i.e. not a patch that > adds full x.509 stuff. I know you have one that does this, but for > me it's not simple en

Re: [opensc-devel] Patch to fix pkcs11 access with multiple PINs

2009-09-21 Thread Andreas Jellinghaus
Am Montag 21 September 2009 08:43:16 schrieb Alon Bar-Lev: > On Sun, Sep 20, 2009 at 6:25 PM, Martin Paljak wrote: > > > not sure if the changes we have so far break ABI. but if we break ABI, > > > then I favor to merge libopensc, libpkcs15init and opensc-pcks11.so > > > into one library / shared

Re: [opensc-devel] Patch to fix pkcs11 access with multiple PINs

2009-09-21 Thread Andreas Jellinghaus
Am Sonntag 20 September 2009 17:25:59 schrieb Martin Paljak: > Hmm, that is an interesting idea. It would also have to include scconf > which currently is distributed separately, but then again is also used > by other software like pam_pkcs11 for example. yes, but don't they use a copy of the code

Re: [opensc-devel] [opensc-user] Gemalto Classic TPC IM

2009-09-21 Thread Andreas Jellinghaus
Am Donnerstag 22 Mai 2008 15:42:19 schrieb Georges Bart: > > I bought a card from gemalto (Classic TPC IM) and I've got some problem > > to interact with it and opensc. > > I think your card is using the GemSafe v2 applet with a PKCS#15 mapping. > > I sent a patch last year to try to support this c

[opensc-devel] westcos_select_file and iso7816_select_file

2009-09-21 Thread Aktiv Co. Aleksey Samsonov
Hello! I propose a patch for src/libopensc/card-westcos.c if it's working. src/libopensc/card-westcos.c:westcos_select_file: 309:case SC_PATH_TYPE_PATH: apdu.p1 = 9;// Why is it needed? ("9" ?) 336:if (file_out != NULL) { apdu.resp = buf;