Hi Dr.Paul/Team, Good Morning, We have integrated OpenSSL 3.0.8 in our code along with fips enablement. We are using python 3.11 version. We have used the default search path as our application directory (OSSL_PROVIDER_set_default_search_path)
and loaded the “base” and “fips” providers and not the default provider. OSSL_PROVIDER_load(None,
b"base")
OSSL_PROVIDER_load(None,
b"fips") After that, we enabled the FIPS using libcrypto.EVP_default_properties_enable_fips()
call. Should we load the default provider as well or base and fips are good enough? Sometimes we are getting the below error message from Python cryptography package cryptography.exceptions.InternalError: Unknown OpenSSL error. This error is commonly encountered when another library is not cleaning up the OpenSSL error stack.
If you are using cryptography with another library that uses OpenSSL try disabling it before reporting a bug. Otherwise please file an issue at
https://github.com/pyca/cryptography/issues with information on how to reproduce this. ([_OpenSSLErrorWithText(code=50856204, lib=6, reason=524556, reason_text=b'error:0308010C:digital envelope routines::unsupported')]) This error is intermittent is what we are observing as we have already tested the complete application couple of times
Any thoughts or inputs on this please will help us in debugging more on this issue. Thanks, Raghavendra From: Dr Paul Dale <pauli@xxxxxxxxxxx> [EXTERNAL EMAIL]
|