GNU bug report logs - #39111
27.0.60; Tramp offers to save password in ~/.authinfo instead of ~/.authinfo.gpg

Previous Next

Package: emacs;

Reported by: Pankaj Jangid <p4j <at> j4d.net>

Date: Mon, 13 Jan 2020 09:46:01 UTC

Severity: normal

Found in version 27.0.60

Full log


Message #50 received at 39111 <at> debbugs.gnu.org (full text, mbox):

From: Pankaj Jangid <p4j <at> j4d.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 39111 <at> debbugs.gnu.org, Michael Albinus <michael.albinus <at> gmx.de>
Subject: Re: bug#39111: 27.0.60; Tramp offers to save password in
 ~/.authinfo instead of ~/.authinfo.gpg
Date: Thu, 02 Sep 2021 19:26:11 +0530
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

>> If you want to debug tramp-read-passwd calling auth-source-search, you
>> can do the trick by
>>
>> # emacs -Q --eval '(setq tramp-cache-read-persistent-data t)'
>>
>> It's a dirty trick to be applied only for this use case. I've added a
>> comment to tramp-read-passwd explaining this, pushed to master.
>
> Thanks; then everything here seems to be working as intended -- at least
> in my tests.  Pankaj -- were you testing with "-Q"?  As far as I can
> tell, Emacs is prompting and saving passwords properly with Emacs 28.

I have tried to redo this using ‘emacs -Q’ as well as without using the
option ‘-Q’. Emacs is not asking to save the password in my auth file,
in both the cases.

Value of ‘auth-sources’ is currently set to ("~/.authinfo.gpg").




This bug report was last modified 3 years and 258 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.