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

Old version of paramiko for 18.04 #139

Closed
kiarn opened this issue May 20, 2022 · 1 comment
Closed

Old version of paramiko for 18.04 #139

kiarn opened this issue May 20, 2022 · 1 comment

Comments

@kiarn
Copy link
Member

kiarn commented May 20, 2022

Hello,

The version of python3-paramiko defined here is too old in 18.04 (2.0.0) and generates the following error while launching lmn71-prepare :

#### Downloading firewall configuration: ####
#### get 10.112.1.254 /conf/config.xml /var/cache/linuxmuster/opnsense.xml ####
Unknown exception: '_EllipticCurvePublicKey' object has no attribute 'verifier'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/paramiko/transport.py", line 1795, in run
self.kex_engine.parse_next(ptype, m)
File "/usr/lib/python3/dist-packages/paramiko/kex_gex.py", line 88, in parse_next
return self._parse_kexdh_gex_reply(m)
File "/usr/lib/python3/dist-packages/paramiko/kex_gex.py", line 244, in _parse_kexdh_gex_reply
self.transport._verify_key(host_key, sig)
File "/usr/lib/python3/dist-packages/paramiko/transport.py", line 1606, in _verify_key
if not key.verify_ssh_sig(self.H, Message(sig)):
File "/usr/lib/python3/dist-packages/paramiko/ecdsakey.py", line 201, in verify_ssh_sig
verifier = self.verifying_key.verifier(
AttributeError: '_EllipticCurvePublicKey' object has no attribute 'verifier'
'_EllipticCurvePublicKey' object has no attribute 'verifier'

Using paramiko>=2.6.0 solves the problem, so I pinned the version in the webui's requirements : linuxmuster/linuxmuster-webui7@6aa6e10

In Ubuntu 22.04, python3-paramiko has the version 2.9.3 today, so I don't if it's necessary to correct this in this repo, but it was necessary to mention it.

Cheers

Arnaud

@HappyBasher
Copy link
Member

Ok, thanx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants