tpm2-software / tpm2-tss-engine

OpenSSL Engine for TPM2 devices
https://tpm2-software.github.io
BSD 3-Clause "New" or "Revised" License
150 stars 100 forks source link

Remove deprecated value from openssl.conf.sample > default_algorithms #265

Closed wxleong closed 3 weeks ago

wxleong commented 1 year ago

In openssl.conf.sample, the value ECDSA has been removed since OpenSSL_1_1_0-pre1 in this commit.

It seems harmless, but if the parser encountered an invalid option, it will exit silently. Meaning, everything come after the line default_algorithms = RSA,ECDSA are ignored.

On top of that, since the tss engine is not using the ENGINE_set_ECDSA() approach, hence it is safe to remove the value from default_algorithms.

This PR is to address issue https://github.com/tpm2-software/tpm2-tss-engine/issues/260

Signed-off-by: wenxin.leong wenxin.leong@infineon.com

Resolves #260