summaryrefslogtreecommitdiff
path: root/imap/src/osdep
AgeCommit message (Collapse)Author
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-16 * Replace fgrep and grep -F and egrep by grep -E as these have beenEduardo Chappa
deprecated. Patch submitted by Ville Skyttä.
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-22 * Fix the type of some flags for openssl from int to long.Eduardo Chappa
2021-09-13 * Enabled encryption protocols in PC-Alpine are based on those enabledEduardo Chappa
in the system, unless one is specified directly.
2021-08-23 * Crash due to incorrect freeing of memory, introduced in commitEduardo Chappa
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-07-31 * Clear more warnings given by gcc-10. Work in progress.Eduardo Chappa
2021-06-06 * Clear some warnings given by gcc-10.Eduardo Chappa
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.