emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Potential bug/inconsistency in auth-source netrc vs plstore backends


From: Soham Gumaste
Subject: Re: Potential bug/inconsistency in auth-source netrc vs plstore backends
Date: Sun, 10 Nov 2024 12:29:37 -0600

>
> I think that's how auth-source is supposed to work.  People would need 2
> entries with different `:port's, one for imap(s), one for smtp, for both to
> work.  Or maybe there is a better way now?
>

Well, auth-source should also work if one has simply `password
<password>` in the netrc file, and that password would be used for
every port, every user etc. However, the plstore backed for
auth-sources currently requires that the keys host, user, password,
and port ALL are present in the entry for it to successfully match.

I wanted some insight into this discrepancy. My goal with the
oauth2.el changes is to have minimum viable integration with
auth-sources such that the existing functions using it work. It's
narrower in scope than your plugin, and perhaps when I have a final
patchset ready we can discuss the merits of each.

Thanks
-- 
Soham Gumaste
sohamg2@gmail.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]