summaryrefslogtreecommitdiff
path: root/imap/src/osdep
AgeCommit message (Collapse)Author
2021-04-18 * Fixes to the support for ssl ciphers (variable could be setEduardo Chappa
in alpine, but never seen by c-client.)
2021-04-17 * This code was not committed earlier, and is part of support of theEduardo Chappa
ssl-ciphers configuration option.
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-03-30 * Added line "#include <time.h>" to file imap/src/osdep/unix/os_osx.hEduardo Chappa
to fix a compilation error in mac, reported by several people. The fix was tested successfuly by Steven Michaud in the following systems: macOS 11.2.3 XCode 12.4 macOS 10.15.7 XCode 11.1 macOS 10.14.6 XCode 10.3 macOS 10.13.6 XCode 9.1 macOS 10.12.6 XCode 8.3.3 OS X 10.11.6 XCode 7.3.1 OS X 10.10.5 XCode 6.1.1 OS X 10.9.5 XCode 6.1.1 See https://trac.macports.org/ticket/61590
2021-03-28 * Many spelling errors corrected by Jens Schleusener. Thank you!Eduardo Chappa
2020-09-27 * remove warning compilation about safe_flock not defined in compilationEduardo Chappa
in Linux.
2020-08-06 * Clear a compilation issue in PC-Alpine.Eduardo Chappa
2020-08-05 * When Alpine opens a folder in a server whose address is given numericallyEduardo Chappa
it might crash due to an incorrect freeing of memory. Reported by Wang Kang.
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-19 * Remove the line "#define fork vfork" in imap/src/osdep/unix/os_osx.c, ↵Eduardo Chappa
because the call to vfork inside a vfork causes an error EINVAL; however, the same calls are not causing trouble in other systems, so they are going to stay there. Reported and asisted by Wang Kang.
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-17 * Experimental: Attempt to implement the Encryption Range in Windows. It worksEduardo Chappa
in Windows 10, and it should work in Windows 8.1. It needs testing in Windows 7 and Windows Vista.
2020-07-03 * Experimental: Elimination of the w32 build code for PC-Alpine.Eduardo Chappa
Now w32 and wnt are the same code, so we are only left with wnt and wxp.
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-13 * Promote the login authentication method higher thanEduardo Chappa
OAUTHBEARER and XOAUTH2. This avoids using these authentication methods when other authentication methods are still working.
2020-06-12 * Initial implementation of XOAUTH2 authentication support for Outlook.Eduardo Chappa
Based on documentation suggested by Andrew C Aitchison.
2020-05-10 * Remove CC=cc from Makefiles under the imap/ directory. Also redefineEduardo Chappa
ARRC, as these are inherited from values set in the configure script, which in turn can be inherited from environment variables. This implies that to build c-client one needs to specify these variables, and since this is not being built as a stand-alone library anymore, we take these values from the configure script. Submitted by Robert Siebeck.
2020-02-09 * Creation of port wxp to build Alpine in Windows XP. At the timeEduardo Chappa
of this writing, the port w32 is the same as the port wxp, but it is intended to target other 32 bit operating systems.
2020-02-03 * Add variable system-certs-file to indicate the location of a containerEduardo Chappa
of CA certificates. This complements the variable system-certs-path that gives the location the directory that containes CA certificates.
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-25 * New variable system-certs-path that allows users to indicate theEduardo Chappa
location of the directory where folders are located. In PC-Alpine this must be C:\libressl\ssl\certs. The C: drive can be replaced by the name of the drive where the binary and DLL files are located.
2020-01-19 * Creating w32 port for compilation of Alpine. This is intended for oldEduardo Chappa
machines that cannot be updated. Long story short: Always use the command "build wnt" to build Alpine. If that does not work, try "build w32", which is for machines that are too old and do not have any way to use modern encryption protocols such as TLSv1.2. The version of Alpine built in modern machines will be called alpine.exe, and the binary built with the port w32 will be called alpine32 in the repository. All other binaries can be downloaded from the main web site, and they will not have the suffix "32" there.
2020-01-18 * Adding pith_ssl_encryption function to linkage.h.Eduardo Chappa
2020-01-18 * Various fixes to copyright notices, make sure we allocate enoughEduardo Chappa
memory in file http.c, and move Pico version to 5.10.
2020-01-17 * Add file imap/src/osdep/nt/nt_libressl.c, which is useful to buildEduardo Chappa
the windows version of Alpine in a 32-bit environment.
2020-01-16 * Fix a few more misspellings in the source code of Alpine.Eduardo Chappa
List contributed by Jens Schleusener.
2020-01-15 * Fix a number of misspellings in the source code of Alpine. I hav onlyEduardo Chappa
fixed those that belong to the source code of Alpine and do not come from an external source. List contributed by Jens Schleusener.
2020-01-10 * Add file ssl_win.c, which is necessary for the compilation ofEduardo Chappa
PC-Alpine.
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-11-25 * Add lnpno port to imap/src/osdep/unix/Makefile to account for ports that doEduardo Chappa
not need/want to build using pam. Add more robustness to the configure process, to add -lcrypt to the build flags when --with-bundled-tools=no is given.
2019-10-08 * Compilation problem and error in logic in function ssl_validate_cert.Eduardo Chappa
The issue with logic was that of the two checks for validation of if the first one was not done, the second one would not be done. The intention was to do the second check if the first check failed. Reported by Erich Ecknet.
2019-10-06 * Check for name of server in "server validation code" in more places.Eduardo Chappa
* Document request message for first time use reports IMAP for any remote connection. Report the correct type of service instead.
2019-09-26 * Return a read() to be a read of one byte. The current code has a codeEduardo Chappa
for a read of zero bytes, but this causes problems. Reported by Greg Oster.
2019-09-06 * Fixes so that Alpine will build in the Windows operating system. ThisEduardo Chappa
update takes care of building with LibreSSL.
2019-07-05 * Fix compilation error produced when a specific encryption protocolEduardo Chappa
has been disabled during the compilation of the Openssl library.
2019-05-23 * Code to limit versions of the encryption protocol uses old calls,Eduardo Chappa
and not the new calls.
2019-05-04 * Initial release of XOAUTH2 authentication support in Alpine forEduardo Chappa
Gmail.
2019-04-28 * Compilation failure in Solaris when ldap is enabled. Reported byEduardo Chappa
"mechanic" in comp.mail.pine. * Configure script modifications to set the ldap-dir value correctly. * Fix some typos in documentation.
2019-02-28 * Clean up some code in the ssl_unix module. It adds to the lastEduardo Chappa
modifications in the ssl_unix module.
2019-02-17 * Rewrite support for specific SSL encryption protocols, includingEduardo Chappa
a. Add a new variable: encryption-protocol-range, which can be used to specify the minimum and maximum versions of the TLS protocol that Alpine will attempt to use to encrypt its communication with the server. b. Add support for the Server Name Identification (SNI) extension needed for TLSv1.3. c. Remove the DTLS code. It was not being used.
2018-09-30 * Define TLS_client_version to be the highest TLSv1*_client_methodEduardo Chappa
that is available in case that this is not defined by OpenSSL.
2018-09-29 * Add the /tls1_3 modifier to establish connections use the TLS protocolEduardo Chappa
version 1.3.
2018-08-12 * Several changes to the compilation of Alpine in Windows to useEduardo Chappa
LibreSSL in connecting to external servers. This complements the changes to support S/MIME. In particular, we add support for validation of certificates by using C:\\libressl\ssl\certs as the place to save CA certificates. In order to help users, some certificates are distributed. TODO: Kerberos port, w2k.
2018-06-14 * More changes to make Valgrind happy.Eduardo Chappa
2018-05-13 * For a calendar entry with method PUBLISH, we show all entries in the ↵Eduardo Chappa
calendar. When "More Details" is selected for each individual event, the description of that entry is shown only. When the calendar is opened from the view attachment list screen, all entries will be shown. Mske sure there are no memory leaks. * Reverse some of the changes to make valgrind happy, as this may make Alpine crash by using memory that was released.
2018-05-13 * More changes to make Valgrind happy. Work in progress.Eduardo Chappa
2018-01-07 * Redefine TLSv1_1_client_method and TLSv1_2_client_methodEduardo Chappa
to TLS_client_methodto when compiling Alpine with OpenSSL 1.1.
2017-12-04 * New version 2.21.99Eduardo Chappa
* The online repo does not mimic the root local directory from which it is created. This is an attempt to fix this. This caused the problem that kerberos was not working with the bytes on the repo, but it would work on the root which created it. Reported by Holger Trapp.
2017-09-29 * NTLM authentication support with the ntlm library, in Unix systems.Eduardo Chappa
Based on code provided by Maciej W. Rozycki.
2016-09-03 * Alpine does not build with openssl 1.1.0, so this update fixes that.Eduardo Chappa
Users have the option to build with older versions of OpenSSL or with version 1.1.0. The current code is transitional and it is intended that we will move Alpine to build exclusively with version 1.1.0 or above in the future. This update also recognizes if we are using LibreSSL. It was tested with version 2.4.2.