GNU bug report logs - #34011
26.1; smtpmail-try-auth-method: wrong-type-argument characterp Á¢\203^M^@ÀÁ¢À¢!_\210À¢\207

Previous Next

Package: emacs;

Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>

Date: Mon, 7 Jan 2019 19:16:01 UTC

Severity: normal

Tags: moreinfo

Found in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: 34011 <at> debbugs.gnu.org
Subject: Re: bug#34011: Acknowledgement (26.1; smtpmail-try-auth-method:
 wrong-type-argument characterp Á¢\203^M^@ÀÁ¢À¢!_\210À¢\207)
Date: Tue, 05 Mar 2019 17:17:58 +0100
[Message part 1 (text/plain, inline)]
I think I'm starting to understand what's happening:

When the bug occurs, I can't send email with one of my 2 addresses for a
while.
Generally, the other address works fine, but not always.
After some hours, the bug goes away, without me doing anything special.

After reading through the auth-source manual, I realized thanks to
`(setq auth-source-debug 'trivia)' that the passwords are cached.

Running `(auth-source-forget-all-cached)' clears the issue instantly.

My conclusion is that somehow the password cache gets corrupted, in ways
that are not handled properly by Emacs.

What's really puzzling is that the issue is not deterministic.  The only
source of non-determinism I can see here is that the password cache is a
hash table.

Something else: I noticed that one of my passwords in .authinfo.gpg had
both a " (double quote) and a ' (simple quote), which, according to the
manual, is not supported.  auth-source does not catch this, it would be
nice if it would.

I've changed the offending password.  Let's see if I ever get an issue again.

--
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 240 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.