GNU bug report logs - #17743
24.3; auth-source.el option "auth-source-do-cache" ignored

Previous Next

Packages: gnus, emacs;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17743 in the body.
You can then email your comments to 17743 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#17743; Package emacs. (Tue, 10 Jun 2014 02:23:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Justin Dove <dove <at> MIT.EDU>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 10 Jun 2014 02:23:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Justin Dove <dove <at> MIT.EDU>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; auth-source.el option "auth-source-do-cache" ignored
Date: Mon, 09 Jun 2014 22:01:05 -0400
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 ''




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#17743; Package emacs,gnus. (Wed, 25 Jan 2017 17:45:02 GMT) Full text and rfc822 format available.

Message #8 received at 17743 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Justin Dove <dove <at> MIT.EDU>
Cc: 17743 <at> debbugs.gnu.org
Subject: Re: bug#17743: 24.3;
 auth-source.el option "auth-source-do-cache" ignored
Date: Wed, 25 Jan 2017 18:36:56 +0100
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




bug closed, send any further explanations to 17743 <at> debbugs.gnu.org and Justin Dove <dove <at> MIT.EDU> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 25 Jan 2017 17:45:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 23 Feb 2017 12:24:06 GMT) Full text and rfc822 format available.

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.