Alexander Krotov
|
bf1652a1be
|
Move common code for IMAP and SMTP to login_param.rs
|
2019-10-03 01:26:38 +03:00 |
|
Alexander Krotov
|
41806f86ba
|
Return certificate check information from get_info()
|
2019-10-03 01:26:07 +03:00 |
|
Alexander Krotov
|
468651534e
|
Manually specify values for CertificateChecks enum
This is what we are doing in constants.rs
|
2019-10-03 01:26:07 +03:00 |
|
Alexander Krotov
|
6343ae8161
|
Rename {mail,send}_certificate_checks into {imap,smtp}_certificate_checks
|
2019-10-03 01:26:07 +03:00 |
|
Alexander Krotov
|
641bd5eb15
|
Write configured_{mail,send}_certificate_checks to database
|
2019-10-03 01:26:07 +03:00 |
|
Alexander Krotov
|
063d989225
|
Use mail_certificate_checks configuration in imap.rs
|
2019-10-03 01:26:07 +03:00 |
|
Alexander Krotov
|
b8ca7b1591
|
Add CertificateChecks::Automatic option and make it default
It is the same as AcceptInvalidCertificates for now,
but can be replaced with better heuristics later,
such as a database of known providers or TOFU.
|
2019-10-03 01:25:19 +03:00 |
|
Alexander Krotov
|
297bc635e8
|
Add certificate check configuration options
|
2019-10-03 01:25:19 +03:00 |
|
dignifiedquire
|
f3e53a05a6
|
refactor(loginparam): rename dc_loginparam -> login_param
|
2019-09-08 18:48:57 +02:00 |
|