GNU bug report logs - #59018
[PATCH 0/1] OAuth2 for mbsync

Previous Next

Package: guix-patches;

Reported by: peter <at> polidoro.io

Date: Fri, 4 Nov 2022 17:57:01 UTC

Severity: normal

Tags: patch

Merged with 59019

Full log


View this message in rfc822 format

From: peter <at> polidoro.io
To: 59018 <at> debbugs.gnu.org
Cc: Peter Polidoro <peter <at> polidoro.io>
Subject: [bug#59018] [PATCH 0/1] OAuth2 for mbsync
Date: Fri,  4 Nov 2022 13:56:04 -0400
From: Peter Polidoro <peter <at> 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





This bug report was last modified 2 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.