GNU bug report logs - #46674
28.0.50; Tramp ignores tramp-completion-use-auth-sources

Previous Next

Package: emacs;

Reported by: Ergus <spacibba <at> aol.com>

Date: Sun, 21 Feb 2021 05:23:01 UTC

Severity: normal

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: 46674 <at> debbugs.gnu.org
Cc: spacibba <at> aol.com
Subject: bug#46674: 28.0.50; Tramp ignores tramp-completion-use-auth-sources
Date: Sun, 21 Feb 2021 15:03:58 +0100
Ergus via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs <at> gnu.org> writes:

Hi,

> The function: tramp-read-passwd calls auth-source-search
> unconditionally, and ignores tramp-completion-use-auth-sources.

tramp-completion-use-auth-sources suppresses auth-source based
completion only for completing user and host names in the minibuffer.

If you want to suppress the use of auth-source also for passwords, Tramp
2.5 describes the following in its manual:

--8<---------------cut here---------------start------------->8---
   In case you do not want to use an authentication file for TRAMP
passwords, use connection-local variables (*note (emacs)Connection
Variables::) like this:

     (connection-local-set-profile-variables
      'remote-without-auth-sources '((auth-sources . nil)))

     (connection-local-set-profiles
      '(:application tramp) 'remote-without-auth-sources)
--8<---------------cut here---------------end--------------->8---

Best regards, Michael.




This bug report was last modified 4 years and 174 days ago.

Previous Next


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