[PATCH 1 of 2] help: add empty lines to hostfingerprints section
Gregory Szorc
gregory.szorc at gmail.com
Sun Mar 13 21:05:41 UTC 2016
# HG changeset patch
# User Gregory Szorc <gregory.szorc at gmail.com>
# Date 1457902261 25200
# Sun Mar 13 13:51:01 2016 -0700
# Node ID d7b33859bc8f5c74c2d4b1057f00bac8137d6e1c
# Parent 70c2f8a982766b512e9d7f41f2d93fdb92f5481f
help: add empty lines to hostfingerprints section
I think this is now much easier to read.
diff --git a/mercurial/help/config.txt b/mercurial/help/config.txt
--- a/mercurial/help/config.txt
+++ b/mercurial/help/config.txt
@@ -963,20 +963,23 @@ environment variables above are passed a
If a Python hook returns a "true" value or raises an exception, this
is treated as a failure.
``hostfingerprints``
--------------------
Fingerprints of the certificates of known HTTPS servers.
+
A HTTPS connection to a server with a fingerprint configured here will
only succeed if the servers certificate matches the fingerprint.
This is very similar to how ssh known hosts works.
+
The fingerprint is the SHA-1 hash value of the DER encoded certificate.
+
The CA chain and web.cacerts is not used for servers with a fingerprint.
For example::
[hostfingerprints]
hg.intevation.de = fc:e2:8d:d9:51:cd:cb:c1:4d:18:6b:b7:44:8d:49:72:57:e6:cd:33
hg.intevation.org = fc:e2:8d:d9:51:cd:cb:c1:4d:18:6b:b7:44:8d:49:72:57:e6:cd:33
More information about the Mercurial-devel
mailing list