From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69410 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.tramp,gmane.emacs.gnus.general Subject: Re: Passwords, stored in Gnome Keyring and KWallet Date: Mon, 22 Feb 2010 14:41:29 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87vddp0zra.fsf@lifelogs.com> References: <87iq9sezh6.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1266914732 31654 80.91.229.12 (23 Feb 2010 08:45:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Feb 2010 08:45:32 +0000 (UTC) Cc: ding@gnus.org To: tramp-devel@mail.freesoftware.fsf.org Original-X-From: tramp-devel-bounces+tramp=quimby.gnus.org@gnu.org Tue Feb 23 09:45:28 2010 Return-path: Envelope-to: tramp@deer.gmane.org Original-Received: from quimby.gnus.org ([80.91.231.51]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NjqOU-0005ZD-Sd for tramp@deer.gmane.org; Tue, 23 Feb 2010 09:45:26 +0100 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1NjqOU-0000o5-00 for ; Tue, 23 Feb 2010 09:45:26 +0100 Original-Received: from localhost ([127.0.0.1]:35935 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjqOS-0007jq-AF for tramp@quimby.gnus.org; Tue, 23 Feb 2010 03:45:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Njf6W-0008Hg-Ao for tramp-devel@mail.freesoftware.fsf.org; Mon, 22 Feb 2010 15:42:08 -0500 Original-Received: from [140.186.70.13] (port=33645 helo=mail.fsf.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Njf6D-0008CK-Ko for tramp-devel@mail.freesoftware.fsf.org; Mon, 22 Feb 2010 15:42:07 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:47654) by mail.fsf.org with esmtp (Exim 4.69) (envelope-from ) id 1Njf6D-0003fG-1k for tramp-devel@mail.freesoftware.fsf.org; Mon, 22 Feb 2010 15:41:49 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Njf6A-0004Cv-KG for tramp-devel@mail.freesoftware.fsf.org; Mon, 22 Feb 2010 21:41:46 +0100 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Feb 2010 21:41:46 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Feb 2010 21:41:46 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.91 (gnu/linux) Cancel-Lock: sha1:FFAypsG4czh5HII0xizlwpSn7W0= X-detected-operating-system: by mail.fsf.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Tue, 23 Feb 2010 03:35:53 -0500 X-BeenThere: tramp-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: tramp-devel.gnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: tramp-devel-bounces+tramp=quimby.gnus.org@gnu.org Errors-To: tramp-devel-bounces+tramp=quimby.gnus.org@gnu.org Xref: news.gmane.org gmane.emacs.tramp:7187 gmane.emacs.gnus.general:69410 Archived-At: On Sat, 20 Feb 2010 15:47:01 +0100 Michael Albinus wrote: MA> the GNOME Keyring and KDE Wallet developers have agreed a common API, MA> called Secret Services, to access their password repositories. This API MA> is D-Bus based, see MA> . MA> I have written a small package, secrets.el, which uses this API to read MA> and write passwords. It is tested with GNOME Keyring 2.29.90; a public MA> KWallet implementation is not available yet. I intend to use it in MA> Tramp; it will also be proposed to be added to GNU Emacs after the 23.2 MA> release. It might also be applicable in XEmacs, once D-Bus support has MA> been added there. MA> However, it might be useful to apply this package somewhere else as MA> well. One idea is to integrate it into auth-sources.el, as configurable MA> alternative to the ~/authinfo.gpg password store. That's a great idea. auth-sources right now only has strings to represent a source (implying a netrc-style file), but it's easy to augment it to support something like 'secret-services or a more complicated structure, e.g. '(secret-services parameter1 parameter2) The only things we have to agree is how to pick an entry (auth-source-pick, but this is probably OK as is) and how to get the data out (auth-source-user-or-password, anything like netrc-machine-user-or-password will work). Sadly I don't see secrets.el in the Tramp repo currently. Is it available? Perhaps it's better to name it sec-serv.el or something similarly more descriptive? It doesn't matter that much to me. Ted