bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33146: .authinfo.gpg not automatically loaded when using (dired) on


From: Christian Johansson
Subject: bug#33146: .authinfo.gpg not automatically loaded when using (dired) on macOS
Date: Mon, 29 Oct 2018 11:57:36 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

Hi!

Alright, that worked. Would it be possible to make ange-ftp.el automatically aware of .authinfo files?
I think that would improve user experience a lot.

I can try adding support for that if it's possible

Regards
Christian

On 2018-10-25 10:14, Michael Albinus wrote:
Christian Johansson <christian@cvj.se> writes:

Hi!
Hi Christian,

~/.authinfo.gpg seems to be loaded automatically for TRAMP sometimes
but not always, (dired) seems to be one command that doesn't load
.authinfo.gpg automatically.
~/.authinfo (and its different versions) are taken by the auth-sourc.el
package. Tramp is aware of it, and uses its mechanisms.

5. Paste: (dired "/ftp:dlpuser@dlptest.com@ftp.dlptest.com:/")
As said before, "ftp" based methods are delegated via Tramp to
ange-ftp.el. That package does not know auth-source.el, instead it has
implemented its own parsing of ~/.netrc style files.

Set ange-ftp-netrc-filename to "~/.authinfo.gpg", this should work.

Regards
Christian
Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]