NCryptoki

 

Intermittent -1879048193 errors

9/26/2013 7:21:30 PM
Gravatar
Total Posts 5

Intermittent -1879048193 errors

We are talking to a Thales HSM device.  We recently made some software changes and suddenly we are getting -1879048193 errors about half of the time we try to use the HSM to decrypt.

 

Can anyone share any thoughts about what I should look into?  Could we be having too many connections possibly?  Closing things too quickly?  Bad config value for our HSM or our cryptware setup, etc?

 

I greatly appreciate any help you can share!

*Phil

9/26/2013 9:52:41 PM
Gravatar
Total Posts 5

Re: Intermittent -1879048193 errors

More info:

The line of code causing this large numeric error follows:

otext = _hsmSession.Decrypt(Hex2Byte(cipherText));

 

(I'm checking out the Hex2Byte function just in case)

 

Thanks!

*Phil

9/30/2013 7:54:30 PM
Gravatar
Total Posts 300
Ugo Chirico http://www.ugochirico.com

Re: Intermittent -1879048193 errors

error -1879048193 (ox8FFFFFFF) means CKR_INTERNAL_PKCS11_ERROR

it may occur internally to the underlying PKCS#11 module or may occur because the data passed to Decrypt function is wrong.

 

You can try also with the new version that you find in the download section.

 

let's know...

http://www.ncryptoki.com/Forums/Thread.aspx?pageid=9&t=126~1