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'
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.
Hello,
The version of
python3-paramiko
defined here is too old in 18.04 (2.0.0) and generates the following error while launchinglmn71-prepare
:Using
paramiko>=2.6.0
solves the problem, so I pinned the version in the webui's requirements : https://github.com/linuxmuster/linuxmuster-webui7/commit/6aa6e1019c3eb34a407f7706e37e1ef81d8dc68dIn 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