diff contrib/check-config.py @ 30222:7b428b00a1d4 stable

commands: print security protocol support in debuginstall Over the past week I've had to instruct multiple people to run Python code to query the ssl module to see what TLS protocol support is present. I think it would be useful for `hg debuginstall` to print this info to make it easier to access and debug why Mercurial is complaining about using an insecure TLS 1.0 protocol. Ideally we'd also print the path to the CA cert bundle. But the APIs for querying that in sslutil can emit warnings, making it slightly more difficult to integrate into `hg debuginstall`. That work will have to wait for another day.
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 19 Oct 2016 15:07:11 -0700
parents a92ee4d8a574
children e5a6a540ae63
line wrap: on
line diff