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 #30 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Thierry Volpiatto <thievol <at> posteo.net>
To: bug-gnu-emacs <at> gnu.org
Subject: [Re] bug#39111: 27.0.60; Tramp offers to save password in
 ~/.authinfo instead of ~/.authinfo.gpg
Date: Wed, 01 Sep 2021 06:24:29 +0000
[Message part 1 (text/plain, inline)]
> Yes, this is intended. When instructing users to hunt Tramp bugs, wrong
> passwords have been in the way, several times. That's why the call to
> auth-source-search is disabled when calling "emacs -Q". This is
> documented in the Tramp manual, node "(tramp) Bug Reports".
> 
> 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.

Note that this is (was) breaking async.el see
https://github.com/jwiegley/emacs-async/issues/80.

-- 
Thierry
[signature.asc (application/pgp-signature, inline)]

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

Previous Next


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