X2Go Bug report logs - #1477
x2goclient doesn't prompt for password after authentication failure if server is using google-authenticator

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: Toby <anothercoffee@googlemail.com>

Date: Mon, 8 Jun 2020 17:00:03 UTC

Severity: normal

Found in version 4.1.2.2

Full log


Message #10 received at 1477@bugs.x2go.org (full text, mbox, reply):

Received: (at 1477) by bugs.x2go.org; 11 Jun 2020 10:33:19 +0000
From anothercoffee@googlemail.com  Thu Jun 11 12:33:17 2020
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-0.6 required=3.0 tests=BAYES_05,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED
	autolearn=ham autolearn_force=no version=3.4.2
Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 7C3EF5DD8A
	for <1477@bugs.x2go.org>; Thu, 11 Jun 2020 12:33:16 +0200 (CEST)
Received: by mail-io1-xd32.google.com with SMTP id p20so5694935iop.11
        for <1477@bugs.x2go.org>; Thu, 11 Jun 2020 03:33:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlemail.com; s=20161025;
        h=mime-version:from:date:message-id:subject:to;
        bh=WHCNlX2qc/MBHG7WHSiqubMkpqVzipVWP0mchER/ZTo=;
        b=RGnQKAoHv9+OxSVMOjv6dQcj3zh7i0dsa3TcIGUUGe+ISM4/z6J7nyrJYtuGSFAeVd
         HD4bcibx8MUt5U+NtrWhgFhVIGfOx9L1pecWu/+htpKfDIazuMgMNW3HUkc7P2K7RPFw
         fyQTILnZxl8DaYoiZDfrun1u+WlYRP5Ldo6d8FPkWMAQj1zZpo4LeE1TC2+Wx9CwmaVC
         8ntYN26RHi89Rb103MFWgrSpRjJSxWRrp4JAs8hpS9NiD9f2sRfsGlafoXZmAjeqOBI+
         VZrMgea3ml0LTRw30M0EX9tyCpdfI+exFdZwPYXllA684PeW/7SljbAVeOYCgi7/fIum
         KwHQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
        bh=WHCNlX2qc/MBHG7WHSiqubMkpqVzipVWP0mchER/ZTo=;
        b=rUW5Y2EfhItsVLN22sJBuf73mDnQitXipqSuUFI8AYz4Yhfz0rzgcUKPo4KNj9wh4v
         z77UyZmZqTvxiMrblFiCAoakGVUDsbC7qWEHsa/ZESeSc5B3bWRnli6Zg+ripUKOyq3L
         p3vWgubCX70TQQnmZWqLhUdo/NsXupLVYBDODWPbKnTgN0V9PEY1GJDZhkTbVOIbIj6L
         rUXtNVLGKNz6rYw3fPoFjBWyJvutQpa3I+lZJ7h07edWBNucGbbcXaqHkfR8iqbeBGPw
         IvTHOwAcaAySAi3Z3x1ArXSgrE/LgwYNvxCdHtDcmQl9FVfrh03k2o4q2yO33kn8S+QR
         ovyQ==
X-Gm-Message-State: AOAM530W3jjl+9b72QB3IQymnScog9/eQ/UO43jranb9iXEmyrJOVGqR
	WbUIeMY5JJukMmSSqdtMpDyRCwL04kZUg4Cwty3xTpaokIY=
X-Google-Smtp-Source: ABdhPJx25Aj3w4fggnO4gjwrEyvr+jBWGjfahbykFZ68lk7+sER06i6YQZK4DvefLluTODH/xUXLMrZw7HaMnlqbpYc=
X-Received: by 2002:a02:6641:: with SMTP id l1mr2585773jaf.23.1591871594486;
 Thu, 11 Jun 2020 03:33:14 -0700 (PDT)
MIME-Version: 1.0
From: Toby <anothercoffee@googlemail.com>
Date: Thu, 11 Jun 2020 11:32:48 +0100
Message-ID: <CAEScUDi0z1tWFkcD_znURLO0pgmf5XfsT6yTY6DQMzLgGBWtwA@mail.gmail.com>
Subject: Debug output
To: 1477@bugs.x2go.org
Content-Type: text/plain; charset="UTF-8"
Hi

I've now got some debug output (from an ubuntu VM, --debug doesn't
work for me on fedora).
With the correct password and validation code:

x2go-DEBUG-../src/sshmasterconnection.cpp:1207> Challenge
authentication requested.
x2go-DEBUG-../src/sshmasterconnection.cpp:1085> Have prompts: 1
x2go-DEBUG-../src/sshmasterconnection.cpp:1089> Prompt[0]: |Password: |
x2go-DEBUG-../src/sshmasterconnection.cpp:1093> Password request
x2go-DEBUG-../src/sshmasterconnection.cpp:1085> Have prompts: 1
x2go-DEBUG-../src/sshmasterconnection.cpp:1089> Prompt[0]: |Verification code: |
x2go-DEBUG-../src/sshmasterconnection.cpp:1109> Checking against known
prompt #0: "Verification code:"
x2go-DEBUG-../src/sshmasterconnection.cpp:1129> Verification code request
x2go-DEBUG-../src/sshmasterconnection.cpp:1085> Have prompts: 0
x2go-DEBUG-../src/sshmasterconnection.cpp:1171> Challenge authentication OK.
x2go-DEBUG-../src/sshmasterconnection.cpp:687> User authentication OK.
x2go-DEBUG-../src/sshmasterconnection.cpp:1708> LOGIN CHECK:"LOGIN OK\r\n"
x2go-DEBUG-../src/sshmasterconnection.cpp:1711> don't have interaction
x2go-DEBUG-../src/sshmasterconnection.cpp:1744> LOOP FINISHED
x2go-DEBUG-../src/sshmasterconnection.cpp:1748> No interaction needed,
continue session
x2go-DEBUG-../src/sshmasterconnection.cpp:702> Login Check - OK
x2go-DEBUG-../src/onmainwindow.cpp:2947> SSH connection established.

But with an incorrect password, I only get repeated Verification code prompts:

x2go-DEBUG-../src/sshmasterconnection.cpp:1207> Challenge
authentication requested.
x2go-DEBUG-../src/sshmasterconnection.cpp:1085> Have prompts: 1
x2go-DEBUG-../src/sshmasterconnection.cpp:1089> Prompt[0]: |Password: |
x2go-DEBUG-../src/sshmasterconnection.cpp:1093> Password request
x2go-DEBUG-../src/sshmasterconnection.cpp:1085> Have prompts: 1
x2go-DEBUG-../src/sshmasterconnection.cpp:1089> Prompt[0]: |Verification code: |
x2go-DEBUG-../src/sshmasterconnection.cpp:1109> Checking against known
prompt #0: "Verification code:"
x2go-DEBUG-../src/sshmasterconnection.cpp:1129> Verification code request
x2go-DEBUG-../src/sshmasterconnection.cpp:1085> Have prompts: 1
x2go-DEBUG-../src/sshmasterconnection.cpp:1089> Prompt[0]: |Password: |
x2go-DEBUG-../src/sshmasterconnection.cpp:1093> Password request
x2go-DEBUG-../src/sshmasterconnection.cpp:1085> Have prompts: 1
x2go-DEBUG-../src/sshmasterconnection.cpp:1089> Prompt[0]: |Verification code: |
x2go-DEBUG-../src/sshmasterconnection.cpp:1109> Checking against known
prompt #0: "Verification code:"
x2go-DEBUG-../src/sshmasterconnection.cpp:1129> Verification code request
x2go-DEBUG-../src/sshmasterconnection.cpp:1085> Have prompts: 1
x2go-DEBUG-../src/sshmasterconnection.cpp:1089> Prompt[0]: |Password: |
x2go-DEBUG-../src/sshmasterconnection.cpp:1093> Password request
x2go-DEBUG-../src/sshmasterconnection.cpp:1085> Have prompts: 1
x2go-DEBUG-../src/sshmasterconnection.cpp:1089> Prompt[0]: |Verification code: |
x2go-DEBUG-../src/sshmasterconnection.cpp:1109> Checking against known
prompt #0: "Verification code:"
x2go-DEBUG-../src/sshmasterconnection.cpp:1129> Verification code request
x2go-DEBUG-../src/sshmasterconnection.cpp:1085> Have prompts: 1
x2go-DEBUG-../src/sshmasterconnection.cpp:1089> Prompt[0]: |Password: |
x2go-DEBUG-../src/sshmasterconnection.cpp:1093> Password request


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Apr 22 14:36:02 2021; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.