CAST5-CBC Cipher Unsupported Error with OpenSSL 3.0.2 #23989
-
When attempting to decrypt a file using the CAST5-CBC cipher with OpenSSL version 3.0.2 on Debian-amd64, an error occurs indicating that the cipher is unsupported. example command and output
Open SSL version
Supported ciphers
|
Beta Was this translation helpful? Give feedback.
Answered by
paul-messina-mm
Mar 27, 2024
Replies: 1 comment 3 replies
-
This cipher is available in the legacy provider only. You need to have the legacy provider loaded by the configuration to make it available. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks a lot @t8m !
Fixed with this recipe:
To add the Legacy Provider: In the [openssl_init] section (you may need to add this section if it does not exist), add the following line to activate the legacy provider:
Then, define the provider_sect section if it's not already defined, and add the legacy provider like this: