[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passwords, stored in Gnome Keyring and KWallet

From: Ted Zlatanov
Subject: Re: Passwords, stored in Gnome Keyring and KWallet
Date: Sat, 20 Mar 2010 14:47:27 -0500
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

I tried to work on this but secrets.el was not usable on a recent Ubuntu
system (secrets-list-collections, for example, fails).  Can you explain
how to set it up or point me to a resource? specified the protocol only
and I couldn't find a tutorial anywhere.

I comitted changes to the customization of auth-sources which would let
the user specify, in addition to the current "file" option expressed as
a string filename:

- a ':secrets' specifier, matching a host and a protocol and (optionally)
  a user name

- within each ':secrets' specifier, one of:

  - a collection name as a string

  - the 'default symbol (which we'll convert to a collection name with
    (secrets-get-alias "default") IIUC)

  - nil to indicate we don't have a valid collection and this specifier
    should be skipped (this helps with misconfigured specifiers)

  - t to indicate any collection is OK, we'll pick the first one
    returned by secrets-list-collections that matches the host, port,
    and username

  - the string "session" to indicate the temporary session-level

- optional parameters at the end of the spec, including a user name.  I
  may move the host and port to these optional parameters as well but
  I'm not sure if that's a good idea.  Comments welcome.

So this is about 30% done...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]