Philipp Hörist pushed to branch master at gajim / gajim
Commits: b28169c8 by Philipp Hörist at 2023-01-16T17:52:49+01:00 fix: Disable legacy ciphers in cryptography
Otherwise more dependencies need to be installed which we don’t need
- - - - -
1 changed file:
- gajim/gajim.py
Changes:
===================================== gajim/gajim.py ===================================== @@ -101,7 +101,10 @@ def _init_gui(gui: str) -> None: _init_gtk()
-def _disable_csd() -> None: +def _set_env_vars() -> None: + # Disable legacy ciphers in cryptography + os.environ['CRYPTOGRAPHY_OPENSSL_NO_LEGACY'] = '1' + if sys.platform != 'win32': return
@@ -159,6 +162,6 @@ def main() -> None:
_check_required_deps() _set_proc_title() - _disable_csd() + _set_env_vars() _init_gui('GTK') _run_app()
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/b28169c8d8e546e034bb28fcee67c0695...