all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: help-gnu-emacs@gnu.org
Cc: Ding Mailing List <ding@gnus.org>
Subject: auth-source multiple accounts (was: can emacs use the mac os x keychain?)
Date: Mon, 26 Jul 2010 14:32:14 -0500	[thread overview]
Message-ID: <87630211kx.fsf_-___44002.8555611663$1291857437$gmane$org@lifelogs.com> (raw)
In-Reply-To: i2k762$rck$1@north.jnrs.ja.net

On Mon, 26 Jul 2010 15:47:30 +0100 Uday S Reddy <uDOTsDOTreddy@cs.bham.ac.uk> wrote: 

USR> Ted Zlatanov wrote:
USR> Another question that I always wondered about.  Does auth-source allow
USR> for multiple logins on the same server/protocol combination?
>> 
>> Not currently.  The first one found is picked IIRC.  I think it would
>> make the UI significantly more complex to allow multiples and perhaps
>> confuse users.  The advanced users that need that can typically use
>> aliases for the server name.  Do you see a need for it?

USR> Yes, I think it is needed.
...
USR> I am not sure what you mean by UI getting complex.  The only user
USR> interaction seems to be to ask for a passphrase.  (There is a problem
USR> at the moment because it doesn't say passphrase for which auth-source.
USR> So, if somebody happens to use multiple auth-sources with different
USR> passphrases, they would be in trouble!)

The passphrase query is actually from EPG/EPA I think (you're referring
to the decoding of the .gpg file, right?) so it's outside of
auth-source.  The other source type is the Secrets API which requests
the passphrase externally as well.  auth-source currently does not
interact with the user.

Maybe it's better to use auth-source-pick parameters, something like
(account "my-account-1") coupled with "account my-account-1" in the
netrc file.  In Gnus we can do it since each server entry has its own
name which can be separate from the actual server address.  Will that
work in VM, giving a logical name to each account?  See auth-source-pick
and auth-source-user-or-password for the details; the query data format
is pretty simple thanks to Michael Albinus' help recently.

Ted


  reply	other threads:[~2010-07-26 19:32 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-21  1:55 can emacs use the mac os x keychain? vm user
2010-04-21  4:02 ` Barry Margolin
2010-04-21 17:36   ` Ted Zlatanov
2010-04-22  0:58     ` Barry Margolin
2010-04-23  2:18     ` vm user
2010-07-25 20:04       ` Uday S Reddy
2010-07-26  2:23         ` vm user
     [not found]       ` <87vd8z2myy.fsf@lifelogs.com>
2010-07-25  3:36         ` vm user
2010-07-26 13:47           ` Ted Zlatanov
2010-07-26 14:47             ` Uday S Reddy
2010-07-26 19:32               ` Ted Zlatanov [this message]
     [not found]               ` <87630211kx.fsf_-_@lifelogs.com>
2010-07-26 21:21                 ` auth-source multiple accounts Uday S Reddy
2010-07-27 14:06                   ` Ted Zlatanov
2010-07-27 17:19                     ` Uday S Reddy
2010-07-27 17:59                       ` Ted Zlatanov
2010-07-27 21:35                         ` Uday S Reddy
     [not found]                           ` <87y6cvu53t.fsf@lifelogs.com>
2010-07-28 21:39                             ` Uday S Reddy
2010-10-27 13:18                               ` Ted Zlatanov
2011-02-14 22:15                               ` Ted Zlatanov
2010-07-28 14:53             ` can emacs use the mac os x keychain? Ted Zlatanov
2010-07-29  4:31               ` Adrian Robert
2010-07-29 13:01                 ` Stefan Monnier
2010-07-30  9:17                   ` Richard Stallman
2010-07-30 10:37                     ` Stuart Hacking
2010-07-31  9:57                       ` Richard Stallman
2010-07-30 13:30                     ` Ted Zlatanov
2010-07-29 13:17                 ` Ted Zlatanov
2010-07-29 18:52                   ` David Reitter
2010-07-29 20:33                     ` Ted Zlatanov
2010-07-30  0:13               ` YAMAMOTO Mitsuharu
2010-07-30 13:24                 ` Ted Zlatanov
2010-08-01  1:44                   ` YAMAMOTO Mitsuharu
2010-08-01  2:53                     ` Ted Zlatanov
2010-07-25 20:09         ` Uday S Reddy

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='87630211kx.fsf_-___44002.8555611663$1291857437$gmane$org@lifelogs.com' \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    --cc=help-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 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.