Full documentation repository for Mastodon
Go to file
Bjarni Rúnar Einarsson 72ed10378f Avoid hard-coding ciphers into configuration (#171)
* Avoid hard-coding ciphers into configuration

This change allows OpenSSL to choose the most appropriate available cipher(s) from the HIGH cipher suite. This is sufficient to get an A on the SSLLabs.com tests suite. If MEDIUM is allowed as well, the grade drops to a B which is still more than adequate for most deployments.

This type of configuration would prevent problems such as the current inability of Tusky on Android 7 devices to connect to some Mastodon instances.

The main benefit though, is this delegates the decisions about which ciphers are "good" and which ciphers are "bad" to the experts; the distribution security teams and the OpenSSL developers. If a weakness is found in a particular cipher it will get moved from HIGH to one of the lower classes (or removed entirely) and this will get deployed just like any other security update. Similarly, if new stronger ciphers are standardized (such as Curve 25519) - these will immediately become available without needing to change the configuration.

Hope this helps!

Note: I have not been able to test this change with Mastodon myself. I am using these settings in production elsewhere though, and they work quite well. Alternately, if people don't want to trust the OpenSSL definitions, please consider taking a look at https://wiki.mozilla.org/Security/Server_Side_TLS and implementing the recommendations from there.

* Also avoid SHA1

As requested during review. :)

* Fix a typo in the ssl_ciphers line

I wrote !SHA1, should have written just !SHA. Very sorry about the noise.
2017-04-27 22:25:39 +02:00
Contributing-to-Mastodon Translating: add devise email templates, fix #123 (#159) 2017-04-27 12:32:59 +02:00
Running-Mastodon Avoid hard-coding ciphers into configuration (#171) 2017-04-27 22:25:39 +02:00
Using-Mastodon Added iOS App for pawoo (#169) 2017-04-27 22:23:38 +02:00
Using-the-API Mark all APIs that do not require authentication (#142) 2017-04-27 11:15:33 +02:00
Extensions.md Fix outdated info 2017-02-14 21:33:31 +01:00
LICENSE Adds LICENSE 2017-04-22 00:22:52 +02:00
README.md Adds note about running off master. 2017-04-26 10:52:13 +02:00
Specs-and-RFCs-used.md Add wiki contents to docs/ instead 2017-01-21 22:51:02 +01:00

README.md

Mastodon documentation

Mastodon is a free, open-source GNU social-compatible social network server. A decentralized alternative to commercial platforms, it avoids the risks of a single company monopolizing your communication. Anyone can run Mastodon and participate in the social network seamlessly.

Using Mastodon

Using the API

Running Mastodon

Please note: It is highly recommended to run a tagged release of Mastodon and not run off the current master branch.

Contributing to Mastodon

Protocols