From: Christian Johansson <christian@cvj.se>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 33146@debbugs.gnu.org
Subject: bug#33146: .authinfo.gpg not automatically loaded when using (dired) on macOS
Date: Thu, 8 Nov 2018 16:37:09 +0100 [thread overview]
Message-ID: <c5824b3f-650e-ef61-153d-3923485da31b@cvj.se> (raw)
In-Reply-To: <87ftwbn5oz.fsf@gmx.de>
Hi Michael
Would it be a huge task extending auto-source.el to make it compatible
with ange-ftp as well?
I think many people would appreciate that feature, but it's not really a
bug rather a feature request
Sounds good to improve the documentation about the possible work-around
Regards
Christian
On 2018-11-08 12:56, Michael Albinus wrote:
> Michael Albinus <michael.albinus@gmx.de> writes:
>
> Hi Christian,
>
>>> 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.
>> Finally, it means that ange-ftp.el uses auth-source.el. Anything goes,
>> but somebody must implement it. And auth-source.el has its own
>> interpretation of the "port" element in .netrc/.authinfo lines, which is
>> kind of incompatible.
>>
>> I'll mark this bug report as wishlist. If nobody beats me I'll could do
>> it, but it will take time (too many other open requests). And for the
>> time being, you'll be able to apply the workaround.
> I have checked ange-ftp.el, and it does much more with the netrc file
> than auth-sources.el. For example, it handles also the "account" token.
>
> Therefore I have decided not to touch this. Instead, I have added the
> following text to the Tramp manual, section "5.12.1 Using an
> authentication file":
>
> --8<---------------cut here---------------start------------->8---
> *Note* that ‘auth-source.el’ is not used for ‘ftp’ connections,
> because TRAMP passes the work to Ange FTP. If you want, for example,
> use your ‘~/.authinfo.gpg’ authentication file, you must customize
> ‘ange-ftp-netrc-filename’:
>
> (customize-set-variable 'ange-ftp-netrc-filename "~/.authinfo.gpg")
> --8<---------------cut here---------------end--------------->8---
>
> If you agree, I would close this bug.
>
>>> Regards
>>> Christian
> Best regards, Michael.
next prev parent reply other threads:[~2018-11-08 15:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-25 5:22 bug#33146: .authinfo.gpg not automatically loaded when using (dired) on macOS Christian Johansson
2018-10-25 8:14 ` Michael Albinus
2018-10-29 10:57 ` Christian Johansson
2018-10-29 11:22 ` Michael Albinus
2018-11-08 11:56 ` Michael Albinus
2018-11-08 15:37 ` Christian Johansson [this message]
2018-11-09 9:45 ` Michael Albinus
2018-11-18 21:53 ` Ted Zlatanov
2018-11-19 16:50 ` Christian Johansson
2018-11-20 8:30 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c5824b3f-650e-ef61-153d-3923485da31b@cvj.se \
--to=christian@cvj.se \
--cc=33146@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.