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?
http://code.confuego.org/secrets-xdg-specs/ 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
    collection

- 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...

Thanks
Ted


_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to