Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: tramp-devel@mail.freesoftware.fsf.org
Cc: ding@gnus.org
Subject: Re: Secrets API "login" session is now "Login"?
Date: Mon, 14 Feb 2011 15:27:00 -0600	[thread overview]
Message-ID: <874o86pasb.fsf@lifelogs.com> (raw)
In-Reply-To: <87r5bamidq.fsf@gmx.de>

On Mon, 14 Feb 2011 22:11:13 +0100 Michael Albinus <michael.albinus@gmx.de> wrote: 

MA> Ted Zlatanov <tzz@lifelogs.com> 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

  reply	other threads:[~2011-02-14 21:27 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-14 15:23 Ted Zlatanov
2011-02-14 15:39 ` Michael Albinus
2011-02-14 16:55   ` Ted Zlatanov
2011-02-14 20:36     ` Michael Albinus
2011-02-14 20:56       ` Ted Zlatanov
2011-02-14 21:11         ` Michael Albinus
2011-02-14 21:27           ` Ted Zlatanov [this message]
2011-02-14 21:50             ` Michael Albinus
2011-02-14 21:58               ` Michael Albinus
2011-02-14 22:09                 ` Ted Zlatanov
2011-02-14 22:20                   ` Michael Albinus
2011-02-15 13:48                     ` Ted Zlatanov
2011-02-15 14:09                       ` Michael Albinus
2011-02-15 15:19                         ` Ted Zlatanov
2011-02-15 15:26                           ` Michael Albinus
2011-02-14 21:46           ` Michael Albinus
2011-02-14 21:49             ` Ted Zlatanov
2011-02-14 22:01               ` Michael Albinus

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=874o86pasb.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    --cc=tramp-devel@mail.freesoftware.fsf.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).