You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🗑️ Add deprecation warnings to .new and #starttls [🚧 WIP]
* `ssl` was renamed to `tls` in most places, with backwards compatible
aliases. Using `ssl` does not print any deprecation warnings. Using
both `tls` and `ssl` keywords raises an ArgumentError.
* Preparing for a (backwards-incompatible) secure-by-default
configuration, `Net::IMAP.default_tls` will determine the value for
`tls` when no explicit port or tls setting is provided. Using port
143 will be insecure by default. Using port 993 will be secure by
default. Providing no explicit port will use `Net::IMAP.default_tls`
with the appropriate port. And providing any other unknown port will
use `default_tls` with a warning.
🚧 TODO: should we use a different config var for default tls params
when port is 993 and `tls` is unspecified?
🚧 TODO: should we use a different config var for choosing `tls` when
`port` is non-standard vs choosing `port` and `tls` when neither are
specified?
🚧 TODO: should we use a different var for `default_tls` be used to
config params when port is 993 but tls is implicit? Another var?
0 commit comments