From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.bugs Subject: bug#39111: 27.0.60; Tramp offers to save password in ~/.authinfo instead of ~/.authinfo.gpg Date: Sat, 31 Oct 2020 12:51:44 +0530 Organization: J4D Network Message-ID: References: <0100016f9e4b71fd-b938d656-7502-4e59-9afb-87fc0e8c137c-000000@email.amazonses.com> <87r1pfg51w.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33670"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: Pankaj Jangid , 39111@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 31 08:22:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kYlDF-0008fX-Sp for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Oct 2020 08:22:09 +0100 Original-Received: from localhost ([::1]:39096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYlDE-00071p-BZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Oct 2020 03:22:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYlD8-00071O-0U for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 03:22:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48900) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYlD7-0007Bt-NU for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 03:22:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYlD7-00020k-Jl for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 03:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pankaj Jangid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Oct 2020 07:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39111 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 39111-submit@debbugs.gnu.org id=B39111.16041289187719 (code B ref 39111); Sat, 31 Oct 2020 07:22:01 +0000 Original-Received: (at 39111) by debbugs.gnu.org; 31 Oct 2020 07:21:58 +0000 Original-Received: from localhost ([127.0.0.1]:60446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYlD4-00020R-K7 for submit@debbugs.gnu.org; Sat, 31 Oct 2020 03:21:58 -0400 Original-Received: from sender-op-o10.zoho.in ([103.117.158.10]:2172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYlD1-00020A-Pq for 39111@debbugs.gnu.org; Sat, 31 Oct 2020 03:21:56 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1604128906; cv=none; d=zohomail.in; s=zohoarc; b=YQFCDATgr7OfHuhaFEn8uXaDThaXOcgP52LZ9bm60vCiqEbveYdTPU7+P2DmNrVgGN3tH24N41jvSP6wDWD11xZc0YE3McynRhnR7vnRPrduqz9DUODmSCMJujfYI44NxlhVf8jx2Sma95HZ/fDjn6KVAgQ7MUrW4yMEhh9JKC8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1604128906; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=ES8YEr8wql7uYTNrl9gzndGJ2L0fpBzgtvDoxGljWSE=; b=YH3d1aLsxD6m6BHht29JDPn5spfQKZKu4lbulMLVt+TCelozi6D6JBExayNp077nwGDWqhW1GZsAVV/81H7HYnfbq9UwhiUVXXDb8FWMXgwbKbttH2DlS/Qy8o6U9/vtPvwUhxXXMuTi4y1Cw0S5gnxujah4MQ9UVay2SiaebQo= ARC-Authentication-Results: i=1; mx.zohomail.in; dkim=pass header.i=j4d.net; spf=pass smtp.mailfrom=p4j@j4d.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1604128906; s=zoho; d=j4d.net; i=p4j@j4d.net; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=ES8YEr8wql7uYTNrl9gzndGJ2L0fpBzgtvDoxGljWSE=; b=TunYMFs6GXIW0OEsTPGviTkfAS+/0//8IzxNT2tG60oY6vuXTEMj9Git5FUWdSF/ b0ZKlEO9e2wJma1KencaD2ePMNAOokTUOzdfyoyxpvKH/Mb/nI+BMyIIYBqk6wedooW /Ngtg6QgiFvmLs4O8tSgPzMtqBsmAxfEs9QDRszc= Original-Received: from mb2.local (49.36.149.3 [49.36.149.3]) by mx.zoho.in with SMTPS id 1604128903293661.6243633304359; Sat, 31 Oct 2020 12:51:43 +0530 (IST) In-Reply-To: <87r1pfg51w.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 30 Oct 2020 15:30:03 +0100") X-ZohoMailClient: External X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192239 Archived-At: Lars Ingebrigtsen writes: >> When I open a remote ssh file and connect to the server for the first >> time, Tramp offers to save the password in ~/.authinfo even if the file >> ~/.authinfo.gpg exists and is already loaded (by some other package like >> Gnus). > > Do you also have a ~/.authinfo file? If you have both, it'll offer to > save it into the first one in=20 > >>> The default value of auth-sources is '("~/.authinfo" "~/.authinfo.gpg" >>> "~/.netrc") > > this variable. > > If not, can you `(setq debug-on-quit t)', and then hit `C-g' when it > offers to save in ~/.authinfo? That should give us an idea what's going > wrong here. Today, after getting your email, when I tried it again, there was a completely different flow. I connected to a new machine via =E2=80=98/ssh:u@ip:~/hello.txt=E2=80=99. S= ince the entry was not there in my =E2=80=98~/.authinfo.gpg=E2=80=99, it asked for p= assword. But tramp did not ask me to save the password. I am on (master). I tried following configurations: 1. With my customised auth-sources which is set to ("~/.authinfo.gpg") and only ~/.authinfo.gpg exists 2. With my customised auth-sources which is set to ("~/.authinfo.gpg") and both ~/.authinfo.gpg and ~/.authinfo exist 3. With default value, which is ("~/.authinfo" "~/.authinfo.gpg" "~/.netrc") and only ~/.authinfo.gpg exists 4. With default value, which is ("~/.authinfo" "~/.authinfo.gpg" "~/.netrc") and both ~/.authinfo.gpg and ~/.authinfo exist Same behaviour in all cases. Tramp is no longer asking to save the password.