GNU bug report logs - #22824
Use smtpmail-smtp-user if auth-source-search doesn't return user field

Previous Next

Package: emacs;

Reported by: Jun Hao <jun_hao <at> aol.com>

Date: Sat, 27 Feb 2016 08:27:01 UTC

Severity: normal

Tags: fixed, patch

Fixed in version 26.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jun Hao <jun_hao <at> aol.com>
Cc: 22824 <at> debbugs.gnu.org
Subject: Re: bug#22824: Use smtpmail-smtp-user if auth-source-search doesn't
 return user field
Date: Sun, 28 Feb 2016 16:02:19 +1030
Jun Hao <jun_hao <at> aol.com> writes:

> Long term is to fix auth-source-search. Looks like it missed this case
> in auth-source-macos-keychain-search-items. If account has '\' in it,
> security will return something like:
>
> "acct"<blob>=0x414E545C6A756E68616F  "ANT\134junhao"
>
> instead of form current code expects:
>
> "acct"<blob>="junhao"
>
> Even auth-source-search is fixed, I still think this patch is nice
> to have to make smtpmail more robust.

Well, this is purely a bug in auth-source, so I think a workaround in
smtpmail.el would just be confusing.

What is that encoding of the user name that the MacOS keychain uses?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 8 years and 249 days ago.

Previous Next


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