From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66388 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: global authinfo mechanism in Emacs, Gnus, Tramp Date: Thu, 28 Feb 2008 09:12:04 -0700 Message-ID: References: <86ejbrrvg3.fsf@lifelogs.com> <86bq61m6ph.fsf_-_@lifelogs.com> Reply-To: Tom Tromey NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204218455 14795 80.91.229.12 (28 Feb 2008 17:07:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Feb 2008 17:07:35 +0000 (UTC) Cc: ding@gnus.org, Tramp Development List , Emacs developers To: Ted Zlatanov Original-X-From: ding-owner+M14878@lists.math.uh.edu Thu Feb 28 18:08:00 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1JUmE0-0008TV-8K for ding-account@gmane.org; Thu, 28 Feb 2008 18:07:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1JUmCt-0000Sg-J0; Thu, 28 Feb 2008 11:06:07 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1JUm8n-0000R1-Ji for ding@lists.math.uh.edu; Thu, 28 Feb 2008 11:01:53 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JUm8h-0006e0-MX for ding@lists.math.uh.edu; Thu, 28 Feb 2008 11:01:53 -0600 Original-Received: from mx1.redhat.com ([66.187.233.31]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JUm8n-0006sS-00 for ; Thu, 28 Feb 2008 18:01:53 +0100 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m1SH1Xnm004688; Thu, 28 Feb 2008 12:01:33 -0500 Original-Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m1SH1W0E006004; Thu, 28 Feb 2008 12:01:32 -0500 Original-Received: from opsy.redhat.com (vpn-15-111.rdu.redhat.com [10.11.15.111]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m1SH1W6X026966; Thu, 28 Feb 2008 12:01:32 -0500 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 4CCA63780C3; Thu, 28 Feb 2008 09:12:04 -0700 (MST) X-Attribution: Tom In-Reply-To: <86bq61m6ph.fsf_-_@lifelogs.com> (Ted Zlatanov's message of "Thu\, 28 Feb 2008 09\:38\:50 -0600") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66388 gmane.emacs.devel:90737 Archived-At: >>>>> "Ted" == Ted Zlatanov writes: Ted> I'm tired of specifying special variables for authentication everywhere Ted> in Emacs and in Gnus. I see a *lot* of questions about setting those Ted> up in Gnus, as well, so I think we can do better. Additionally it would be nice not to have to set the variables by hand at all... Emacs could remember the passwords in a keyring. Ted> entry: Ted> protocol-or-purpose: ['pop, 'imap, 'imaps, 'ssh, t] Ted> hardcoded: (:user "me" :password 'ask :cache 60) Ted> file: (:name "/a/b/c" :epg-parameters () :other-parameters ()) Ted> command: (:program "/bin/true" :parameters ()) Gnome's keyring manager uses (more or less) an application-specified alist and returns the best match. That way different users of the keyring can store the information they need there. Tom