Re: [opensc-devel] New Italian CNS/eID patch

2010-08-16 Thread Andre Zepezauer
On Tue, 2010-08-17 at 02:08 +0200, Emanuele Pucciarelli wrote: > On Tue, Aug 17, 2010 at 00:59, Andre Zepezauer > This particular card isn't important at all. But it shows, that the > > select_file function doesn't work for an iso card. I had to write code, > > to read the contents of this one. Bu

Re: [opensc-devel] New Italian CNS/eID patch

2010-08-16 Thread Emanuele Pucciarelli
On Tue, Aug 17, 2010 at 00:59, Andre Zepezauer This particular card isn't important at all. But it shows, that the > select_file function doesn't work for an iso card. I had to write code, > to read the contents of this one. But I really would like to use > opensc-explorer for such a task. For exa

Re: [opensc-devel] New Italian CNS/eID patch

2010-08-16 Thread Andre Zepezauer
On Mon, 2010-08-16 at 21:10 +0200, Emanuele Pucciarelli wrote: > Hi Andre! > > Thanks for the remarks! > > > It works very well, right now. I have a modified cardos driver, which > > uses both functions (signing and decipherment from iso7816.c) with keys > > of 2048 bit. Seems to me, that there i

Re: [opensc-devel] New Italian CNS/eID patch

2010-08-16 Thread Emanuele Pucciarelli
Hi Andre! Thanks for the remarks! > It works very well, right now. I have a modified cardos driver, which > uses both functions (signing and decipherment from iso7816.c) with keys > of 2048 bit. Seems to me, that there is nothing to be done here. Good to hear. Are you using reader-pcsc? > @mart

Re: [opensc-devel] New Italian CNS/eID patch

2010-08-16 Thread Andre Zepezauer
On Sun, 2010-08-15 at 17:11 +0300, Martin Paljak wrote: > On Aug 15, 2010, at 4:21 PM, Emanuele Pucciarelli wrote: > > On Sun, Aug 15, 2010 at 13:45, Martin Paljak wrote: > >> iso7816.c should not be taken as a final, static code, if there are checks > >> missing from there, it is OK to improve i

Re: [opensc-devel] [PATCH] fix buffer overflow in pkcs15-itacns.c

2010-08-16 Thread Ludovic Rousseau
2010/8/16 Emanuele Pucciarelli : > Hi Kalev, > >> gcc warns about a potential buffer overflow: > > […] > > Thanks! I'll fix that in both places (lines 540 and 552). > > To be honest, no overflow should ever happen, as the label is always a > static string; nevertheless, those lines are ugly, and I

Re: [opensc-devel] [PATCH] fix buffer overflow in pkcs15-itacns.c

2010-08-16 Thread Emanuele Pucciarelli
Hi Kalev, > gcc warns about a potential buffer overflow: […] Thanks! I'll fix that in both places (lines 540 and 552). To be honest, no overflow should ever happen, as the label is always a static string; nevertheless, those lines are ugly, and I think gcc is right in complaining about that. :)

[opensc-devel] [PATCH] fix buffer overflow in pkcs15-itacns.c

2010-08-16 Thread Kalev Lember
gcc warns about a potential buffer overflow: In file included from /usr/include/string.h:642:0, from pkcs15-itacns.c:38: In function 'strncat', inlined from 'itacns_add_keyset.clone.3' at pkcs15-itacns.c:540:9: /usr/include/bits/string3.h:154:3: warning: call to __builtin___

Re: [opensc-devel] new versions

2010-08-16 Thread Kalev Lember
On 06/09/2010 09:17 PM, Martin Paljak wrote: > On May 26, 2010, at 23:21 , Andreas Jellinghaus wrote: >> are there any plans for new version? >> * what happend to opensc 0.11.*? I thought the problem with >> gost / engine_pkcs11 is so big, it should be fixed in >> the 0.11 line to help normal u