unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: bug-gnu-emacs@gnu.org
Subject: Re: bug#8069: 23.2.94; auth-source should support ~/.netrc by default
Date: Fri, 18 Feb 2011 15:50:07 -0600	[thread overview]
Message-ID: <87bp29vwq8.fsf@lifelogs.com> (raw)
In-Reply-To: mailman.12.1297982231.1785.bug-gnu-emacs@gnu.org

On Thu, 17 Feb 2011 22:14:53 +0000 Reuben Thomas <rrt@sc3d.org> wrote: 

RT> Carrot: Default to searching ~/.netrc (unencrypted), ~/.authinfo
RT> (unencrypted), and ~/.authinfo.gpg (encrypted). This means that users
RT> with an unencrypted file or old-name file are not annoyed. By all means
RT> create a symlink from ~/.authinfo to ~/.netrc if the former doesn’t
RT> already exist, and don’t actually search ~/.netrc. (But maybe that would
RT> create potential security problems of its own.)

I want the .gpg file first because I really want to push people towards
encrypting sensitive data.  Otherwise that's fine and a trivial change
and I'll make it soon.

RT> Stick: Display a minibuffer warning message when an unencrypted file is
RT> found. Thus, the user is not actually interrupted (which breeds
RT> annoyance), but does receive a gentle reminder that encrypted is better.

RT> (You could display a more urgent message, or interrupt the user, if a
RT> world-readable authorisation file is found.)

I don't think auth-source.el should undertake that kind of monitoring.
It's annoying and, when incorrect, *very* annoying.

RT> Note that this suggestion does not affect users who have already
RT> migrated to ~/.authinfo{,.gpg}.

It will do an extra fopen() every time something can't be found, even
when .netrc doesn't exist, so it definitely affects people.  I will add
.netrc because it's sensible but I don't like so many file searches.

Ted


  parent reply	other threads:[~2011-02-18 21:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.12.1297982231.1785.bug-gnu-emacs@gnu.org>
2011-02-18  0:37 ` bug#8069: 23.2.94; auth-source should support ~/.netrc by default Lars Magne Ingebrigtsen
2011-06-30  0:12   ` Lars Magne Ingebrigtsen
2011-02-18 21:50 ` Ted Zlatanov [this message]
2011-02-22 18:27   ` Ted Zlatanov
2011-02-17 22:14 Reuben Thomas

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bp29vwq8.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=bug-gnu-emacs@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).