Skip to content
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

Signal if there is an OpenSSL major version mismatch #99951

Open
mmomtchev opened this issue Dec 2, 2022 · 0 comments
Open

Signal if there is an OpenSSL major version mismatch #99951

mmomtchev opened this issue Dec 2, 2022 · 0 comments
Labels
expert-SSL type-feature A feature request or enhancement

Comments

@mmomtchev
Copy link

mmomtchev commented Dec 2, 2022

Feature or enhancement

Implement some kind of obvious warning or even fatal error when the runtime OpenSSL major version does not match the one Python was compiled against.

Pitch

This is especially valid when using the embedded interpreter. I am developing a Node.js/Python compatiblity layer (https://github.com/mmomtchev/pymport) and Node.js exports the OpenSSL symbols it was built with. Python on Ubuntu 22.04 was compiled with libssl3 and it can't be used in any software compiled with libssl1. There is no magic solution to this problem, but printing a warning or even quitting with a fatal error would avoid wasting many hours debugging very hard to find crashes.

As we are currently right in the middle of the painful switch from OpenSSL 1 to OpenSSL 3, I am sure many will be thankful for this feature.

Previous discussion

This is a two-liner

@mmomtchev mmomtchev added the type-feature A feature request or enhancement label Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
expert-SSL type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants