FS#73549 - [python] Allow using system-wide openssl config instead of the hardcoded Python's list of ciphers
Attached to Project:
Arch Linux
Opened by Michał Sałaban (emesik) - Saturday, 29 January 2022, 16:37 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:23 GMT
Opened by Michał Sałaban (emesik) - Saturday, 29 January 2022, 16:37 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:23 GMT
|
Details
Since Python 3.10 there's a hardcoded default list of
openssl ciphers specified when initializing the SSL/TLS
layer.
By adding `--with-ssl-default-suites=openssl` option to the `./configure` script, it allows Python to use the system-wide OpenSSL configuration, which is much more convenient. Especially regarding to SECLEVEL setting and problems reported by users, like: https://askubuntu.com/questions/1233186/ubuntu-20-04-how-to-set-lower-ssl-security-level The solution described above doesn't work in Arch because of hardcoded list of capabilities. |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:23 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/python/issues/4
Saturday, 25 November 2023, 20:23 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/python/issues/4
Comment by Kai (halan) - Thursday,
03 March 2022, 23:54 GMT
Comment by loqs (loqs) - Friday, 04
March 2022, 00:16 GMT
What was the rationale for adding this hardcoded list? This seems
quite dangerous as increasing the systems-wide security level will
not affect any python applications.
@halan
https://bugs.python.org/issue43998