EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElPKCS11CertStorage Exception

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.
#36277
Posted: 03/23/2016 09:30:35
by Massimiliano Argenti (Standard support level)
Joined: 11/07/2015
Posts: 8

Hi, I'm trying to use TElPKCS11CertStorage with freepascal 2.6.4 under linux (ubuntu 14.04), but while "create" and "open" works perfectly in windows, with linux/fpc create works, but open doen't work for me (exception).

Any hint?
Thank you

Massimiliano
#36278
Posted: 03/23/2016 09:33:40
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

Could you please clarify what exact exception do you get.

Also I’ve noticed there is no Support Access Ticket linked to your user account on EldoS site. Technical Support is provided to customers with the linked Support Access Ticket. You will find your Support Access Ticket together with all the details about how to use it in the registration e-mail that we’ve sent to you upon the purchase.

If you are evaluating the product and don't have a license yet, please let us know and then you can have support according to Basic support level. Basic support level includes answering basic technical questions that appear during product evaluation period. We also offer Premium support for a purchase from https://www.eldos.com/support/calc.php . You can use Premium Support to get higher level of assistance during your evaluation of our products.
#36279
Posted: 03/23/2016 09:47:08
by Massimiliano Argenti (Standard support level)
Joined: 11/07/2015
Posts: 8

Hi, I'm evaluating the product:

Storage := TElPKCS11CertStorage.Create(nil);
Storage.DLLName := 'bit4ipki'; // tried also 'libbit4ipki.so'
Storage.Open; // this line give me the exception: External: SIGSEGV at addr 34A00000

Massimiliano
#36280
Posted: 03/23/2016 09:50:26
by Eugene Mayevski (EldoS Corp.)

This problem usually happens due to misaligned .so libraries, compiled not with 1-byte alignment as required by the standard, but with 4- or 8-byte alignment.

We are working on the workaround for this problem, and it will be included in SecureBlackbox 15 (maybe not in the first beta build, but definitely in release).


Sincerely yours
Eugene Mayevski
#36281
Posted: 03/23/2016 10:21:42
by Massimiliano Argenti (Standard support level)
Joined: 11/07/2015
Posts: 8

Ok, thank you!
I'll wait for v15 to give it a test

I forgot to tell you that a LoadLibrary works fine...... without error

Massimiliano
#36282
Posted: 03/23/2016 10:24:35
by Eugene Mayevski (EldoS Corp.)

Quote
Massimiliano Argenti wrote:
I forgot to tell you that a LoadLibrary works fine...... without error


In most cases (some hardware vendors have this problem) the issue is specific to Linux/Unix systems. Also, it's a call to Open() method that will fail.


Sincerely yours
Eugene Mayevski
#36283
Posted: 03/23/2016 10:24:54
by Vsevolod Ievgiienko (EldoS Corp.)

LoadLibrary just loads the library. The problem occurs when our code sends or retrieves structures defined in PKCS#11 standard to/from functions implemented in this library.
Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.

Reply

Statistics

Topic viewed 1985 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!