Re: [opensc-devel] implementation of the function C_DestroyObject

2007-02-20 Thread Nils Larsch
Service Développement wrote: ... According to your various remarks, i have changed the source code like this : - I deleted the added flags field of sc_pkcs15init_dataargs structure and i used the auth_id field in the place of it. - I modified the label management. So the "patch_creatio

Re: [opensc-devel] implementation of the function C_DestroyObject

2007-02-06 Thread Service Développement
Nils Larsch a écrit : what about this quick hack in sc_pkcs15init_new_object() Index: src/pkcs15init/pkcs15-lib.c === --- src/pkcs15init/pkcs15-lib.c (Revision 3115) +++ src/pkcs15init/pkcs15-lib.c (Arbeitskopie) @@ -2711,6

Re: [opensc-devel] implementation of the function C_DestroyObject

2007-02-03 Thread Nils Larsch
Service Développement wrote: ... I agree with you that objects are created with PIN protection if auth_id is empty. But, it's not the goal of this modification. The pkcs#11 documentation says that "The common Objects attributes CKA_CLASS, CKA_TOKEN, CKA_PRIVATE, CKA_LABEL must be specified whe

Re: [opensc-devel] implementation of the function C_DestroyObject

2007-02-02 Thread Nils Larsch
Service Développement wrote: ... I agree with you that objects are created with PIN protection if auth_id is empty. But, it's not the goal of this modification. ^ a 'not' is missing here The pkcs#11 documentation says that "The common Objects attributes CKA_CLASS, CKA_TOKEN, CKA_PRIVATE,

Re: [opensc-devel] implementation of the function C_DestroyObject

2007-02-02 Thread Service Développement
Nils Larsch a écrit : Service Développement wrote: ... Index: E:/Sources/opensc/svn_trunk/src/pkcs15init/pkcs15-init.h === --- E:/Sources/opensc/svn_trunk/src/pkcs15init/pkcs15-init.h    (r‚vision 3114) +++ E

Re: [opensc-devel] implementation of the function C_DestroyObject

2007-02-01 Thread Nils Larsch
Service Développement wrote: ... Index: E:/Sources/opensc/svn_trunk/src/pkcs15init/pkcs15-init.h === --- E:/Sources/opensc/svn_trunk/src/pkcs15init/pkcs15-init.h(r‚vision 3114) +++ E:/Sources/opensc/svn_trunk/src/pkcs15init/pkcs1

Re: [opensc-devel] implementation of the function C_DestroyObject

2007-01-26 Thread Service Développement
Hi all, This is the patch about creation and destruction data objects with OpenSC PKCS#11 library. I test it with Alladin eToken PRO 32K. I hopes that it's correct ;-) -- sig_pro.html Vincent WYON   Dhimyotis 5 allée des écuries 59650 Villeneuve d'ascq tél.   : 03 20 79 24 09 www.dhi

Re: [opensc-devel] implementation of the function C_DestroyObject

2007-01-25 Thread Peter Stuge
Hello, On Thu, Jan 25, 2007 at 04:14:40PM +0100, Service Développement wrote: > We would like to participate to the OpenSC project, That's why we would > like to know if it was possible to validate this code, and if it was > possible to integrate it into the project. This depends on the quality.

[opensc-devel] implementation of the function C_DestroyObject

2007-01-25 Thread Service Développement
Hi all, We are testing the "Alladin eToken PRO" tokens in order to store some data in it ( login/password, sso data...), from the OpenSC PKCS#11 library. We are already storing some certificates and  theirs keys. We added, in the various libraries (p11 and p15) the code corresponding to the m