[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Secrets API "login" session is now "Login"?
From: |
Ted Zlatanov |
Subject: |
Re: Secrets API "login" session is now "Login"? |
Date: |
Mon, 14 Feb 2011 15:27:00 -0600 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
On Mon, 14 Feb 2011 22:11:13 +0100 Michael Albinus <address@hidden> wrote:
MA> Ted Zlatanov <address@hidden> 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
- Secrets API "login" session is now "Login"?, Ted Zlatanov, 2011/02/14
- Re: Secrets API "login" session is now "Login"?, Michael Albinus, 2011/02/14
- Re: Secrets API "login" session is now "Login"?, Ted Zlatanov, 2011/02/14
- Re: Secrets API "login" session is now "Login"?, Michael Albinus, 2011/02/14
- Re: Secrets API "login" session is now "Login"?, Ted Zlatanov, 2011/02/14
- Re: Secrets API "login" session is now "Login"?, Michael Albinus, 2011/02/14
- Re: Secrets API "login" session is now "Login"?,
Ted Zlatanov <=
- Re: Secrets API "login" session is now "Login"?, Michael Albinus, 2011/02/14
- Re: Secrets API "login" session is now "Login"?, Michael Albinus, 2011/02/14
- Re: Secrets API "login" session is now "Login"?, Ted Zlatanov, 2011/02/14
- Re: Secrets API "login" session is now "Login"?, Michael Albinus, 2011/02/14
- Re: Secrets API "login" session is now "Login"?, Ted Zlatanov, 2011/02/15
- Re: Secrets API "login" session is now "Login"?, Michael Albinus, 2011/02/15
- Message not available
- Re: Secrets API "login" session is now "Login"?, Michael Albinus, 2011/02/15
- Re: Secrets API "login" session is now "Login"?, Michael Albinus, 2011/02/14
- Re: Secrets API "login" session is now "Login"?, Ted Zlatanov, 2011/02/14
- Re: Secrets API "login" session is now "Login"?, Michael Albinus, 2011/02/14