GNU bug report logs - #56404
[PATCH 0/2] gnu: Add python-msal and oauth2ms.

Previous Next

Package: guix-patches;

Reported by: John Kehayias <john.kehayias <at> protonmail.com>

Date: Tue, 5 Jul 2022 17:23:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56404 in the body.
You can then email your comments to 56404 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#56404; Package guix-patches. (Tue, 05 Jul 2022 17:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to John Kehayias <john.kehayias <at> protonmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 05 Jul 2022 17:23:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: John Kehayias <john.kehayias <at> protonmail.com>
To: Guix-patches <guix-patches <at> gnu.org>
Subject: [PATCH 0/2] gnu: Add python-msal and oauth2ms.
Date: Tue, 05 Jul 2022 17:22:27 +0000
Hello Guix,

Here are two straight forward patches to add python-msal and oauth2ms. Short commentary:

1. python-msal: a package for Microsoft authentication tokens. Tests were disabled because most/all needed network access, and could only disable some of these tests with an environment variable. I did use the GitHub source since it includes tests, in case this can be better worked around in the future, or if using the source directly.

2. oauth2ms: a python script to use msal in order to have usable tokens, like needing oauth2 tokens for getting/sending mail with multi-factor authentication required email services. I copied the readme and steps.org which have documentation for setting this up to the appropriate doc folder. There is no release or version tag and the script needed to be wrapped.

As a final note, I've used this to send mail through my university email server that uses Microsoft Office 365 with multi-factor authentication (so you can't use your password or an app password). oauth2ms provides instructions for doing this in emacs, which I used for mu4e. And if you can't create the needed keys in Azure (as I couldn't) you can use Thunderbird's https://hg.mozilla.org/comm-central/file/tip/mailnews/base/src/OAuth2Providers.jsm#l127 along with your providers "tenet id" which I could find by logging on to Azure even without permissions to create an app.

Hope someone else finds this useful!
John




Information forwarded to guix-patches <at> gnu.org:
bug#56404; Package guix-patches. (Tue, 05 Jul 2022 17:25:02 GMT) Full text and rfc822 format available.

Message #8 received at 56404 <at> debbugs.gnu.org (full text, mbox):

From: John Kehayias <john.kehayias <at> protonmail.com>
To: "56404 <at> debbugs.gnu.org" <56404 <at> debbugs.gnu.org>
Subject: [PATCH 1/2] gnu: Add python-msal.
Date: Tue, 05 Jul 2022 17:24:23 +0000
[Message part 1 (text/plain, inline)]
Empty Message
[0001-gnu-Add-python-msal.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#56404; Package guix-patches. (Tue, 05 Jul 2022 17:26:02 GMT) Full text and rfc822 format available.

Message #11 received at 56404 <at> debbugs.gnu.org (full text, mbox):

From: John Kehayias <john.kehayias <at> protonmail.com>
To: "56404 <at> debbugs.gnu.org" <56404 <at> debbugs.gnu.org>
Subject: [PATCH 2/2] gnu: Add oauth2ms.
Date: Tue, 05 Jul 2022 17:25:40 +0000
[Message part 1 (text/plain, inline)]
Empty Message
[0002-gnu-Add-oauth2ms.patch (text/x-patch, attachment)]

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Sun, 17 Jul 2022 19:42:01 GMT) Full text and rfc822 format available.

Notification sent to John Kehayias <john.kehayias <at> protonmail.com>:
bug acknowledged by developer. (Sun, 17 Jul 2022 19:42:01 GMT) Full text and rfc822 format available.

Message #16 received at 56404-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: John Kehayias <john.kehayias <at> protonmail.com>
Cc: 56404-done <at> debbugs.gnu.org
Subject: Re: bug#56404: [PATCH 0/2] gnu: Add python-msal and oauth2ms.
Date: Sun, 17 Jul 2022 21:41:11 +0200
Hello John,

John Kehayias <john.kehayias <at> protonmail.com> skribis:

> Here are two straight forward patches to add python-msal and oauth2ms.

Applied, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 15 Aug 2022 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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