* bug#17743: 24.3; auth-source.el option "auth-source-do-cache" ignored
@ 2014-06-10 2:01 Justin Dove
2017-01-25 17:36 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Justin Dove @ 2014-06-10 2:01 UTC (permalink / raw)
To: 17743
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.
Justin
In GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
of 2013-03-10 on bob.porkrind.org
Windowing system distributor `Apple', version 10.3.1187
Configured using:
`configure '--host=x86_64-apple-darwin' '--build=i686-apple-darwin'
'--with-ns' 'build_alias=i686-apple-darwin'
'host_alias=x86_64-apple-darwin' 'CC=gcc -mmacosx-version-min=10.5 ''
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#17743: 24.3; auth-source.el option "auth-source-do-cache" ignored
2014-06-10 2:01 bug#17743: 24.3; auth-source.el option "auth-source-do-cache" ignored Justin Dove
@ 2017-01-25 17:36 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2017-01-25 17:36 UTC (permalink / raw)
To: Justin Dove; +Cc: 17743
Justin Dove <dove@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-25 17:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-10 2:01 bug#17743: 24.3; auth-source.el option "auth-source-do-cache" ignored Justin Dove
2017-01-25 17:36 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).