X2Go Bug report logs - #1122
x2goclient spurously asks for passphrase on autologin

version graph

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

Reported by: Arne Wichmann <aw@anhrefn.saar.de>

Date: Thu, 8 Dec 2016 18:05:02 UTC

Severity: normal

Tags: patch, pending

Found in version 4.0.5.2

Fixed in version 4.1.1.1

Done: X2Go Release Manager X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1122: x2goclient spurously asks for passphrase on autologin
Reply-To: Arne Wichmann <aw@anhrefn.saar.de>, 1122@bugs.x2go.org
Resent-From: Arne Wichmann <aw@anhrefn.saar.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Thu, 08 Dec 2016 18:05:02 +0000
Resent-Message-ID: <handler.1122.B.148122024414115@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 1122
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.148122024414115
          (code B); Thu, 08 Dec 2016 18:05:02 +0000
Received: (at submit) by bugs.x2go.org; 8 Dec 2016 18:04:04 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 00FD25DBE7
	for <submit@bugs.x2go.org>; Thu,  8 Dec 2016 19:04:03 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id nI1C0a1NXRr7 for <submit@bugs.x2go.org>;
	Thu,  8 Dec 2016 19:03:56 +0100 (CET)
X-Greylist: delayed 307 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Thu, 08 Dec 2016 19:03:55 CET
Received: from apu.snow-crash.org (apu.snow-crash.org [78.47.227.179])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 878B25DAC1
	for <submit@bugs.x2go.org>; Thu,  8 Dec 2016 19:03:55 +0100 (CET)
Received: from chao.old-forest.org (arne.local [10.99.0.2])
	by apu.snow-crash.org (Postfix) with ESMTP id A682186D40
	for <submit@bugs.x2go.org>; Thu,  8 Dec 2016 18:58:48 +0100 (CET)
Received: from anhrefn ([192.168.10.23] helo=anhrefn.saar.de)
	by chao.old-forest.org with esmtps (Exim 4.84_2)
	(envelope-from <aw@old-forest.org>)
	id 1cF2xy-00083z-Vp
	for submit@bugs.x2go.org; Thu, 08 Dec 2016 18:58:48 +0100
Received: from aw by anhrefn.saar.de with local (Exim 4.87)
	(envelope-from <aw@old-forest.org>)
	id 1cF2yI-00016O-QC
	for submit@bugs.x2go.org; Thu, 08 Dec 2016 18:59:06 +0100
Date: Thu, 8 Dec 2016 18:59:06 +0100
From: Arne Wichmann <aw@anhrefn.saar.de>
To: submit@bugs.x2go.org
Message-ID: <20161208175906.GD20753@anhrefn.saar.de>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="8w3uRX/HFJGApMzv"
Content-Disposition: inline
Return-Receipt-To: aw@anhrefn.saar.de
X-message-flag: Outluck ist kaputt :-)
User-Agent: Mutt/1.5.23 (2014-03-12)
[Message part 1 (text/plain, inline)]
Package: x2goclient
Version: 4.0.5.2

When using 
  x2goclient --pgp-card
and not using a Smartcard, after typing a password there will be a popup
window asking for a passphrase even though no usable keys are available.

(The problem arose at a Thinclient of a customer who in some cases does not
use their smartcards.)

After some digging into the problem I think that the autologin flag should
be cleared after SshMasterConnection::userAuthAuto has been tried once.
Alternatively SshMasterConnection::userAuthAuto could check if there are
usable keys before asking for a passphrase. Or it could check if a
password has already been given. 

cu

AW
-- 
[...] If you don't want to be restricted, don't agree to it. If you are
coerced, comply as much as you must to protect yourself, just don't support
it. Noone can free you but yourself. (crag, on Debian Planet)
Arne Wichmann (aw@saar.de)
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 18:24:26 2024; 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.