unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Justin Dove <dove@MIT.EDU>
Cc: 17743@debbugs.gnu.org
Subject: bug#17743: 24.3; auth-source.el option "auth-source-do-cache" ignored
Date: Wed, 25 Jan 2017 18:36:56 +0100	[thread overview]
Message-ID: <87vat3rqh3.fsf@gnus.org> (raw)
In-Reply-To: <m2bnu1wmji.fsf@mit.edu> (Justin Dove's message of "Mon, 09 Jun 2014 22:01:05 -0400")

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





      reply	other threads:[~2017-01-25 17:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vat3rqh3.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=17743@debbugs.gnu.org \
    --cc=dove@MIT.EDU \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).