FWIU OpenSSL 3.x disables loading the default provider automatically if one loads a provider explicitly before calling any MD-related function. Since hashlib normally relies on the MDs provided by the default OpenSSL provider, perhaps it should load them explicitly to ensure that they are present. This would also ensure that the loaded OpenSSL providers are consistent whether hashlib is loaded prior to the script loading other providers or not.
Bug report
FWIU OpenSSL 3.x disables loading the
default
provider automatically if one loads a provider explicitly before calling any MD-related function. Sincehashlib
normally relies on the MDs provided by thedefault
OpenSSL provider, perhaps it should load them explicitly to ensure that they are present. This would also ensure that the loaded OpenSSL providers are consistent whetherhashlib
is loaded prior to the script loading other providers or not.By default:
But if I load the
legacy
provider first:but if I load both
default
andlegacy
providers, I get the full set:Your environment
The text was updated successfully, but these errors were encountered: