-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
OpenBSD detection for SSL configuration fails #10817
Comments
@holsta, does this still reproduce with cryptography 42.0.5? And do you have instructions that we can use to reproduce from a fresh openbsd? |
@alex Thanks for following up! I get the following failure with 42.0.5 -- both when not and when setting OPENSSL_DIR="/usr". Do you need the openbsd-pip-install-fail.txt log? It's 3MB.
|
Yeah, we'll definitely need that log, it's where all the info is :D |
Hope this contains a clue. |
It does! Good news: It's a new error, rust-openssl is correctly finding your OpenSSL. The error is that the version of LibreSSL you have isn't supported. |
Oh, pinning against particular versions is bound to cause sporadic failures until the end of time. Is there a better mechanism we could look at? Testing features / functionality? |
The reason rust-openssl limits the versions of LibreSSL that are
verified to work is that, to my knowledge, LibreSSL does not offer API
or ABI stability between major versions.
We'll look at backporting the rust-openssl fix to cryptography 42
…On Mon, Apr 15, 2024 at 12:36 PM Alex Holst ***@***.***> wrote:
Oh, pinning against particular versions is bound to cause sporadic failures until the end of time. Is there a better mechanism we could look at? Testing features / functionality?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
--
All that is necessary for evil to succeed is for good people to do nothing.
|
Correct. This won't change. I have been trying to reduce the friction for rust-openssl to a minimum by doing the necessary changes myself. If cryptography could merge support for the latest stable libressl into their latest stable branch at the earliest opportunity, that would be nice and should obviate the problem @holsta runs into. If there's anything I can or should do to help with that, let me know. The py3-cryptography port of OpenBSD is usually up to date and it can be used to sidestep problems with pip. It needs no patches. |
Yes, I think the amount of work really was minimal, it's just a matter of us needing to do a release. |
Ok, 42.0.6 release that's going out shoudl fix this. Sorry we sat on this for so long. |
Copied from PyO3/pyo3#3807 (comment)
The text was updated successfully, but these errors were encountered: