[Bug 5710] New: hostsecurity.minimumversion=tls1.[12] yields misleading error with python < 2.7.9
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Fri Oct 13 08:41:10 UTC 2017
https://bz.mercurial-scm.org/show_bug.cgi?id=5710
Bug ID: 5710
Summary: hostsecurity.minimumversion=tls1.[12] yields
misleading error with python < 2.7.9
Product: Mercurial
Version: unspecified
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: feature
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: mh+hg at glandium.org
CC: mercurial-devel at mercurial-scm.org
It says:
warning: connecting to hg.mozilla.org using legacy security technology (TLS
1.0); see https://mercurial-scm.org/wiki/SecureConnections for more info
abort: current Python does not support protocol setting tls1.2
(upgrade Python or disable setting since only TLS 1.0 is supported)
which implies that python version doesn't support tls > 1.0, which is not
actually true:
$ python -c "import json, urllib2; print json.load(urllib2.urlopen
('https://www.howsmyssl.com/a/check'))['tls_version']"
TLS 1.2
It might not support forcing the version of tls, though...
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list