summaryrefslogtreecommitdiff
path: root/imap/src/c-client
AgeCommit message (Collapse)Author
2021-11-24 * Clear up warnings and update documentation.Eduardo Chappa
2021-11-22 * Rename the hmac() function in imap/src/c-client/hmac.c to c_client_hmacEduardo Chappa
to avoid redefinition, as some systems include the hmac() function in stdlib.h. Reported by Hisashi Fujinaka.
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-11-20 * Addition of support for SHA1 to SHA512 needed for future additions toEduardo Chappa
Alpine. The code is taken and adapted from code in RFC 4634.
2021-11-01 * When Alpine is trying to decide which client-id to choose it used to limitEduardo Chappa
its choices the ps_global->vars[V_XOAUTH2_INFO].current_val.l. Now it will also use ps_global->vars[V_XOAUTH2_INFO].main_user_val.l. In addition some of the code in alpine/xoauth2conf.c was moved to the c-client library.
2021-10-27 * Contributions by Thomas Uhle:Eduardo Chappa
. Add support to the LDAP attribute "userCertificate"; . Move voiceMailTelephoneNumber from the TCL side to ldap_translate; . XOAUTH2 state generator changes format specifier from %x to %02x; . Clear compiler warnings and correct spelling in documentation. . Web Alpine will not attempt to continue a postponed message if the postponed-msgs folder is empty.
2021-10-10 * Alpine might delete all passwords from the password file if theEduardo Chappa
password file is not unlocked by cancellation, or the authentication for an XOAUTH2 server is cancelled, or the password of an account is changed.
2021-09-12 * Additional code so that passwords are not deleted when connectionsEduardo Chappa
are lost.
2021-09-09 * Alpine will delete passwords that do not work from internal memoryEduardo Chappa
and the local password cache (password file or system local cache.)
2021-08-28 * Changes to auth_bea.c similar to those of auth_oa2.c.Eduardo Chappa
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-08-19 * Clear out some warnings given by gcc-10.Eduardo Chappa
2021-08-15 * The c-client library parses information from an IMAP server duringEduardo Chappa
non-authenticated state which could lead to denial of service. Reported by Damian Poddebniak from Münster University of Applied Sciences.
2021-08-10 * Improvements to http.c and json.c for support of future code.Eduardo Chappa
2021-08-09 * Update to json code to simplify it.Eduardo Chappa
2021-07-30 * Improvements to the http and json code.Eduardo Chappa
2021-07-28 * Print error when trying to authenticate using XOAUTH2, when available.Eduardo Chappa
2021-06-10 * Rewrite of http code to keep connections alive after GET and POSTEduardo Chappa
commands.
2021-06-06 * Clear some warnings given by gcc-10.Eduardo Chappa
2021-05-15 * Eliminate no timeout from https connection.Eduardo Chappa
2021-05-08 * Clear out some gcc warnings, and code improvement. Work in progress.Eduardo Chappa
2021-04-29 * Crash in the ntlm authenticator when no domain was specified in theEduardo Chappa
username. Reported and fixed by Anders Skargren.
2021-04-17 * Add new variable ssl-ciphers to list the ciphers that will be used whenEduardo Chappa
negotiating a secure connection with a SSL server. Work in collaboration with professor Martin Trusler.
2021-04-10 * New alpha version 2.24.1Eduardo Chappa
2021-04-04 * http debug support sets debug flag before checking if stream is open and ↵Eduardo Chappa
might be closed.
2021-03-28 * Many spelling errors corrected by Jens Schleusener. Thank you!Eduardo Chappa
2021-03-27 * Remove the ability to choose between the device and authorize methodsEduardo Chappa
to login to outlook, since the original client-id can only be used for the device method. One needs a special client-id and client-secret to use the authorize method in Outlook.
2021-03-27 * new http option for debug. This is mostly useful to debug XOAUTH2Eduardo Chappa
autentication and reveals sensitive login information. Use with care. Remove your .pine-debug file after using this option.
2021-02-25 * Updates to old port for HP-UX 9.X, after work with Martin Trusler.Eduardo Chappa
2020-11-23 * Add support for the base64 URL encoding.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-10-03 * Set up the IMAP ID at the moment of loging in to the server, rather thanEduardo Chappa
as a one time option, in case we need to use a special IMAP ID.
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-08-27 * Ignore non-empty initial challenge in the GSSAPI authenticator.Eduardo Chappa
Some SMTP servers send a non-empty initial challenge, causing Alpine to cancel the authentication (in accordance to RFC). Patch was submitted by Ignacio Reguero, but written by Jarek Polok, to the re-alpine project (see https://sourceforge.net/p/re-alpine/bugs/16/) Patch was resubmitted here, but the code was modified in an equivalent but different way.
2020-07-28 * XOAUTH2: automatic renew of access token and connection to a serverEduardo Chappa
within 60 seconds of expiration of the access token.
2020-07-18 * Addition of the variables User Certs Dir and User Certs File, which allowEduardo Chappa
a user to specify the location of server certificates that the user trusts.
2020-07-09 * Add choice of Authorization flow to Alpine. Alpine supports two ways to getEduardo Chappa
authorization to read email. One is called "Authorize" and the other "Device". Some servers support both, some only one. For servers that support both, Alpine will ask if it does not know which method to choose. Inspired by a conversation with Pieter Jacques.
2020-07-02 * Fix some compilation warnings in Windows. Reported by Barry Landy.Eduardo Chappa
2020-06-29 * Modifications to protect the privacy of users:Eduardo Chappa
+ Alpine does not generate Sender or X-X-Sender by default by making [X] Do Not Generate Sender Header the default. + Alpine does not disclose User Agent by default by making [X] Suppress User Agent When Sending the default. + Alpine uses the domain in the From: header of a message to generate a message-id and suppresses all information about Alpine, version, revision, and time of generation of the message-id from this header. This information is replaced by a random string.
2020-06-26 * When Alpine starts a PREAUTH connection, it might still ask the userEduardo Chappa
to login. Reported by Frank Tobin.
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-18 * Crash if Privacy Policy is not accessible.Eduardo Chappa
2020-06-18 * Compilation error in Alpine when using the ntlm authenticator.Eduardo Chappa
Reported by Marco Beishuizen.
2020-06-18 * Security Bug: Alpine can be configured to start a secure connection ↵Eduardo Chappa
using /tls on an insecure connection. However, if the connection is PREAUTH, Alpine will not upgrade the connection to a secure connection, because a client must not issue a STARTTLS to a server that supports it in authenticated state. This makes Alpine continue to use an insecure connection with the server, exposing user data. Reported by Damian Poddebniak and Fabian Ising, from Münster University of Applied Sciences.
2020-06-12 * Additional addition of doucmentation for XOAUTH2, some fixes in the ↵Eduardo Chappa
documentation, fixes in the configuration screen, and documentation on what is needed in each structure defining each service.
2020-06-12 * Initial implementation of XOAUTH2 authentication support for Outlook.Eduardo Chappa
Based on documentation suggested by Andrew C Aitchison.
2020-06-08 * Corrections to spelling errors, contributed by Jens Schleusener.Eduardo Chappa
2020-06-08 * Remove some compilation warnings given by clang7.Eduardo Chappa