[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

[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 viktor.tara...@opentrust.com

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: -

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 viktor.tara...@opentrust.com wrote: Hi, current trunk cannot be compiled with Visual Studio that do not supports the declaration of the variables

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

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 'copypast' 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_ID slotID,

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

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 'copypast' issue in your patch. It's corrected in r4682. The included patch does

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

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-global.c -CK_RV

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

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 janj...@nikhef.nl: 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]

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 'copypast' issue in your patch. It's

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. But could be

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 functions as they

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 janj...@nikhef.nl: 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