[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#77760: 31.0.50; false positive match for smtpmail-try-auth-methods w
From: |
Robert Pluim |
Subject: |
bug#77760: 31.0.50; false positive match for smtpmail-try-auth-methods with password-store |
Date: |
Fri, 18 Apr 2025 09:38:36 +0200 |
>>>>> On Fri, 18 Apr 2025 00:04:20 +0200, Julien Cubizolles
>>>>> <j.cubizolles@free.fr> said:
Julien> Robert Pluim <rpluim@gmail.com> writes:
>>>>>>> On Sat, 12 Apr 2025 11:13:15 +0200, Julien Cubizolles
<j.cubizolles@free.fr> said:
>>
Julien> The smtpmail-try-auth-methods give positive results for entries in
the
Julien> password-store that don't match the right host. All
Julien> entries with the right :user and that hold a :secret are considered
Julien> valid. Adding :type 'netrc fixes this problem. I thought that
adding :host in the
Julien> :require field should also fix it but for some reason it doesn't…
>>
>> If youʼre testing in a single emacs session, then
>> `auth-source-forget-all-cached' will get things back into a sane state.
Julien> I tried it. It doesn't change the fact that the call to
Julien> auth-source-search from smtpmail-try-auth-methods will return a
result
Julien> with a "match" for an entry in password-store with the right :user
field
Julien> but a wrong :host. In my case, the right entry for smtp
identification is
Julien> defined in .authinfo.gpg but because of entries with the same user
field
Julien> but different host in password store, this smtp entry is not picked.
Ah, youʼre using both password store and .authinfo.gpg? That might
explain why I canʼt reproduce it using just .authinfo.gpg.
Could you give me a (sanitized) sample of the failing config?
Robert
--