On Tue, Jan 13, 2015 at 12:00 PM, Opa114 <opa...@gmail.com> wrote:

> thanks again. i have compared my code woth your peace of code you posted
> and i have the same. But i still get the Error: CKR_DEVICE_ERROR
>
CKR_DEVICE_ERROR is an error on the cryptoki itself, as stated by PKCS#11
standard.
I have found several times this error when using buggy smartcards, but
IIRC, never with softkn


i loaded the dll's in your posted order. i copied the dll's to
> C:\users\myname\AppData\Local\Temp Folder. the Mozilla Profile folder is
> right, too. so don't know where the problem is.
>
Hope you copied before loading them on the new location ;)


i read so many documents on the internet, but i found no one which handles
> CKR_DEVICE_ERROR in any good and deep way.
>
> Could it be a problem with the dll-Files? From where did you get the dll's
> and wich version have they? (maybe you could send them to me?)
>
Don't think so. These dll are in the firefox folder. As far as i can
understand, theres no sense to send my dlls to you...they shall be the same

Send me a self-contained fully executable hello world/main/test.java and i
can run it against my system, trying to find whats happening.
I think is better to work with your simple use-case/code, instead of
sending you my complex code (lot of classes involved)



> do you think it could be a try to use JSS? but you wrote that JSS sucks.

I dont recommend you that. If you surrender after first fall, you'll never
win.



> i only have to access the keystore and to read out the certificates and to
> delete the certificates and maybe show the private/public keys from some
> certificates.
>
If you aren't going to sign/decrypt..., I suggest you using certutil.


If this start to become a personal conversation, maybe is better to happen
off-list.
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to