opencryptoki / openssl-ibmca

OpenSSL engine and provider for libica.
Apache License 2.0
6 stars 15 forks source link

switch to ibmca.so filename to allow a standalone use #27

Closed sharkcz closed 6 years ago

sharkcz commented 6 years ago

When the filename and engine name are the same (omitting the .so suffix), then it's possible to use the engine without configuration in openssl.conf (eg. "openssl speed -engine ibmca" works).

p-steuer commented 6 years ago

If i remember correctly, for this to work the shared object has to be installed to openssl ENGINESDIR (see openssl version -a) or the OPENSSL_ENGINES environment variable must specify the non-default ENGINESDIR (at least with upstream openssl). So the package could just install an engine.so symlink to ENGINESDIR.

However, i dont see a reason to not just rename the library. whats your opinion @dodys ?

sharkcz commented 6 years ago

one note - other engines already use the "non-lib" filename, at least on Fedora

dodys commented 6 years ago

I don't see any problem on changing the lib name. But I would appreciate if you could sign your commit before applying this commit. Thanks

sharkcz commented 6 years ago

updated