Mailspring/packages/client-app/internal_packages
Christine Spang cfe2971c2e [*] Revamp SSL options (including user-facing)
Summary:
Previously, the generic IMAP auth screen presented one security option to
users: "Require SSL". This was ambiguous and difficult to translate into
the correct security options behind the scenes, causing confusion and problems
connecting some accounts.

This patch does the following:
* Separates security settings for IMAP and SMTP, as these different protocols
  may also require different SSL/TLS settings

* Reworks the generic IMAP auth page to allow specifying security settings
  with higher fidelity. We looked at various different email apps and decided
  that the best solution to this problem was to allow more detailed
  specification of security settings and to ease the burden of more options
  by having sane defaults that work correctly in the majority of cases.
  This new screen allows users to pick from "SSL / TLS", "STARTTLS", or "none"
  for the security settings for a protocol, and also to instruct us that
  they're OK with us using known insecure SSL settings to connect to their
  server by checking a checkbox.

  We default to port 993 / SSL/TLS for IMAP and port 587 / STARTTLS for SMTP.
  These are the most common settings for providers these days and will work
  for most folks.

* Significantly tightens our default security. Now that we can allow folks to
  opt-in to bad security, by default we should protect folks as best we can.

* Removes some now-unnecessary jank like specifying the SSLv3 "cipher"
  in some custom SMTP configs. I don't think this was actually necessary
  as SSLv3 is a protocol and not a valid cipher, but these custom
  configs may have been necessary because of how the ssl_required flag was
  linked between IMAP and SMTP before (and thus to specify different
  settings for SMTP you'd have to override the SMTP config).

* Removes hard-coding of Gmail & Office365 settings in several
  locations. (This was a major headache while working on the patch.)

This depends on version 2.0.1 of imap-provider-settings, which has major
breaking changes from version 1.0. See commit for more info:
9851054f91

Among other things, I did a serious audit of the settings in this file and
"upgraded" a few servers which weren't using the SSL-enabled ports for their
provider to the secure ones. Hurray for nmap and openssl.

Test Plan: manual

Reviewers: evan, mark, juan, halla

Reviewed By: juan, halla

Differential Revision: https://phab.nylas.com/D4316
2017-04-05 17:49:43 -07:00
..
account-sidebar [client-app] Report provider when reporting remove-from-threads-from-list 2017-03-06 12:51:38 -08:00
attachments [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
category-picker [client-app] Measure and report times for removing labels from threads 2017-02-21 12:13:17 -08:00
composer [client-app] Correctly remove inline images with x button 2017-03-24 13:03:28 -07:00
composer-emoji [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
composer-markdown [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
composer-signature [client-app] Fix selecting and creating signatures in preferences 2017-02-28 09:14:28 -08:00
composer-spellcheck [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
composer-templates [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
composer-translate [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
contact-rankings [client-app] Prevent from making any requests when NylasID isn't present 2017-04-04 16:26:32 -07:00
draft-list [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
events [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
github-contact-card [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
keybase [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
main-calendar [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
message-autoload-images [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
message-list [client-app] Rename downloadDataForFile(s) -> getDownloadDataForFile(s) 2017-03-22 17:17:08 -07:00
message-view-on-github [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
mode-switch [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
notifications [client-app] Correctly show auth error when we can't connect to n1cloud 2017-03-10 15:56:41 -08:00
onboarding [*] Revamp SSL options (including user-facing) 2017-04-05 17:49:43 -07:00
participant-profile [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
personal-level-indicators [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
phishing-detection [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
plugins [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
preferences [client-app] Updates to feature limiting 2017-04-05 16:02:53 -07:00
print [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
remove-tracking-pixels [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
screenshot-mode [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
search-index [client-app] Remove getUnindexedAccounts 2017-03-31 14:49:31 -07:00
send-and-archive [client-app] Measure and report archiving times 2017-02-21 11:50:55 -08:00
sync-health-checker [client-app] Prevent from making any requests when NylasID isn't present 2017-04-04 16:26:32 -07:00
system-tray [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
theme-picker [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
thread-list [client-app] 🎨 Rename NylasSyncStatusStore to FolderSyncProgressStore 2017-03-09 15:24:43 -08:00
thread-search [client-app] Limit search to focused perspective 2017-04-04 12:48:04 -07:00
thread-snooze [client-app] Updates to feature limiting 2017-04-05 16:02:53 -07:00
ui-dark [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
ui-darkside [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
ui-less-is-more [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
ui-light [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
ui-taiga [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
ui-ubuntu [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
undo-redo [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
unread-notifications [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
verify-install-location [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
worker-ui [client-app] don't override existing bodies on K2 2017-03-31 16:13:52 -07:00