diff options
author | Neil Horman <nhorman@openssl.org> | 2023-12-01 14:02:09 -0500 |
---|---|---|
committer | Neil Horman <nhorman@openssl.org> | 2023-12-21 09:22:40 -0500 |
commit | 506ff20662a228b17840f0b49865a927a45c2908 (patch) | |
tree | fa99ab163899cb138800889aea431aa364c588ee /CHANGES.md | |
parent | 5528bfbc647c68b6e03262099830ddd1c49dfa23 (diff) |
Make the activate setting more intuitive
Currently, a provider is activated from our config file using the
activate parameter. However, the presence of the config parameter is
sufficient to trigger activation, leading to a counterintuitive
situation in which setting "activate = 0" still activates the provider
Make activation more intuitive by requiring that activate be set to one
of yes|true|1 to trigger activation. Any other value, as well as
omitting the parameter entirely, prevents activation (and also maintains
backward compatibility.
It seems a bit heavyweight to create a test specifically to validate the
plurality of these settings. Instead, modify the exiting openssl config
files in the test directory to use variants of these settings, and
augment the default.cnf file to include a provider section that is
explicitly disabled
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22906)
Diffstat (limited to 'CHANGES.md')
-rw-r--r-- | CHANGES.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CHANGES.md b/CHANGES.md index f1c8bce1b3..0f8db22dce 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -28,6 +28,14 @@ OpenSSL 3.3 ### Changes between 3.2 and 3.3 [xx XXX xxxx] + * The activate configuration setting for providers in openssl.cnf has been + updated to require a value of [1|yes|true|on] (in lower or UPPER case) to + activate the provider. Conversely a setting [0|no|false|off] will prevent + provider activation. All other values, or the omission of a value for this + setting will result in an error. + + *Neil Horman* + * In `openssl speed`, changed the default hash function used with `hmac` from `md5` to `sha256`. |