Re: IMAP OAUTHBEARER patch

2018-06-12 Thread Brandon Long
On Mon, Jun 11, 2018 at 5:22 PM Kevin J. McCarthy wrote: > On Mon, Jun 11, 2018 at 03:12:45PM -0700, Brandon Long wrote: > > Hey mutt-dev, long time no see. > > > > Gmail supports RFC 7628 for using OAUTH with IMAP, and they really don't > > like you using password based auth. You can still enab

Re: IMAP OAUTHBEARER patch

2018-06-12 Thread Brandon Long
And the updated patch. I don't know how to make git give me a single patch of the entire change, so this is my three local commits appended together, ie with git format-patch origin --stdout On Tue, Jun 12, 2018 at 12:28 PM Brandon Long wrote: > > > On Mon, Jun 11, 2018 at 5:22 PM Kevin J. McCa

Re: IMAP OAUTHBEARER patch

2018-06-12 Thread Brandon Long
Ah, and now with support for that for smtp as well. This does make some of the smtp-auth stuff compiled in even without sasl support. And works with the following settings: set smtp_authenticators="oauthbearer" set smtp_url="smtps://x...@gmail.com@smtp.gmail.com:465" set smtp_pass=`/path/to/oauth

Re: IMAP OAUTHBEARER patch

2018-06-12 Thread Will Yardley
On Mon, Jun 11, 2018 at 03:12:45PM -0700, Brandon Long wrote: > Gmail supports RFC 7628 for using OAUTH with IMAP, and they really don't > like you using password based auth. You can still enable "less secure > apps" and then generate an application specific password, but I figured it > was time t

Re: IMAP OAUTHBEARER patch

2018-06-12 Thread Yubin Ruan
On 2018-06-12 12:56, Brandon Long wrote: > And the updated patch. I don't know how to make git give me a single patch > of the entire change, so this is my three local commits appended together, > ie with git format-patch origin --stdout "git format-patch -1 HEAD" will give you one commit in a si

Re: IMAP OAUTHBEARER patch

2018-06-12 Thread Brandon Long
On Tue, Jun 12, 2018 at 8:32 PM Will Yardley wrote: > On Mon, Jun 11, 2018 at 03:12:45PM -0700, Brandon Long wrote: > > Gmail supports RFC 7628 for using OAUTH with IMAP, and they really don't > > like you using password based auth. You can still enable "less secure > > apps" and then generate a

Re: IMAP OAUTHBEARER patch

2018-06-12 Thread Will Yardley
On Tue, Jun 12, 2018 at 09:36:34PM -0700, Brandon Long wrote: > On Tue, Jun 12, 2018 at 8:32 PM Will Yardley > wrote: > > > On Mon, Jun 11, 2018 at 03:12:45PM -0700, Brandon Long wrote: > > > Gmail supports RFC 7628 for using OAUTH with IMAP, and they really don't > > > like you using password ba

Re: IMAP OAUTHBEARER patch

2018-06-12 Thread Brandon Long
On Tue, Jun 12, 2018, 9:42 PM Will Yardley wrote: > On Tue, Jun 12, 2018 at 09:36:34PM -0700, Brandon Long wrote: > > On Tue, Jun 12, 2018 at 8:32 PM Will Yardley > > > wrote: > > > > > On Mon, Jun 11, 2018 at 03:12:45PM -0700, Brandon Long wrote: > > > > Gmail supports RFC 7628 for using OAUTH