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 > 32f153f3e37990b08624141077ca5dec2d15faed -y pubkey --login -v > Using slot 1 with a present token (0x1) > Logging in to "Nikos Mavrogiannopoulos (User PI". > Please enter User PIN: > error: PKCS11 function C_DestroyObject() failed: rv = CKR_GENERAL_ERROR > (0x5) > > Aborting." > > 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. Regards Andre _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel