EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Signed data saving failed

Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
#15533
Posted: 01/18/2011 07:57:49
by Kiril Drumev (Standard support level)
Joined: 12/28/2010
Posts: 24

Hello,
I'm geting too often 'Signed data saving failed. (Signing failed: Failed to acquire key context).'.
Can you advise how this can be avoided? Am I doing something wrong?
Thanks.

Kiril Drumev
#15534
Posted: 01/18/2011 08:04:12
by Eugene Mayevski (EldoS Corp.)

Too little information. Please specify all of the following:

1) Version and EDITION of Secureblackbox
2) Version of Windows and whether the system is 32-bit or 64-bit
3) What components are you using for signing?
4) Where are the certificates taken from (Windows, File, smartcard/cryptotoken)?
5) What certificate storage component is used to access the certificate?


Sincerely yours
Eugene Mayevski
#15535
Posted: 01/18/2011 08:25:46
by Kiril Drumev (Standard support level)
Joined: 12/28/2010
Posts: 24

1. SecureBlackbox - version 8.1.191 - Released November 8, 2010
2. Windows XP SP3 32-bit
3. TElXMLSigner
4. From Charismathics USB cryptotoken.
5. Should be TElX509Certificate. I'm using the the Sign function from the Delphi example project SimpleSigner

Kiril
#15537
Posted: 01/18/2011 08:50:18
by Eugene Mayevski (EldoS Corp.)

5. I was asking about storage component. TEl???CertStorage.


Sincerely yours
Eugene Mayevski
#15538
Posted: 01/18/2011 09:10:36
by Kiril Drumev (Standard support level)
Joined: 12/28/2010
Posts: 24

Sorry, the component is TElWinCertStorage.

Kiril
#15539
Posted: 01/18/2011 09:27:06
by Eugene Mayevski (EldoS Corp.)

I have a deja-vu -- this question was discussed before and the problem was in CryptoAPI driver of the device. Try using TElPKCS11CertStorage class to access the device and see if the problem persists. If the problem is gone, then the issue is in the driver and this is beyond our and your control. If the problem persists with TElPKCS11CertStorage, we will most likely be able to track it down.


Sincerely yours
Eugene Mayevski
#15540
Posted: 01/18/2011 09:34:24
by Kiril Drumev (Standard support level)
Joined: 12/28/2010
Posts: 24

Thanks.
DO you have a sample of how the one component can be replace with the other, because I'm using the SelWinCertForm from the Delphi example project SimpleSigner?

Kiril
#15541
Posted: 01/18/2011 09:42:15
by Vsevolod Ievgiienko (EldoS Corp.)

Hello.

TElPKCS11CertStorage and TElWinCertStorage have the same parent class TElCustomCertStorage, so they are similar. Additional information about TElPKCS11CertStorage can be found here http://www.eldos.com/documentation/sb...orage.html

The sample of TElPKCS11CertStorage usage can be found in \EldoS\SecureBlackbox\Samples\Delphi\PKIBlackbox\PKCS11\CertStorage
#15542
Posted: 01/18/2011 09:47:15
by Kiril Drumev (Standard support level)
Joined: 12/28/2010
Posts: 24

Ok thanks.

Kiril
#15546
Posted: 01/19/2011 07:00:34
by Kiril Drumev (Standard support level)
Joined: 12/28/2010
Posts: 24

Hello,
I got another error during the signed data saving - 'Buffer too small'.
Can it be fixed?

Kiril
Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.

Reply

Statistics

Topic viewed 11353 times

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




|

Back to top

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

Got it!