Skip to content

libcrypto >= 3.0.5 #93

Answered by simo5
gilweis asked this question in Q&A
Nov 8, 2022 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

There is a change in the store loader that landed in 3.0.5 tat is required to properly select the provider the key came from.

Without this change OpenSSL always tries to export keys from the origin provider and re-import them in the default provider.

This obviously fails for private keys in pkcs11 tokens.

Technically in 3.0.2 this can be worked around by always passing the property "provider=pkcs11" in every function call, but that requires changing applications.
Or by only configuring the base and pkcs11 provider in openssl.cnf and removing the default provider, but that is not nice as then all functions not implemented in the pkcs11 provider are unavailable.

Bottom line the best way to …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by simo5
Comment options

You must be logged in to vote
1 reply
@simo5
Comment options

simo5 Nov 8, 2022
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants