You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The configuration directives for example in filter.conf rely on absolute paths to obtain the used library. That means that configuration files cannot be shared by multiple platforms, and more importantly multi-arch distributions cannot possibly use it. For example the softhsm library may be available on the following two different paths depending on the architecture:
modules = [("softhsm", "/usr/lib64/pkcs11/libsofthsm.so")]
modules = [("softhsm", "/usr/lib/pkcs11/libsofthsm.so")]
I think the best would be to use the --libdir configure option and then allow relative library paths over that. That way there can be a 32-bit pkcs11proxyd and 64-bit pkcs11proxyd installed in the same system and share the same configuration file.
The text was updated successfully, but these errors were encountered:
The configuration directives for example in filter.conf rely on absolute paths to obtain the used library. That means that configuration files cannot be shared by multiple platforms, and more importantly multi-arch distributions cannot possibly use it. For example the softhsm library may be available on the following two different paths depending on the architecture:
modules = [("softhsm", "/usr/lib64/pkcs11/libsofthsm.so")]
modules = [("softhsm", "/usr/lib/pkcs11/libsofthsm.so")]
I think the best would be to use the --libdir configure option and then allow relative library paths over that. That way there can be a 32-bit pkcs11proxyd and 64-bit pkcs11proxyd installed in the same system and share the same configuration file.
The text was updated successfully, but these errors were encountered: