On Tue, Jun 26, 2018 at 05:02:11PM -0700, Brandon Long wrote: > Ok, this patch updates the current head to have > (imap|pop|smtp)_oauth_refresh_command, consolidates the code for executing > the commands and generating the oauthbearer sasl token, and adds support or > oauthbearer for pop.
Hi Brandon, I have two comments: 1) In mutt_account_getoauthbearer(), mutt_read_line() can return NULL, so check for that too. 2) In the second patch: --- a/imap/auth_oauth.c +++ b/imap/auth_oauth.c @@ -50,7 +50,7 @@ imap_auth_res_t imap_auth_oauth (IMAP_DATA* idata, const char* method) ilen = strlen (oauthbearer) + 30; ibuf = safe_malloc (ilen); - snprintf (ibuf, ilen, "AUTHENTICATE OAUTHBEARER %s", oauthbearer); + snprintf (ibuf, ilen, "AUTHENTICATE OAUTHBEARER f%s", oauthbearer); Was the added "f" prefix intentional? -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
Description: PGP signature