cryptography pkg 39.0.0 incompatible with pyOpenSSL 21.0.0 - crashes ensue
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssl (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
crypto.py crashes when starting protonvpn:
$ protonvpn-cli connect SE1
Tue Jan 31 07:08:04 AM EST 2023
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
from .cli import ProtonVPNCLI
File "/usr/lib/
from proton.constants import VERSION as proton_version
File "/usr/lib/
from .api import Session # noqa
File "/usr/lib/
from .cert_pinning import TLSPinningAdapter
File "/usr/lib/
from OpenSSL import crypto
File "/usr/lib/
from OpenSSL import crypto, SSL
File "/usr/lib/
_lib.
AttributeError: module 'lib' has no attribute 'OpenSSL_
Tue Jan 31 07:08:05 AM EST 2023
c.f. https:/
but downgrading openssl package is not desirable for security reasons.
per https:/
Installed packages are python3-
Currently, python3-openssl 22.1.0 is not available from repo.
$ lsb_release -rd:
Description: Ubuntu 22.04.1 LTS
Release: 22.04
$ apt-cache policy python3-openssl
python3-openssl:
Installed: 21.0.0-1
Candidate: 21.0.0-1
Version table:
*** 21.0.0-1 500
500 http://
500 http://
100 /var/lib/
$
description: | updated |
summary: |
- Can't launch proton vpn + cryptography pkg 39.0.0 incompatible with pyOpenSSL 21.0.0 - crashes + ensue |
Hi, if I understand correctly, you're either updating python-cryptography or installing it in a virtual environment, is that right?
Lunar is going to have python3-openssl 23 and python3- cryptography 38 (actually they're already in the archive).
I don't think we could easily change the versions of these in kinetic or jammy. Did you have a specific idea on how to go forward on this issue?