GNU bug report logs -
#17743
24.3; auth-source.el option "auth-source-do-cache" ignored
Previous Next
Reported by: Justin Dove <dove <at> MIT.EDU>
Date: Tue, 10 Jun 2014 02:23:01 UTC
Severity: normal
Found in version 24.3
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Justin Dove <dove <at> MIT.EDU> writes:
> The documentation gives the impression that setting auth-source-do-cache
> to nil should prevent auth-source from caching credentials. I have
> experimentally tested this and found it to be false. As far as I can
> tell, auth-source-do-cache is only checked in the function
> auth-source-search. It seems to me that it should also be checked in
> auth-source-remember and perhaps other associated functions.
Reading the code, auth-source does this on master now, at least:
;; note we remember the lack of result too, if it's applicable
(when auth-source-do-cache
(auth-source-remember spec found)))
And that's the only call to auth-source-remember, so I guess this has
been fixed now.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 8 years and 121 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.