summaryrefslogtreecommitdiff
path: root/imap/src/c-client/auth_oa2.c
AgeCommit message (Collapse)Author
2021-11-21 * Support for code_verifier and code_challenge when generating aEduardo Chappa
refresh token and access token in Gmail using the S256 method and plain method.
2021-08-28 * Fix of more memory leaks and a crash due to incorrect freeing of memory, ↵Eduardo Chappa
introduced in commit 8961761e0b3c7b3cc11a00f6ac6ebf7a29bc5a10
2021-08-23 * Fix some memory leaks reported by Valgrind.Eduardo Chappa
2021-05-08 * Clear out some gcc warnings, and code improvement. Work in progress.Eduardo Chappa
2020-11-01 * The previous commit does not allow clients to login using xoauth2, soEduardo Chappa
this commit fixes that.
2020-11-01 * Improvements to the cancel authentication logic to not to make itEduardo Chappa
have a delay when cancelling authentication.
2020-08-29 * When a server expires a refresh token, Alpine needs to cancel itEduardo Chappa
internally. * Fixes to some prototyping for code related to authentication. * Fixes to documentation contributed by Dennis Davis.
2020-06-26 * Expansion of the configuration screen for XOAUTH2 to includeEduardo Chappa
username, and tenant. * If a user has more than one client-id for a service, Alpine tries to asks the user which client-id to use and associates that client-id to the credentials in the XOAUTH2 configuration screen.
2020-06-12 * Initial implementation of XOAUTH2 authentication support for Outlook.Eduardo Chappa
Based on documentation suggested by Andrew C Aitchison.
2020-05-21 * Update to some http_* functions to return status code returned by server.Eduardo Chappa
2020-05-18 * A few improvements to the http code, which make the http_* functions not ↵Eduardo Chappa
return the headers of a http reply. So, http_get returns the text retrieved retrieverd, without headers. This allows for simplification of the mm_login_oauth2_c_client function.
2020-05-13 * Avoid error messages or tcp timeouts when cancelling imap authentication.Eduardo Chappa
2020-05-13 * Clear a few compilations warnings, produced by gcc.Eduardo Chappa
2020-05-09 * Several improvements to Alpine's support of XOAUTH2. In the case of Gmail,Eduardo Chappa
a text explaining the basic steps on how to configure fully Alpine with Gmail was added. In addition, some issues introduced while included OAUTHBEARER were also fixed.
2020-05-08 * Bug prevented development version from establishing a XOAUTH2 ↵Eduardo Chappa
authentication.
2020-02-19 * Added support for SALS-IR (rfc 4959) and similar support for otherEduardo Chappa
protocols (SMTP, NNTP, POP3) as some SMTP servers do not support a round-trip two step authentication. For example, davmail does not support PLAIN authentication in SMTP using the challenge-response scheme. Implemented after a report by Geoffrey Bodwin.
2020-01-26 * Add support for the OAUTHBEARER authentication method in Gmail. Thanks toEduardo Chappa
Alexander Perlis for suggesting it and explaining how the method works.
2020-01-15 * Add configuration screen for XOAUTH, so users can configure their ownEduardo Chappa
client-id and client-secret information.
2020-01-04 * The feature that stopped alpine from saving passwords in the passwordEduardo Chappa
file prevented users from actually saving their passwords in Windows and MAC OS. Fix the code so that passwords will be saved. Also, update the documentation of this feature. * Fix a buffer overflow bug in the XOAUTH2 code (off by one error). * Update PC-Alpine to work with Libressl version 3.0.2 instead of version 2.5.5 (update build.bat and lib files from the LibreSSL build). * Erase SSLXXXXXX file. * ssl_nt.c actually directs the code to ssl_libressl.c or ssl_win.c. The file ssl_libressl.c is the file ssl_unix.c from the unix osdep directory. The file ssl_win.c is the native SSL windows code. The Unix side provides S/MIME support for Alpine and the latest encryption protocols support for Alpine when connecting to a secure server, while the windows side provide TLSv1_3 support for Alpine, but not S/MIME support. In order to provide unix code for TLSv1_3 (once LibreSSL supports it) edit the file os_nt.c and remove the comments on the #ifdef section. This would provide both TLSv1_3 and S/MIME support with unix code. On the other hand, when we provide TLSv1_3 with the Windows code we need to undefine DF_ENCRYPTION_RANGE, and this is done in the file include/config.wnt.h. The way this is done as of this moment is by commenting an #else directive that preceedes this #undefine. * Update makefile.nt and friends in the windows side to account for the addition of XOAUTH2, and the use of only ssl_nt.c when dealing with Alpine. * Define SMIME_SSLCERTS as c:\libressl\ssl\certs, so that these certificates be considered while checking a digital S/MIME signature. * Improvements to the SMARTTIME24 token to account for changes in year.
2019-05-04 * Initial release of XOAUTH2 authentication support in Alpine forEduardo Chappa
Gmail.