|
From: | Gustavo Barros |
Subject: | Re: TRAMP, auth-source and Secret Service API "label" prompt |
Date: | Mon, 25 Jan 2021 11:20:21 -0300 |
User-agent: | mu4e 1.4.15; emacs 27.1 |
On Mon, 25 Jan 2021 at 11:03, Michael Albinus <michael.albinus@gmx.de> wrote:
IIRC, in case of "emacs -Q", Tramp does not call auth-source-search. I made this in order to get better error reports, w/o the hazzle to instruct people how to configure auth-sources well. Try the following after loading tramp.el: (setq tramp-cache-read-persistent-data t) This enables also using cached properties, but this shouldn't hurt in your case.
Ah, bingo! I had no idea, and was starting to think I was mad. :-) Anyway, then we have an `emacs -Q' reproduction recipe: #+begin_src emacs-lisp (load-library "tramp") (setq tramp-cache-read-persistent-data t) (setq auth-source-save-behavior nil) (setq auth-sources '(default "secrets:session" "secrets:Login" "~/.authinfo.gpg")) #+end_srcNow find file "/sudo::/tmp/test.txt", enter password, and meet the infamous "label prompt".
Best regards, Gustavo.
[Prev in Thread] | Current Thread | [Next in Thread] |