EldoS | Feel safer!

Software components for data protection, secure storage and transfer

PKCS#11 error code 48

Posted: 02/18/2008 02:13:29
by Zane LEO (Standard support level)
Joined: 04/16/2006
Posts: 8

I have reinstalled then latest SBB v 4.x (thanks Eugene) on Delphi 7.

I have a Rainbow iKey 201 that, using your "CryptoTokenDemo.dpr" application encrypts with no error but when I try to decrypt the encrypted file generates the following error.

'PKCS#11 error (error code 48)' during debug with a user displayed error dialog "The file could no be decrypted. Most likely file was changed or is corrupt"

Help please...


Posted: 02/18/2008 08:15:23
by Eugene Mayevski (Team)

We have rewritten and improved PKCS#11 in SBB5, so all I can say is "try SBB 6". I've done a quick test with my eToken and it exposed no problems. We have a Rainbow key somewhere so I will ask the developers to check it too.

Sincerely yours
Eugene Mayevski
Posted: 02/18/2008 08:30:29
by Dmytro Bogatskyy (Team)

It works as expected with Rainbow iKey 1000 token in SBB v6.
Posted: 02/18/2008 14:55:29
by Zane LEO (Standard support level)
Joined: 04/16/2006
Posts: 8

Since posting the problem I have downloaded SBB6 and installed it.

The problem is exactly the same.

The Rainbow keys I must use are iKey 2000 series (2010 and 2032)
Posted: 02/19/2008 01:57:42
by Eugene Mayevski (Team)

Looks like either the device or the drivers have changed processing of the data in some way. It can be incorrect padding handling or requirement for some explicit ASN.1 tag etc..
We will download and check their latest drivers. I can't say at the moment whether we purchase the key itself.

Sincerely yours
Eugene Mayevski



Topic viewed 3945 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!