This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository python-x2go. from fcc304a Merge branch 'personal/sunweaver/end-of-distutils' into 'master' new 2ec9567 x2go/{backends/control/plain,sshproxy}.py: Don't let look_for_keys override specified private key. The specified private key should win. new 74adacb Merge branch 'personal/sunweaver/specified-key-wins-over-lookforkeys' into 'master' The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: x2go/backends/control/plain.py | 6 +++--- x2go/sshproxy.py | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/python-x2go.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository python-x2go. commit 2ec9567f7dac9fa0edc02f36efcc4a701acaf52f Author: nounce <nounce@posteo.net> Date: Mon Jan 8 21:37:26 2024 +0100 x2go/{backends/control/plain,sshproxy}.py: Don't let look_for_keys override specified private key. The specified private key should win. --- x2go/backends/control/plain.py | 6 +++--- x2go/sshproxy.py | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/x2go/backends/control/plain.py b/x2go/backends/control/plain.py index 955b8d1..8cc0aef 100644 --- a/x2go/backends/control/plain.py +++ b/x2go/backends/control/plain.py @@ -938,9 +938,9 @@ class X2GoControlSession(paramiko.SSHClient): if forward_sshagent is None: forward_sshagent = self.forward_sshagent - if look_for_keys: - key_filename = None - pkey = None + # Do not look for keys if there is one supplied already + if key_filename or pkey: + look_for_keys = False _twofactorauth = False if password and (passphrase is None) and not force_password_auth: passphrase = password diff --git a/x2go/sshproxy.py b/x2go/sshproxy.py index e7dc230..0b6d283 100644 --- a/x2go/sshproxy.py +++ b/x2go/sshproxy.py @@ -208,10 +208,9 @@ class X2GoSSHProxy(paramiko.SSHClient, threading.Thread): self.local_host = self.local_host.strip() self.remote_host = self.remote_host.strip() - # do not use explicitly given keys if look_for_keys has got activated - if look_for_keys: - key_filename = None - pkey = None + # Do not look for keys if there is one supplied already + if key_filename or pkey: + look_for_keys = False if key_filename and "~" in key_filename: key_filename = os.path.expanduser(key_filename) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/python-x2go.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository python-x2go. commit 74adacbe66b8e459fc5a1e44467dc7682d93bf86 Merge: fcc304a 2ec9567 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Thu Feb 29 12:45:38 2024 +0000 Merge branch 'personal/sunweaver/specified-key-wins-over-lookforkeys' into 'master' x2go/{backends/control/plain,sshproxy}.py: Don't let look_for_keys override... See merge request x2go/client/libs/python-x2go!5 x2go/backends/control/plain.py | 6 +++--- x2go/sshproxy.py | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/python-x2go.git