[X2Go-Dev] Fwd: Bug#1477: Debug output
Ulrich Sibiller
ulrich.sibiller at gmail.com
Thu Jun 18 13:38:38 CEST 2020
Can someone please incorporate this fix?
Uli
---------- Forwarded message ---------
From: Toby <anothercoffee at googlemail.com>
Date: Thu, Jun 18, 2020 at 11:52 AM
Subject: [X2Go-Dev] Bug#1477: Debug output
To: <1477 at bugs.x2go.org>
I appreciate the whole ssh connection process is hairy as ****, and
thinking I've got a proper fix after a couple of hours poking about
looking at a single use case is naive, but the removal of one line
gets the behaviour I expect: if either the password or verification
code are incorrect, restart the authentication process
diff --git a/src/sshmasterconnection.cpp b/src/sshmasterconnection.cpp
index 667e0ef..34045de 100644
--- a/src/sshmasterconnection.cpp
+++ b/src/sshmasterconnection.cpp
@@ -1127,7 +1127,7 @@ bool SshMasterConnection::userChallengeAuth()
if (has_challenge_auth_code_prompt) {
x2goDebug<<"Verification code request"<<endl;
- challengeAuthPasswordAccepted=true;
+ // challengeAuthPasswordAccepted=true;
if(challengeAuthVerificationCode == QString::null)
{
keyPhraseReady=false;
This also works in the case of using an ssh proxy server with
google-authenticator.
Cheers
Toby
_______________________________________________
x2go-dev mailing list
x2go-dev at lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev
More information about the x2go-dev
mailing list