GNU bug report logs - #33146
.authinfo.gpg not automatically loaded when using (dired) on macOS

Previous Next

Package: emacs;

Reported by: Christian Johansson <christian <at> cvj.se>

Date: Thu, 25 Oct 2018 05:28:01 UTC

Severity: wishlist

Full log


Message #8 received at 33146 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Christian Johansson <christian <at> cvj.se>
Cc: 33146 <at> debbugs.gnu.org
Subject: Re: bug#33146: .authinfo.gpg not automatically loaded when using
 (dired) on macOS
Date: Thu, 25 Oct 2018 10:14:14 +0200
Christian Johansson <christian <at> 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 <at> dlptest.com <at> 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.




This bug report was last modified 6 years and 213 days ago.

Previous Next


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