[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22824: Use smtpmail-smtp-user if auth-source-search doesn't return u
From: |
Lars Ingebrigtsen |
Subject: |
bug#22824: Use smtpmail-smtp-user if auth-source-search doesn't return user field |
Date: |
Sun, 28 Feb 2016 16:02:19 +1030 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Jun Hao <jun_hao@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