Re: [opensc-devel] card->max_recv_size problem

2010-09-13 Thread Peter Koch
Hi Martin! 2010/9/13 Martin Paljak > > Should I set card->max_recv_size and card->max_send_size > > in tcos_init()? > > > No. Sorry, this place was erroneously left untouched and is fixed in SVN > trunk. Please verify that it works as expected. > Not yet! I had to replace line 122 of iso7816.c

Re: [opensc-devel] OpenSC 0.12.0 windows installer => 64bit?

2010-09-13 Thread Alon Bar-Lev
Available: http://www.opensc-project.org/downloads/users/alonbl/temp/opensc-i686-w64-mingw32-010-setup.exe http://www.opensc-project.org/downloads/users/alonbl/temp/opensc-x86_64-w64-mingw32-010-setup.exe On Mon, Sep 13, 2010 at 6:45 PM, Alon Bar-Lev wrote: > OK. > I have the images, hope it is w

Re: [opensc-devel] OpenSC 0.12.0 windows installer => 64bit?

2010-09-13 Thread Alon Bar-Lev
OK. I have the images, hope it is working. But using the svn to upload these takes forever, if someone has ssh account somewhere I will send it to him much quickly. On Mon, Sep 13, 2010 at 5:20 PM, Martin Paljak wrote: > > On Sep 13, 2010, at 6:02 PM, Alon Bar-Lev wrote: > >> Is opensc-0.12 relea

Re: [opensc-devel] OpenSC 0.12.0 windows installer => 64bit?

2010-09-13 Thread Martin Paljak
On Sep 13, 2010, at 5:38 PM, Jean-Michel Pouré - GOOZE wrote: >> Based on Google, visitors to opensc-project.org consist of ~60% >> Windows users, ~30% Linux users and ~10% Mac OS X users (57%, 27%, >> 12%), which is not a scientific fact or result of a study, but still >> shows something. > > D

Re: [opensc-devel] OpenSC 0.12.0 windows installer => 64bit?

2010-09-13 Thread Martin Paljak
On Sep 13, 2010, at 6:02 PM, Alon Bar-Lev wrote: > Is opensc-0.12 released? Or should I use trunk? You should use trunk. -- Martin Paljak @martinpaljak.net +3725156495 ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.ope

Re: [opensc-devel] OpenSC 0.12.0 windows installer => 64bit?

2010-09-13 Thread Alon Bar-Lev
Is opensc-0.12 released? Or should I use trunk? On Mon, Sep 13, 2010 at 4:40 PM, Alon Bar-Lev wrote: > I try to compile now. > > 2010/9/13 Jean-Michel Pouré - GOOZE >> >> > Based on Google, visitors to opensc-project.org consist of ~60% >> > Windows users, ~30% Linux users and ~10% Mac OS X user

Re: [opensc-devel] OpenSC 0.12.0 windows installer => 64bit?

2010-09-13 Thread Alon Bar-Lev
I try to compile now. 2010/9/13 Jean-Michel Pouré - GOOZE > > Based on Google, visitors to opensc-project.org consist of ~60% > > Windows users, ~30% Linux users and ~10% Mac OS X users (57%, 27%, > > 12%), which is not a scientific fact or result of a study, but still > > shows something. > > D

[opensc-devel] OpenSC 0.12.0 windows installer => 64bit?

2010-09-13 Thread Jean-Michel Pouré - GOOZE
> Based on Google, visitors to opensc-project.org consist of ~60% > Windows users, ~30% Linux users and ~10% Mac OS X users (57%, 27%, > 12%), which is not a scientific fact or result of a study, but still > shows something. Dear all, A user is asking us for a Windows 7 64bit OpenSC 0.12 installe

Re: [opensc-devel] Call for testing of the upcoming 0.12.0 release / PIN not asked

2010-09-13 Thread Martin Paljak
Hello, On Sep 13, 2010, at 12:04 PM, Martin Paljak wrote: >> I just did a quick "grep LOGIN_REQUIRED *.c" and it seems that only >> the WestCOS and OpenPGP emulations set LOGIN_REQUIRED >> while all other emulation-routines don't. > > CKF_LOGIN_REQUIRED from PKCS#11 (which is the flag missing in

Re: [opensc-devel] Call for testing of the upcoming 0.12.0 release

2010-09-13 Thread Martin Paljak
Hello. From your log I see that the user PIN is marked as unblocking PIN: PIN [PIN] Com. Flags: 0x3 ID: 01 Flags : [0x51], case-sensitive, initialized, unblockingPin Length: min_len:6, max_len:16, stored_len:16 Pad char : 0x00 Refer

Re: [opensc-devel] Call for testing of the upcoming 0.12.0 release

2010-09-13 Thread Johannes Becker
Hi, now I detected another flaw in 0.12.0: After some idle time the browser seems to forget completely about the chip card. If you request an encrypted web page, a ssl handshake error is displayed. For production purposes I'm now returning to opensc2 0.11.4-5+lenny1, the last opensc working wit

Re: [opensc-devel] OpenSC-0.12 and Spanish DNIe

2010-09-13 Thread resoli - libero
Il giorno mer, 08/09/2010 alle 22.26 +0200, jons...@terra.es ha scritto: ... > > I'm very curious about SM in DNIe , is it used in normal operations > by > > the card holder (passing PIN, PKCS1 encryption) ? > Yes. Ok, the same happens for italian CNS cards. > > In that case, SM uses symmetric c

Re: [opensc-devel] Problem with 2K keys and MyEID

2010-09-13 Thread Viktor TARASOV
Viktor TARASOV wrote: Aventra development wrote: pkcs11-tool works, but pkcs#11 module does not when using Firefox). Other problems with firefox is that certificate enrollment does not work when using the pkcs#11 module, e.g. when using this site: pkitest.gdm.de/starsign Actually in MyEID

Re: [opensc-devel] Rv: OpenSC-0.12.0 and Spanish DNIe

2010-09-13 Thread jons...@terra.es
Mensaje original > De: alejandro@gmail.com > Fecha: 12/09/2010 12:09 > Para: > Asunto: Re: [opensc-devel] Rv: OpenSC-0.12.0 and Spanish DNIe > 2010/9/10 jons...@terra.es : > > I've checked this behaviour in the same computer and three different card > > readers: > > ( Dell Studio

Re: [opensc-devel] Multiple ACLs

2010-09-13 Thread Viktor TARASOV
Viktor TARASOV wrote: > actually pkcs15init takes into account the possibility of multiple ACLs for > one operation. > Is it really used? > > Multiple ACLs appear as linked list associated to operation, for example, > when loading generic profile 'pkcs15' and then the card specific one. > More

[opensc-devel] OpenSC and Visual Studio

2010-09-13 Thread JEAN Guillaume
Hello, I created a Visual Studio 2010 solution for OpenSC. It can use the debug mode with breakpoints. And also out a release. I try to make this version to be usable by all people without much change in configuration of Visual Studio. I am trying to do the documentation for installing and us

Re: [opensc-devel] Call for testing of the upcoming 0.12.0 release / PIN not asked

2010-09-13 Thread Martin Paljak
Hello, On Sep 12, 2010, at 7:46 PM, Peter Koch wrote: > pkcs15-tcos.c has not been modified for a long time (except some > minor cosmetic changes). So something else must have changed. Correct. > I just did a quick "grep LOGIN_REQUIRED *.c" and it seems that only > the WestCOS and OpenPGP emulat

Re: [opensc-devel] MyEID microSD

2010-09-13 Thread Peter Stuge
Martin Paljak wrote: > If the microSD interface will be vendor specific, I think it is, sorta. > there will be a need for something like OpenCT, which will not be > very nice. Yes. > Something similar to what CCID is for USB is needed for microSD, so > that support could exist without (binar

Re: [opensc-devel] MyEID microSD

2010-09-13 Thread Anders Rundgren
Martin Paljak wrote: > On Sep 12, 2010, at 8:42 PM, Peter Koch wrote: >> I got two testcards from certgate in 2008. One was java-based >> and one contained a TCOS3-chip. They were planning to offer >> an ifd-handler for linux. Since OpenSC has TCOS3 support this >> microSD-card might work in combin

Re: [opensc-devel] MyEID microSD

2010-09-13 Thread Martin Paljak
On Sep 12, 2010, at 8:42 PM, Peter Koch wrote: > I got two testcards from certgate in 2008. One was java-based > and one contained a TCOS3-chip. They were planning to offer > an ifd-handler for linux. Since OpenSC has TCOS3 support this > microSD-card might work in combination with PCSClite and a >

Re: [opensc-devel] Fix Bug Cardmod

2010-09-13 Thread Viktor TARASOV
JEAN Guillaume wrote: > Hello, > > > > Here is a patch that fixes the problem debug level 9 in the cardmod. Two > small error in the function parameter. > Thank you for the patch, it has been applied in r4701. > Sincerlly, > GJean > Kind wishes, Viktor. > > > > >

Re: [opensc-devel] card->max_recv_size problem

2010-09-13 Thread Martin Paljak
Hello, On Sep 13, 2010, at 12:19 AM, Peter Koch wrote: > tcos_init() does NOT set card->max_recv_size and therefore > some default value (i.e. 256) was used. > > With current svn this does not work anymore. sc_read_binary() > checks wether count > card->max_recv_size and then tries > to read count

Re: [opensc-devel] 'max_recv_size' and 'Le'

2010-09-13 Thread Viktor TARASOV
Martin Paljak wrote: > On Sep 7, 2010, at 4:56 PM, Viktor TARASOV wrote: > > I suggest to let card drivers blindly set max sizes and only further limit > them in card.c if reader has also limitations. I do not have deep insight into the readers capacities, but for me it looks like an optimal solu