tramp-devel
[Top][All Lists]
Advanced

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

Re: Passwords, stored in Gnome Keyring and KWallet


From: Katsumi Yamaoka
Subject: Re: Passwords, stored in Gnome Keyring and KWallet
Date: Mon, 29 Mar 2010 14:00:22 +0900
User-agent: Gnus/5.110011 (No Gnus v0.11) XEmacs/21.5-b29 (linux)

>>>>> Ted Zlatanov wrote:
> I've checked in a new version of auth-source.el that supports secrets.el
> and should be backwards compatible with the old auth-sources format.
> The manual auth.texi was also updated.

> Michael, I left a TODO in the manual for explaining secrets.el.

Now `auth-sources' defaults to `((:source "~/.authinfo.gpg"))',
which causes `auth-source-pick' to perform:

(plist-get "~/.authinfo.gpg" :secrets)

Emacs 22/23/24 returns nil for it, however it makes Emacs 21 and
XEmacs cause an error and prevents Gnus from starting.  This
workaround makes it work:

--- auth-source.el~     2010-03-28 21:49:05 +0000
+++ auth-source.el      2010-03-29 04:58:50 +0000
@@ -214,7 +214,7 @@
        (dolist (choice auth-sources)
          (let* ((s (plist-get choice :source))
                 ;; this is only set for Secret Service API specs (see 
secrets.el)
-                (coll (plist-get s :secrets))
+                (coll (and (consp s) (plist-get s :secrets)))
                 (score 0))
            (cond
             (coll                              ; use secrets.el here

reply via email to

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