all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 9113@debbugs.gnu.org, Roland Winkler <winkler@gnu.org>
Subject: bug#9113: 24.0.50; auth-sources: .authinfo versus .authinfo.gpg
Date: Thu, 26 Jan 2012 09:32:38 -0600	[thread overview]
Message-ID: <87aa5aa38p.fsf@lifelogs.com> (raw)
In-Reply-To: <jwv4nvj1awv.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 25 Jan 2012 21:02:12 -0500")

On Wed, 25 Jan 2012 21:02:12 -0500 Stefan Monnier <monnier@iro.umontreal.ca> wrote: 

>> The Emacs maintainers asked me to make the default unencrypted.  I don't
>> think they will change their position.

SM> I can't remember exactly how we got there.  But I do agree that saving
SM> a password unencrypted by default is not a good idea.

I don't recall exactly either.  But here's how we can proceed.  We have
several options:

1) go back to authinfo.gpg as the first choice

2) use unencrypted authinfo with encrypted password tokens, which looks like this:

machine supertest password gpg:jA0EAwMC2tUEaZgM7A5gyWM/owySdCOS/cjoFCuf8LI1d1kYX7z6cjsNkakM04u1geh/iesqyH3XQFI+SEVLb/oEC/EoQ0LIgRRoBiLyu9XZWN1ytY7MQxpPZniFz13oGV4/Dwl8yrP3Hba5LfQpHy2FZRM=

3) work on the libnettle support (automatic if we use GnuTLS) so the
external GPG executable is not needed to generate encrypted password
tokens or encrypted authinfo files

4) use Daiki Ueno's plist storage format (already in auth-source but not
well tested AFAIK)

5) ask the user if he has no authinfo file what he wants to do, and
choose sensible defaults from the above depending on whether EPA/EPG and
GPG; or libnettle are available.  If we do that, `auth-sources' will be
set to 'ask by default.

Additionally, we should decide if any of this is happening for 24.1.  I
would really prefer to make the default more secure for 24.1.

Ted





  reply	other threads:[~2012-01-26 15:32 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-18  3:08 bug#9113: 24.0.50; auth-sources: .authinfo versus .authinfo.gpg Roland Winkler
2012-01-25 20:18 ` Ted Zlatanov
2012-01-26  2:02   ` Stefan Monnier
2012-01-26 15:32     ` Ted Zlatanov [this message]
2012-01-26 17:28       ` Stefan Monnier
2012-01-26 17:52         ` Lars Ingebrigtsen
2012-01-26 17:53       ` Achim Gratz
2012-01-26 20:01         ` bug#9113: 24.0.50; auth-sources: .authinfo versus .authinfo.gpg, bug#9113: 24.0.50; auth-sources: .authinfo versus .authinfo.gpg, " Ted Zlatanov
2012-01-26 21:41           ` Stefan Monnier
2012-01-30 16:36             ` Lars Ingebrigtsen
2012-01-30 22:18               ` Stefan Monnier
2012-01-30 22:21                 ` Lars Ingebrigtsen
2012-01-31  9:00                 ` Michael Albinus
2012-01-31 17:51                   ` Stefan Monnier
2012-02-13 17:35                     ` Ted Zlatanov
2012-02-13 18:35                       ` Michael Albinus
2012-01-27  1:47           ` bug#9113: 24.0.50; auth-sources: .authinfo versus .authinfo.gpg, bug#9113: 24.0.50; auth-sources: .authinfo versus .authinfo.gpg, " Daiki Ueno
2012-01-27 16:23             ` Ted Zlatanov
2012-01-29  9:50               ` Daiki Ueno
2012-01-30 16:33           ` bug#9113: 24.0.50; auth-sources: .authinfo versus .authinfo.gpg, bug#9113: 24.0.50; auth-sources: .authinfo versus .authinfo.gpg, " Lars Ingebrigtsen
2012-01-31  6:55             ` Chong Yidong
2012-01-31 11:57               ` Lars Ingebrigtsen
2012-02-03 17:14                 ` Kevin Rodgers
2012-01-31 11:11             ` Ted Zlatanov
2012-01-31 11:37               ` Michael Albinus
2012-02-13 17:38                 ` Ted Zlatanov
2012-01-28  8:47       ` Roland Winkler
2012-01-28 19:05         ` Lars Ingebrigtsen
2012-01-28 19:32           ` Roland Winkler
2012-01-30 16:18             ` Lars Ingebrigtsen
2012-01-30 18:49               ` Roland Winkler

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=87aa5aa38p.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=9113@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=winkler@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 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.