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: Thu, 7 Nov 2024 14:43:25 -0600

Apologies for the double email but please CC me in replies as I
consume this list in digest mode.

On Thu, Nov 7, 2024 at 2:34 PM Soham Gumaste <sohamg2@gmail.com> wrote:
>
> Hello,
>
> I am trying to patch the `oauth2.el` elpa library to better integrate
> with the native auth-sources system so that functions like nnimap and
> smtpmail can use it transparently.
>
> I noticed the following inconsistency while playing with this: As
> shown by [1], the netrc backend does not require :host, :user or :port
> as required keys in matched results, however, the plstore backend
> requires :host, :login: :port and :secret.
>
> This is causing an issue for me as I would like to patch the oauth2.el
> library to store the access token as a secret, but without any port
> associated with it. The oauth2.el library already uses plstore and it
> is the more convenient backend to use.
>
> Please let me know if this is indeed a bug and the possible direction
> for a bugfix patch if that is the case.
>
> Thanks
>
>
> [1]: 
> https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/auth-source.el#n1274
> [2]: 
> https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/auth-source.el#n2112
> --
> Soham Gumaste
> sohamg2@gmail.com



-- 
Soham Gumaste
sohamg2@gmail.com



reply via email to

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