In trying to debug auth failures from something that should be getting its auth info from
auth-sources, I noticed an extremely weird thing:
auth-source-search frequently returns
nil for valid queries -- queries that in fact work elsewhere in the code.
For instance: I have these two lines in my
machine gmail.com login gastove password mypassword port xmpp machine dev.urbanairship.com login gastove password myotherpassword
(auth-source-search :host "dev.urbanairship.com")
Returns the very normal, expected:
((:host "dev.urbanairship.com" :user "gastove" :secret (lambda (&rest --cl-rest--) (apply ... ... ... --cl-rest--))))
(auth-source-search :host "gmail.com")
Returns the totally imponderable:
nil. This makes even less sense because that line provide auth info to
jabber.el, which is working normally. I've even confirmed
jabber.el is reading my
.authinfo.gpg by deleting that line. It's not like it's just the host -- a search for
:user "gastove", for instance, only returns the second line, not the first.
So uh. What's going on? Any ideas?