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

2010-09-12 Thread Andre Zepezauer
> > What is the output of pkcs11-tool -L ? > > Does it include for your slot: > > token flags: rng, readonly, ***login required***, PIN initialized, > > token initialized ? > > Yes, there is the point. "login required" is not shown in version 0.12. @Johannes: Apply this patch locally, and eve

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

2010-09-12 Thread Peter Koch
@Johannes: > Apply this patch locally, and everything should work fine. BTW the > unicard support was added by Peter Koch [1]. Maybe you want to contact > him for an upstream patch. > pkcs15-tcos.c has not been modified for a long time (except some minor cosmetic changes). So something else must

Re: [opensc-devel] MyEID microSD

2010-09-12 Thread Peter Koch
Hi Andre! Have a look at: http://www.certgate.com/index.php?id=71 Certgate was the first company that offered smart cards built into microSD cards. 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.

[opensc-devel] card->max_recv_size problem

2010-09-12 Thread Peter Koch
Hi! 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 bytes in chunks of card->max_recv_size. If card->max_recv_siz