gecko-dev/taskcluster
Gregory Szorc 5094da93bf Bug 1355624 - Make Mercurial require TLS 1.2+ connections; r=dustin
Mercurial uses the latest version of TLS that is both supported by
Python and the server.

In automation, the servers we care about should all support TLS 1.2.

The Python side is trickier. Modern versions of Python (typically 2.7.9+)
support TLS 1.1 and 1.2. Mercurial will default to allowing TLS 1.1+ -
explicitly disallowing TLS 1.0. However, legacy versions of Python
don't support TLS 1.1+, so Mercurial will allow TLS 1.0+ rather than
prevent connections at all.

TLS 1.0 is borderline secure these days. I think it is a bug for TLS
1.0 to be used anywhere in the Firefox release process. This simple
patch changes our default Mercurial config in TaskCluster to require
TLS 1.2+ for all https:// communications. For modern Python versions,
this effectively prevents potential downgrade attacks to TLS 1.1
(connections before should have negotiated the use of TLS 1.2).

I expect this change to break things. Finding and fixing automation
that isn't capable of speaking TLS 1.1+ should be encouraged.

MozReview-Commit-ID: 876YpL5vB3T

--HG--
extra : rebase_source : 69c33c195f736a98b67d771e7364b6db28900ff4
2017-04-11 14:52:39 -07:00
..
actions Bug 1353520 - Better default for environment envs for retriggerable jobs r=gbrown 2017-04-04 16:17:17 -04:00
ci Bug 1330837 - Use Mercurial 4.1 in mozharness tests; r=aki 2017-04-11 14:26:29 -07:00
docker Bug 1355624 - Make Mercurial require TLS 1.2+ connections; r=dustin 2017-04-11 14:52:39 -07:00
docs Bug 1349980 - Highlight the '-J' flag of mach taskgraph command in taskcluster docs,r=dustin 2017-04-06 19:10:52 +02:00
scripts bug 1354216 - fix cctools-port build scripts. r=mshal 2017-04-10 15:38:24 -04:00
taskgraph Backed out changeset 6c01aaecd8cc (bug 1355579) for failing taskgraph's test_try_option_syntax.py. r=backout 2017-04-12 00:23:37 +02:00
mach_commands.py Bug 1333255: introduce graph morphs, use them to make index tasks; r=jonasfj 2017-03-07 20:39:27 +00:00
moz.build Bug 1344871 - add BUG_COMPONENT to taskcluster/* files. r=garndt 2017-03-07 13:06:50 -05:00