Re: [opensc-devel] opensc + destroy object via PKCS #11

2010-11-05 Thread Nikos Mavrogiannopoulos
On 11/04/2010 09:46 PM, Nikos Mavrogiannopoulos wrote: I'm trying to destroy an object I created on a Feitian PKI smart card using pkcs11 calls. My result is CKR_GENERAL_ERROR. I can reproduce it using the pkcs11-tool: On the Feitian PKI and most smartcards, objects cannot be deleted, per

[opensc-devel] opensc + destroy object via PKCS #11

2010-11-04 Thread Nikos Mavrogiannopoulos
Hello, I'm trying to destroy an object I created on a Feitian PKI smart card using pkcs11 calls. My result is CKR_GENERAL_ERROR. I can reproduce it using the pkcs11-tool: $ pkcs11-tool --delete-object --id 32f153f3e37990b08624141077ca5dec2d15faed -y pubkey --login -v Using slot 1 with a present

Re: [opensc-devel] opensc + destroy object via PKCS #11

2010-11-04 Thread Andre Zepezauer
On Thu, 2010-11-04 at 18:37 +0100, Nikos Mavrogiannopoulos wrote: Hello, I'm trying to destroy an object I created on a Feitian PKI smart card using pkcs11 calls. My result is CKR_GENERAL_ERROR. I can reproduce it using the pkcs11-tool: $ pkcs11-tool --delete-object --id

Re: [opensc-devel] opensc + destroy object via PKCS #11

2010-11-04 Thread Jean-Michel Pouré - GOOZE
Le jeudi 04 novembre 2010 à 18:37 +0100, Nikos Mavrogiannopoulos a écrit : I'm trying to destroy an object I created on a Feitian PKI smart card using pkcs11 calls. My result is CKR_GENERAL_ERROR. I can reproduce it using the pkcs11-tool: On the Feitian PKI and most smartcards, objects

Re: [opensc-devel] opensc + destroy object via PKCS #11

2010-11-04 Thread Andre Zepezauer
Hello Jean-Michel, are these cards native cards with file system and PKCS#15 data structures or are they emulated? Nevertheless, in both cases an access control rule DELETE := NEVER would be more helpful. But I have to investigate if OpenSC supports this. Regards Andre On Thu, 2010-11-04 at

Re: [opensc-devel] opensc + destroy object via PKCS #11

2010-11-04 Thread Martin Paljak
Hello, On Nov 4, 2010, at 8:05 PM, Jean-Michel Pouré - GOOZE wrote: Le jeudi 04 novembre 2010 à 18:37 +0100, Nikos Mavrogiannopoulos a écrit : I'm trying to destroy an object I created on a Feitian PKI smart card using pkcs11 calls. My result is CKR_GENERAL_ERROR. I can reproduce it using

Re: [opensc-devel] opensc + destroy object via PKCS #11

2010-11-04 Thread Nikos Mavrogiannopoulos
On 11/04/2010 06:56 PM, Andre Zepezauer wrote: If there is any additional help I can provide on that please let me know. $export OPENSC_DEBUG=9 $pkcs11-tool [options] 2 file.log But be aware of the fact, that your pin will be included in the log file. There was no additional output with

Re: [opensc-devel] opensc + destroy object via PKCS #11

2010-11-04 Thread Nikos Mavrogiannopoulos
On 11/04/2010 07:05 PM, Jean-Michel Pouré - GOOZE wrote: Le jeudi 04 novembre 2010 à 18:37 +0100, Nikos Mavrogiannopoulos a écrit : I'm trying to destroy an object I created on a Feitian PKI smart card using pkcs11 calls. My result is CKR_GENERAL_ERROR. I can reproduce it using the