-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenSSL 3.0 deprecations #63
Comments
Need to add |
FreeBSD 14 imported OpenSSL 3 into its base and now I can't get HsOpenSSL working. When building without any additional defines I get
What can be done about that? |
Unfortunately, many DSA functions are deprecated. They need to be replaced with EVP_* functions as described in https://www.openssl.org/docs/man3.0/man7/migration_guide.html#Deprecated-low-level-key-generation-functions |
|
There are no active HsOpenSSL developers at the moment. Maybe it worth to try to remove all deprecated functions and make HsOpenSSL 0.12 which is incompatible with previous versions because OpenSSL 3.0 is not. There's no I don't know how much stuff will be broken due to this. I suppose the SSL connection setup and I/O should still work, and that's probably the lion's share of HsOpenSSL usage. You can try to remove everything that no longer works (probably by dropping the whole OpenSSL.DSA module) and check whether It won't break on OpenSSL 3.0 systems, and missing features will be added by those who need them and can check whether they really work. |
There are a lot of deprecated functions in OpenSSL 3.0 (see #62 for example).
https://www.openssl.org/docs/man3.0/man7/migration_guide.html#Deprecation-of-Low-Level-Functions
Haven't looked into details but I suppose that there should be two cases:
Looks like a lot of work for me at the moment (we may need to replace
import ccall
withimport capi
to see all deprecations). So it will be amazing if somebody would take a leap and send PR for this issue.The text was updated successfully, but these errors were encountered: