From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76752 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.tramp,gmane.emacs.gnus.general Subject: Re: Secrets API "login" session is now "Login"? Date: Mon, 14 Feb 2011 15:27:00 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <874o86pasb.fsf@lifelogs.com> References: <8739nqtzbo.fsf@lifelogs.com> <87lj1ik4l6.fsf@gmx.de> <87aahysghw.fsf@lifelogs.com> <87y65imjyw.fsf@gmx.de> <87tyg6pc7s.fsf@lifelogs.com> <87r5bamidq.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297719917 723 80.91.229.12 (14 Feb 2011 21:45:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Feb 2011 21:45:17 +0000 (UTC) Cc: ding@gnus.org To: tramp-devel@mail.freesoftware.fsf.org Original-X-From: tramp-devel-bounces+get-tramp-devel=m.gmane.org@gnu.org Mon Feb 14 22:45:13 2011 Return-path: Envelope-to: get-tramp-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pp6EL-0005Nx-6S for get-tramp-devel@m.gmane.org; Mon, 14 Feb 2011 22:45:13 +0100 Original-Received: from localhost ([127.0.0.1]:34997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pp6EK-0003aI-Qz for get-tramp-devel@m.gmane.org; Mon, 14 Feb 2011 16:45:12 -0500 Original-Received: from [140.186.70.13] (port=52776 helo=mail.fsf.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pp6EH-0003aD-BU for tramp-devel@mail.freesoftware.fsf.org; Mon, 14 Feb 2011 16:45:11 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:38189) by mail.fsf.org with esmtp (Exim 4.69) (envelope-from ) id 1Pp6EG-000055-U3 for tramp-devel@mail.freesoftware.fsf.org; Mon, 14 Feb 2011 16:45:09 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pp6ED-0005KC-Fu for tramp-devel@mail.freesoftware.fsf.org; Mon, 14 Feb 2011 22:45:05 +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, 14 Feb 2011 22:45:05 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Feb 2011 22:45:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 59 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/24.0.50 (gnu/linux) Cancel-Lock: sha1:9IjFc7J9hYC7qCKLHLTqStQUEkY= X-detected-operating-system: by mail.fsf.org: GNU/Linux 2.6 (newer, 3) 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+get-tramp-devel=m.gmane.org@gnu.org Errors-To: tramp-devel-bounces+get-tramp-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.tramp:7662 gmane.emacs.gnus.general:76752 Archived-At: On Mon, 14 Feb 2011 22:11:13 +0100 Michael Albinus wrote: MA> Ted Zlatanov writes: MA> I'm running an up-to-date Ubuntu 10.10. In secrets.el, I see >> MA> (secrets-get-alias "default") MA> => "login" >> MA> Maybe you have changed the default alias via `secrets-set-alias'? >> >> No, I'm sure. >> >> (secrets-get-alias "default") >> => nil >> >> (secrets-list-collections) >> => ("session" "Login") MA> What do you get with (secrets-get-collections) ? => ("/org/freedesktop/secrets/collection/session" "/org/freedesktop/secrets/collection/login") >> We use "Login" in many of the examples. I wanted a collection that may >> actually have entries from other programs. It's just puzzling that >> "login" worked until recently and seahorse still says "login". MA> Do you have another gnome-keyring incarnation running? Is there another MA> ofd.secrets service running, like kwallet? Are seahorse and Emacs using MA> the same D-Bus session bus? MA> Maybe you trace D-Bus messages with dbus-monitor, in both cases (opening MA> seahorse, using secrets.el). dbus-monitor says that for seahorse, the paths are like "path=/org/freedesktop/secrets/collection/login/5" For secrets.el, (secrets-get-collections) produces: signal sender=org.freedesktop.DBus -> dest=:1.196 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired string ":1.196" method call sender=:1.196 -> dest=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='method_call'" method call sender=:1.196 -> dest=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='method_return'" method call sender=:1.196 -> dest=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='error'" but then (secrets-list-collections) produces: method call sender=:1.191 -> dest=org.freedesktop.secrets serial=17 path=/org/freedesktop/secrets/collection/login; interface=org.freedesktop.DBus.Properties; member=Get string "org.freedesktop.Secret.Collection" string "Label" method return sender=:1.5 -> dest=:1.191 reply_serial=17 variant string "Login" so the label for that collection is "Login"? I guess seahorse doesn't show the collection label, only the basename. Ted