[opensc-devel] Multiple ACLs

2010-09-06 Thread Viktor TARASOV
Hi, 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. Authentication of an operation in pkc

[opensc-devel] itacns driver in WIndows

2010-09-06 Thread Viktor TARASOV
Hi, current trunk cannot be compiled with Visual Studio that do not supports the declaration of the variables inside the block after the first instruction. Actually it's the case in 'card-itacns' and 'pkcs15-itacns'. Kind wishes, Viktor. -- Viktor Tarasov ___

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

2010-09-06 Thread Viktor TARASOV
Aventra development wrote: Hi, I don’t have any objections on the change you proposed Andre. I have also prepared and attached to this message a patch, please review and commit. It adds the following features to the MyEID driver (based on trunk) includes also some fixes on whitespace: - Card

Re: [opensc-devel] [opensc-commits] svn opensc changed[4692] pkcs11: #250: refresh PIN counters and associated token flags on every call to C_GetTokenInfo

2010-09-06 Thread Viktor TARASOV
webmas...@opensc-project.org wrote: > Revision: 4692 > Author: martin > Date: 2010-09-05 16:53:08 + (Sun, 05 Sep 2010) > > Log Message: > --- > pkcs11: #250: refresh PIN counters and associated token flags on every call > to C_GetTokenInfo > > Modified: trunk/src/pkcs11/framework

Re: [opensc-devel] itacns driver in WIndows

2010-09-06 Thread Emanuele Pucciarelli
Will take care of that today or tomorrow, thanks for pointing this out! Best regards, Emanuele On Mon, Sep 6, 2010 at 09:18, Viktor TARASOV wrote: > Hi, > > current trunk cannot be compiled with Visual Studio > that do not supports the declaration of the variables > inside the block after the

Re: [opensc-devel] Logical Channels

2010-09-06 Thread Viktor TARASOV
Andre Zepezauer wrote: > Every modern Java card and in particular GlobalPlatform is capable of > doing so, if the applet implements javacard.framework.MultiSelectable. > Once I've tried to use it with the card that declares this possibility in its specification, but, in reality it was not (pro

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

2010-09-06 Thread Viktor TARASOV
Viktor TARASOV wrote: > Aventra development wrote: >> - PIN change and unblock (code added to MyEID driver, but it does not >> work with pkcs15-tool (does nothing), > There is little 'copy&past' issue in your patch. > It's corrected in r4682. Sorry, it's in r4693. __

Re: [opensc-devel] [opensc-commits] svn opensc changed[4692] pkcs11: #250: refresh PIN counters and associated token flags on every call to C_GetTokenInfo

2010-09-06 Thread Martin Paljak
Hello, On Sep 6, 2010, at 11:27 AM, Viktor TARASOV wrote: > webmas...@opensc-project.org wrote: >> Modified: trunk/src/pkcs11/framework-pkcs15.c >> +CK_RV C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) >> >> Modified: trunk/src/pkcs11/pkcs11-global.c >> -CK_RV C_GetTokenInfo(CK_SLOT_I

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

2010-09-06 Thread Johannes Becker
Am Donnerstag 02 September 2010 schrieb Martin Paljak: > > Please provide opensc-debug.log for TCOS2 for the failing transaction with > 0.12.0. If possible, also the successful log with 0.11.X might help. The logs are http://www.uni-giessen.de/~g013/opensc/report-bug.txt http://www.uni-giessen.d

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

2010-09-06 Thread Martin Paljak
Hello, On Sep 6, 2010, at 11:02 AM, Viktor TARASOV wrote: > Aventra development wrote: >> - PIN change and unblock (code added to MyEID driver, but it does not work >> with pkcs15-tool (does nothing), > There is little 'copy&past' issue in your patch. > It's corrected in r4682. The included pat

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

2010-09-06 Thread Martin Paljak
Hello, On Sep 6, 2010, at 2:05 PM, Johannes Becker wrote: > Am Donnerstag 02 September 2010 schrieb Martin Paljak: > >> >> Please provide opensc-debug.log for TCOS2 for the failing transaction with >> 0.12.0. If possible, also the successful log with 0.11.X might help. > > The logs are > http:

Re: [opensc-devel] [opensc-commits] svn opensc changed[4692] pkcs11: #250: refresh PIN counters and associated token flags on every call to C_GetTokenInfo

2010-09-06 Thread Viktor TARASOV
Martin Paljak wrote: > Hello, > > On Sep 6, 2010, at 11:27 AM, Viktor TARASOV wrote: > >> webmas...@opensc-project.org wrote: >> >>> Modified: trunk/src/pkcs11/framework-pkcs15.c >>> +CK_RV C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo) >>> >>> Modified: trunk/src/pkcs11/pkcs11-

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

2010-09-06 Thread Jan Just Keijser
more fun with the upcoming 0.12.0 release: - the only way I know how to initialize an Aladdin eToken PRO 32K with opensc is by using the openct driver; is there another way? - once I initialize an Aladdin eToken using opensc I can generate 2048 bit keys, add and delete objects etc. Everything w

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

2010-09-06 Thread Ludovic Rousseau
2010/9/6 Jan Just Keijser : > more fun with the upcoming 0.12.0 release: > > - the only way I know how to initialize an Aladdin eToken PRO 32K with > opensc is by using the openct driver; is there another way? Follow [1]. Maybe the token is CCID compliant. Bye [1] http://pcsclite.alioth.debian.o

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

2010-09-06 Thread Jan Just Keijser
Hi Ludovic, Ludovic Rousseau wrote: > 2010/9/6 Jan Just Keijser : > >> more fun with the upcoming 0.12.0 release: >> >> - the only way I know how to initialize an Aladdin eToken PRO 32K with >> opensc is by using the openct driver; is there another way? >> > > Follow [1]. Maybe the token i

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

2010-09-06 Thread Viktor TARASOV
Martin Paljak wrote: > Hello, > > On Sep 6, 2010, at 11:02 AM, Viktor TARASOV wrote: > > >> Aventra development wrote: >> >>> - PIN change and unblock (code added to MyEID driver, but it does not work >>> with pkcs15-tool (does nothing), >>> >> There is little 'copy&past' issue in

Re: [opensc-devel] SC_SEC_ENV_KEY_REF_ASYMMETRIC

2010-09-06 Thread Martin Paljak
Hello Andre, On Aug 20, 2010, at 2:02 AM, Andre Zepezauer wrote: > Hello Martin, > > according to your last post, here are my first suggestions for an > improvement: > > 1. Fix the SC_SEC_ENV_KEY_REF_ASYMMETRIC magic > See how this flag is used and where it is set! Do you have a patch for this?

Re: [opensc-devel] [opensc-commits] svn opensc changed[4692] pkcs11: #250: refresh PIN counters and associated token flags on every call to C_GetTokenInfo

2010-09-06 Thread Martin Paljak
Hello, On Sep 6, 2010, at 3:36 PM, Viktor TARASOV wrote: >> There are five options to deal with the legacy when implementing this >> feature: >> >> a) include pkcs15 specific headers in pkcs11-global.c. Would be a >> "violation" for the rest of those "global" functions as they currently are. >>

Re: [opensc-devel] [opensc-commits] svn opensc changed[4692] pkcs11: #250: refresh PIN counters and associated token flags on every call to C_GetTokenInfo

2010-09-06 Thread Viktor TARASOV
Martin Paljak wrote: > Hello, > On Sep 6, 2010, at 3:36 PM, Viktor TARASOV wrote: > >>> There are five options to deal with the legacy when implementing this >>> feature: >>> >>> a) include pkcs15 specific headers in pkcs11-global.c. Would be a >>> "violation" for the rest of those "global" fu

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

2010-09-06 Thread Ludovic Rousseau
2010/9/6 Jan Just Keijser : > Thanks for the quick response. I had the ccid driver installed yet > opensc/pcsc-lite did not recognize it - I guess this means the Aladdin > eToken PRO is (also) *NOT* CCID compliant. Time to update the wiki? Please, do not guess. Just follow the procedure as describ