action #112367
Updated by okurz over 2 years ago
## Observation On Leap 15.4, with **python-paramiko** **2.4.2-150100.6.12.1**, following occurs in mtui: `info: connecting to goblin.qam.suse.cz debug [mtui.connection:connect]: connecting to goblin.qam.suse.cz:22 error: SSHException while connecting to goblin.qam.suse.cz critical: connecting to goblin.qam.suse.cz failed: Invalid key warning: failed to add host goblin.qam.suse.cz to target list debug [mtui.template.testreport:add_target]: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mtui/template/testreport.py", line 373, in add_target self.targets[hostname].connect() File "/usr/lib/python3.6/site-packages/mtui/target/__init__.py", line 89, in connect raise e File "/usr/lib/python3.6/site-packages/mtui/target/__init__.py", line 86, in connect self.connection = self.Connection(self.host, self.port, self.timeout) File "/usr/lib/python3.6/site-packages/mtui/connection.py", line 91, in __init__ self.connect() File "/usr/lib/python3.6/site-packages/mtui/connection.py", line 169, in connect raise e File "/usr/lib/python3.6/site-packages/mtui/connection.py", line 127, in connect else None, File "/usr/lib/python3.6/site-packages/paramiko/client.py", line 437, in connect passphrase, File "/usr/lib/python3.6/site-packages/paramiko/client.py", line 749, in _auth raise saved_exception File "/usr/lib/python3.6/site-packages/paramiko/client.py", line 720, in _auth filename, pkey_class, passphrase File "/usr/lib/python3.6/site-packages/paramiko/client.py", line 571, in _key_from_filepath key = klass.from_private_key_file(key_path, password) File "/usr/lib/python3.6/site-packages/paramiko/pkey.py", line 217, in from_private_key_file key = cls(filename=filename, password=password) File "/usr/lib/python3.6/site-packages/paramiko/ed25519key.py", line 81, in __init__ signing_key = self._parse_signing_key_data(data, password) File "/usr/lib/python3.6/site-packages/paramiko/ed25519key.py", line 156, in _parse_signing_key_data message = Message(unpad(private_data)) File "/usr/lib/python3.6/site-packages/paramiko/ed25519key.py", line 41, in unpad raise SSHException("Invalid key") paramiko.ssh_exception.SSHException: Invalid key ` This seems to be a known issue, and is resolved in paramiko 2.5.1. As usage of ed25519 keys is not that common it seems to affect only me, as a workaround paramiko from Tumbleweed can be linked into **QA:Maintenance** project in **IBS** Same problem in Leap 15.3 as paramiko was last updated in 15-SP1. ## Acceptance criteria * **AC1:** Problem has been reported to the package maintainer * **AC2:** mtui works again ## Suggestions Maintenance Update of paramiko in SLE -> Leap Link new paramiko and its deps in QA:Maintenance project