976dee5384c4827dc648c9bc53825390521c388e |
|
11-Dec-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
Replace ssl_protocols config option with ssl_min_protocol
Default to TLSv1. |
15aa67e8a9dd7fc631d58ce13c54fe004bb4d0c1 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: Add io_stream_ssl_global_init() |
14a07d2bb34f1d52fce3e3218799f271f118d501 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: Add TLS SNI callback and a way to change SSL context |
bbafd34da224c399700956db6819643e1d3b3ce7 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: openssl_cert_match_name() - add reason_r parameter
The returned string explains what exactly matched or why nothing matched. |
18344a653fb063e599e24d1e9f7d5db4d8fd7b45 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: ssl_iostream_cert_match_name() - Change to return bool
The return value makes much more sense as a boolean TRUE/FALSE than 0/-1. |
96359599bbd4a2d704c3f343ff4c2fcd03f0dd02 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: Add refcounting to ssl_iostream_context |
319bc5ff46e9c941efb573b1e00f85fdeb08942d |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: Change ssl_iostream_context.set to not be a pointer
It's just unnecessary memory usage. |
8bcf6fd065a71ae0ca6dc76989250e819d08d7f6 |
|
07-Nov-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
iostream-openssl: Refactor stream sync code
When doing input or stream sync, specify
the type of operation that we are doing
to make sure we do IO correctly. |
d185226aa3dc88a9ee9f16b4c8b2e38000ac8b96 |
|
01-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: Split host to connected_host and sni_host
Using the same variable for both was causing confusion. |
ca55f7e83f7646060748cfe14fed8ff0e565561b |
|
31-Oct-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-ssl-iostream: Remove input_handler flag
It is no longer needed after 87da941c |
9f7ba3807f77209a65e0faa56cac8545b06cd116 |
|
31-Oct-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
global: Splice cert into separate struct from iostream_ssl_settings |
13479101da29577f7789d6f61faa1da3e2f7434a |
|
06-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: Use ASN1_STRING_get0_data() if it exists
This avoids deprecation warnings about ASN1_STRING_data() in OpenSSL v1.1. |
ecc2fb34641f1bd39e10c774192ca18527ecb953 |
|
18-Sep-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: Fixed OpenSSL module to be actually initialized. |
fe4058e6f01bf0e104c44815b6df7cfefb80634c |
|
16-Sep-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: Use more standard _init() & _deinit() to initialize SSL plugin
This is mainly to make it easier for test programs to link to the plugin
directly. |
00b722cca0601adadfbc653711b405b03e017e09 |
|
10-Aug-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
dovecot: Remove ssl-params |
095481fee84040436ce2dccca472c9bb1df4d5bb |
|
16-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-ssl-iostream: Changed require_valid_cert -> allow_invalid_cert
We should default to being safe. |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
78c27af9d04b830afe3df6495d7a1efee556ecb8 |
|
07-Dec-2015 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream, login-*: Hide unnecessary "EVP_PKEY_get1_EC_KEY:expecting a ec key" errors. |
8b5d186ec2f8b56ded72a7f45a70b7542caad9d0 |
|
02-Dec-2015 |
Timo Sirainen <tss@iki.fi> |
login, lib-ssl-iostream: Deduplicate code with shared openssl_iostream_use_certificate_error() |
7ef7f34c38954020004e2b25b4ce8f54b4bcf8f3 |
|
01-Nov-2014 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: Added dh_length parameter to ssl_iostream_generate_params()
This is an API change, but nobody was actually using this function. |
c5b7a9068c637195bae4751f965fc33c203a72d6 |
|
01-Nov-2014 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: Support non-1024bit DH parameters in ssl-parameters.dat. |
87da941c0b0a0671997f592a52ee2c0b35d0e41e |
|
03-Apr-2014 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: Make sure I/O input event is triggered after ostream-ssl has read some data to buffer. |
1c6f6f5bef70f16546b3bc8f4cd5f93f373e82a2 |
|
19-Sep-2013 |
Timo Sirainen <tss@iki.fi> |
iostreams: Set stream error string when it provides extra information. |
b4f4552697bdc8e467955e262ae446dbe2914c14 |
|
06-Aug-2013 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: Deinitialization fixes. |
71b60849a773dd68bdc015cb6a8ea1664d16b359 |
|
08-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: Added ssl_iostream_has_handshake_failed() |
3b4bd183cc469f70eb91d82a7f01f60ffc24ca5b |
|
04-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: Added support for TLS SNI, which caused some API changes. |
ac645fe16c0619771c0a961db91df16485513c52 |
|
04-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: ssl_iostream_set_handshake_callback() API changed.
The callback can now return the error message to caller instead of having to
log it itself. |
ba1c847d0af4afe4787ed470d0c818e948e184e2 |
|
04-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: API changes to return error strings if init() functions fail.
This also fixed a couple of broken error handlings. |
3faa1040e5a3f9f35ffad29110216094ab2f5880 |
|
06-Nov-2012 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream now dynamically loads openssl library instead of linking to it.
This allowed removing the separate libdovecot-ssl library. In future if
GnuTLS/NSS support is added it would also allow switching between them
dynamically. |
739125f23e3312045e620014812fe2249a309cc4 |
|
12-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: Make the input buffering behave the same as in file-istream
Previously i_stream_read(ssl_input) could have still left some data buffered
into the underlying file-istream, which meant that I/O loop didn't detect
any new input from the fd and the connection got stuck. |
6a4212e6d7c41de83bcac63edec3118e6a7a0f68 |
|
28-Jul-2012 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: Added protocols setting. |
831f3bcdde51fa388462eda1daa555e90651ca2e |
|
08-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
login proxy: Verify that remote hostname matches SSL cert, unless ssl=any-cert |
ed41ec8aa0efaa50954fd16cb44c86c8350dadcc |
|
20-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: Don't require SSL ostream to always have unlimited buffer size.
It's important when reading/handshaking wants to write to output buffer, but
writing itself can safely have zero sized buffer (e.g. while sending a
large input stream). |
c2c0c1e5d2e97ae114ad83d8cb486b0aab23ac38 |
|
07-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: If plain stream disconnects, disconnect SSL stream also. |
21fed972adb354b92771eefad27f8ac8cbd5dd45 |
|
06-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
lib-ssl-iostream: Code cleanups, fixes, asserts and comments. |
e98de01b5644c88b6053e2921eb5e9a506fe263f |
|
31-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
Added lib-ssl-iostream for handling SSL connections more easily. |