Closed skxo closed 2 years ago
@skxo I am facing the same problem. Have you solved it somehow?
I am facing the same issue and interested by any update.
The storeutl
manual says:
-engine id specifying an engine (by its unique id string) will cause storeutl to attempt to obtain a functional reference to the specified engine, thus initialising it if needed. The engine will then be set as the default for all available algorithms.
You clearly expect the -engine
option to also register a store URI scheme, but this is not something it does.
The OpenSSL engine interface and the OpenSSL store API are separate concepts: https://beta.openssl.org/docs/manmaster/man3/ENGINE_add.html https://beta.openssl.org/docs/manmaster/man3/OSSL_STORE_open.html I am not aware of any way to register an OpenSSL store URI scheme from an OpenSSL engine.
Hello,
I use pkcs11 engine to simulate an HSM via softHSMv2 lib. I encounter the following error when I try to use openssl storeutl to read the objects stored in the softHSM
other commands such openssl dgst, openssl pkeyutl are doing good. I can sign, verify, encrypt, decrypt.... so It means the keys are well present in the softHSM. Using softhsm-util I am able to check the objects are here:
Is there any other method to read objects from openssl ? Is this a bug in openssl storeutl perhaps? Thank you for your help Regards