unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / Atom feed
* bug#46674: 28.0.50; Tramp ignores tramp-completion-use-auth-sources
       [not found] <20210221052134.dh5dva3yw5gguwb5.ref@Ergus>
@ 2021-02-21  5:21 ` Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-02-21 14:03   ` Michael Albinus
  0 siblings, 1 reply; 3+ messages in thread
From: Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-02-21  5:21 UTC (permalink / raw)
  To: 46674


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



In GNU Emacs 28.0.50 (build 29, x86_64-pc-linux-gnu, GTK+ Version 3.24.25, cairo version 1.17.4)
  of 2021-02-20 built on Ergus
Repository revision: 496bed5cf4c9dc02f18741e3eacfaca78c373db6
Repository branch: master
System Description: Arch Linux

Configured using:
  'configure --prefix=/home/ergo/.local/ --with-mailutils --with-json
  --with-x-toolkit=gtk3 --with-xft --with-wide-int --with-modules
  --with-cairo --with-harfbuzz'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG
SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB

Important settings:
   value of $LC_ALL: en_US.utf8
   value of $LANG: en_US.UTF-8
   locale-coding-system: utf-8-unix

Major mode: ELisp/l

Minor modes in effect:
   diff-hl-margin-local-mode: t
   diff-hl-margin-mode: t
   diff-hl-mode: t
   shell-dirtrack-mode: t
   global-auto-revert-mode: t
   xclip-mode: t
   yas-global-mode: t
   yas-minor-mode: t
   show-paren-mode: t
   winner-mode: t
   company-mode: t
   flyspell-mode: t
   flycheck-mode: t
   counsel-mode: t
   ivy-mode: t
   electric-pair-mode: t
   composable-mark-mode: t
   composable-mode: t
   repeat-mode: t
   xterm-mouse-mode: t
   save-place-mode: t
   which-key-mode: t
   override-global-mode: t
   delete-selection-mode: t
   savehist-mode: t
   global-display-fill-column-indicator-mode: t
   display-fill-column-indicator-mode: t
   global-display-line-numbers-mode: t
   display-line-numbers-mode: t
   eldoc-mode: t
   mouse-wheel-mode: t
   tab-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   size-indication-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t

Load-path shadows:
/usr/share/emacs/site-lisp/cmake-mode hides /home/ergo/.emacs.d/elpa/cmake-mode-20210104.1831/cmake-mode
/usr/share/emacs/site-lisp/notmuch-crypto hides /home/ergo/.emacs.d/elpa/notmuch-20210205.1412/notmuch-crypto
/usr/share/emacs/site-lisp/notmuch-compat hides /home/ergo/.emacs.d/elpa/notmuch-20210205.1412/notmuch-compat
/usr/share/emacs/site-lisp/notmuch-hello hides /home/ergo/.emacs.d/elpa/notmuch-20210205.1412/notmuch-hello
/usr/share/emacs/site-lisp/notmuch hides /home/ergo/.emacs.d/elpa/notmuch-20210205.1412/notmuch
/usr/share/emacs/site-lisp/notmuch-show hides /home/ergo/.emacs.d/elpa/notmuch-20210205.1412/notmuch-show
/usr/share/emacs/site-lisp/notmuch-maildir-fcc hides /home/ergo/.emacs.d/elpa/notmuch-20210205.1412/notmuch-maildir-fcc
/usr/share/emacs/site-lisp/coolj hides /home/ergo/.emacs.d/elpa/notmuch-20210205.1412/coolj
/usr/share/emacs/site-lisp/notmuch-draft hides /home/ergo/.emacs.d/elpa/notmuch-20210205.1412/notmuch-draft
/usr/share/emacs/site-lisp/notmuch-tree hides /home/ergo/.emacs.d/elpa/notmuch-20210205.1412/notmuch-tree
/usr/share/emacs/site-lisp/notmuch-parser hides /home/ergo/.emacs.d/elpa/notmuch-20210205.1412/notmuch-parser
/usr/share/emacs/site-lisp/notmuch-lib hides /home/ergo/.emacs.d/elpa/notmuch-20210205.1412/notmuch-lib
/usr/share/emacs/site-lisp/notmuch-mua hides /home/ergo/.emacs.d/elpa/notmuch-20210205.1412/notmuch-mua
/usr/share/emacs/site-lisp/notmuch-message hides /home/ergo/.emacs.d/elpa/notmuch-20210205.1412/notmuch-message
/usr/share/emacs/site-lisp/notmuch-address hides /home/ergo/.emacs.d/elpa/notmuch-20210205.1412/notmuch-address
/usr/share/emacs/site-lisp/notmuch-wash hides /home/ergo/.emacs.d/elpa/notmuch-20210205.1412/notmuch-wash
/usr/share/emacs/site-lisp/notmuch-tag hides /home/ergo/.emacs.d/elpa/notmuch-20210205.1412/notmuch-tag
/usr/share/emacs/site-lisp/notmuch-print hides /home/ergo/.emacs.d/elpa/notmuch-20210205.1412/notmuch-print
/usr/share/emacs/site-lisp/notmuch-query hides /home/ergo/.emacs.d/elpa/notmuch-20210205.1412/notmuch-query
/usr/share/emacs/site-lisp/notmuch-jump hides /home/ergo/.emacs.d/elpa/notmuch-20210205.1412/notmuch-jump
/usr/share/emacs/site-lisp/notmuch-company hides /home/ergo/.emacs.d/elpa/notmuch-20210205.1412/notmuch-company

Features:
(shadow sort notmuch-company notmuch-lib notmuch-version notmuch-compat
mm-view mml-smime smime dig mail-extr windmove emacsbug message rmc puny
rfc822 mml mml-sec gnus-util rmail rmail-loaddefs mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils misearch
multi-isearch diff-hl-margin diff-hl-dired diff-hl log-view pcvs-util
vc-dir ewoc vc vc-dispatcher jka-compr help-fns radix-tree cl-print
tramp-cmds epa-file epa derived epg epg-config sudo-edit dired-aux
tramp-cache tramp-sh tramp tramp-loaddefs trampver tramp-integration
files-x tramp-compat shell pcomplete parse-time iso8601 time-date
ls-lisp format-spec vc-git diff-mode bookmark pp autorevert filenotify
xclip yasnippet-snippets yasnippet paren winner company flyspell ispell
flycheck dash debug backtrace find-func thingatpt amx s counsel xdg xref
project dired dired-loaddefs compile text-property-search comint
ansi-color swiper ivy-avy avy ivy flx ring ivy-faces ivy-overlay colir
term/tmux term/xterm xterm elec-pair init composable composable-mark
powerline powerline-separators color powerline-themes pcase repeat
package browse-url url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util mailcap url-handlers
url-parse auth-source password-cache json subr-x map url-vars xt-mouse
simple-16-theme saveplace diminish which-key advice configmail cl-extra
help-mode use-package use-package-ensure use-package-delight
use-package-diminish use-package-bind-key bind-key use-package-core
disp-table delsel savehist easy-mmode display-fill-column-indicator
display-line-numbers info easymenu ede/auto eieio-base cl-seq seq eieio
byte-opt bytecomp byte-compile cconv eieio-core cl-macs gv
eieio-loaddefs tex-site edmacro kmacro cl-loaddefs cl-lib rx
slime-autoloads early-init iso-transl tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 279659 28220)
  (symbols 48 21944 1)
  (strings 32 67345 6776)
  (string-bytes 1 2384322)
  (vectors 16 39987)
  (vector-slots 8 1231329 177623)
  (floats 8 215 1264)
  (intervals 56 7760 3140)
  (buffers 992 16))





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#46674: 28.0.50; Tramp ignores tramp-completion-use-auth-sources
  2021-02-21  5:21 ` bug#46674: 28.0.50; Tramp ignores tramp-completion-use-auth-sources Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-02-21 14:03   ` Michael Albinus
  2021-02-22 15:03     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Albinus @ 2021-02-21 14:03 UTC (permalink / raw)
  To: 46674; +Cc: spacibba

Ergus via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs@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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#46674: 28.0.50; Tramp ignores tramp-completion-use-auth-sources
  2021-02-21 14:03   ` Michael Albinus
@ 2021-02-22 15:03     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-02-22 15:03 UTC (permalink / raw)
  To: Michael Albinus; +Cc: spacibba, 46674

Michael Albinus <michael.albinus@gmx.de> writes:

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

Then I guess this is working as designed, and I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-22 15:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210221052134.dh5dva3yw5gguwb5.ref@Ergus>
2021-02-21  5:21 ` bug#46674: 28.0.50; Tramp ignores tramp-completion-use-auth-sources Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-21 14:03   ` Michael Albinus
2021-02-22 15:03     ` Lars Ingebrigtsen

unofficial mirror of bug-gnu-emacs@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/emacs-bugs/0 emacs-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 emacs-bugs emacs-bugs/ https://yhetil.org/emacs-bugs \
		bug-gnu-emacs@gnu.org
	public-inbox-index emacs-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.bugs
	nntp://news.gmane.io/gmane.emacs.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git