all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Christian Johansson <christian@cvj.se>, 33146@debbugs.gnu.org
Subject: bug#33146: .authinfo.gpg not automatically loaded when using (dired) on macOS
Date: Sun, 18 Nov 2018 21:53:37 +0000	[thread overview]
Message-ID: <a7m6m4ri.fsf@lifelogs.com> (raw)
In-Reply-To: <87k1lmlh3m.fsf@gmx.de> (Michael Albinus's message of "Fri, 09 Nov 2018 10:45:17 +0100")

On Fri, 09 Nov 2018 10:45:17 +0100 Michael Albinus <michael.albinus@gmx.de> wrote: 

MA> Requirements from ange-ftp.el would be at least

MA> - Support of the "account" token.
MA> - Support of the "default" token.
MA> - Check of proper file permissions of "~/.netrc" or whatever file is
MA>   specified (see ange-ftp-disable-netrc-security-check).

MA> The "account" token is already parsed in auth-source.el, but it is not
MA> divided from the "login" token. Both are handled via the common keyword
MA> :user.

MA> The "default" token is already parsed in auth-source.el, but I'm not
MA> sure it is used in the sense ange-ftp.el expects it. In auth-source.el
MA> this token is expanded to an entry of its own, with an unspecified
MA> "machine". In ange-ftp.el, the tokens of "default" are used for all
MA> other entries, replacing missing tokens. AFAIU.

MA> Once this is prepared in auth-source.el, I would be able to integrate it
MA> in ange-ftp.el. That is a more simple task; I've done this already for Tramp.

Hi Michael,

if you or a user could define the desired behavior as tests against
auth-source.el (we already have that set up in the core), I'd be happy
to implement them. Something like "for this call, with this
authinfo/netrc content, I expect to get back this data."

I wasn't able to deduce the desired behavior on my own, unfortunately.

Checking the permissions of the netrc file sounds like a good feature.
For a GPG file it's not so important.

MA> - Everything I have forgotten to tell here ...

There's always a few of those... :)

Ted





  reply	other threads:[~2018-11-18 21:53 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
2018-11-09  9:45           ` Michael Albinus
2018-11-18 21:53             ` Ted Zlatanov [this message]
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=a7m6m4ri.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=33146@debbugs.gnu.org \
    --cc=christian@cvj.se \
    --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.