all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#59018] [PATCH 0/1] OAuth2 for mbsync
@ 2022-11-04 17:56 peter
  2022-11-04 17:56 ` [bug#59019] [PATCH 1/1] gnu: Add cyrus-sasl-xoauth2 peter
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: peter @ 2022-11-04 17:56 UTC (permalink / raw)
  To: 59018; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

I am trying to get OAuth2 working for mbsync so I can check an email account
that has discontinued basic authorization.

Following these steps:
https://github.com/harishkrupo/oauth2ms/blob/main/steps.org

I am at the point of needing the xoauth2 sasl plugin to make mbsync work with
the XOAUTH2 AuthMech. Perhaps that is already a part of Guix, but I was unable
to find it.

Here is an implementation of the xoaut2 sasl plugin that I attempted to package:
https://github.com/moriyoshi/cyrus-sasl-xoauth2

It seems to compile correctly, but I was unsure of how to do the configuration
in order to make it install into the proper location. It defaults into
installing it to:
/usr/lib/sasl2

Perhaps it instead needs to go into the /lib/sasl2 directory within the
cyrus-sasl package, but I do not know how to specify that in this package's
configuration.

I assume that if cyrus-sasl is able to detect and use this plugin then it will
have the ability to use XOAUTH2 making mbsync work correctly, but that would
have to be tested to make sure more configuration is not needed.

Peter Polidoro (1):
  gnu: Add cyrus-sasl-xoauth2.

 gnu/packages/cyrus-sasl.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

-- 
2.38.0





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-11-18 17:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-04 17:56 [bug#59018] [PATCH 0/1] OAuth2 for mbsync peter
2022-11-04 17:56 ` [bug#59019] [PATCH 1/1] gnu: Add cyrus-sasl-xoauth2 peter
2022-11-06 21:12 ` [bug#59018] (no subject) dan
2022-11-06 21:18   ` ( via Guix-patches via
2022-11-07  1:32     ` dan
2022-11-15 10:49 ` [bug#59018] [PATCH 0/1] OAuth2 for mbsync Ludovic Courtès
2022-11-15 14:55   ` Peter Polidoro
2022-11-17 17:27     ` Ludovic Courtès
2022-11-18 15:50       ` Peter Polidoro

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.