Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/sslutil.py @ 32118:9a86d936670f stable
sslutil: reference fingerprints config option properly (issue5559)
The config option is "host:fingerprints" not "host.fingerprints".
This warning message is bad and misleads users.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 08 May 2017 09:30:26 -0700 |
parents | c777b12cdc9b |
children | e05cfb4a6a8e |
comparison
equal
deleted
inserted
replaced
32117:1b27e1793156 | 32118:9a86d936670f |
---|---|
823 'if you trust this fingerprint, set the ' | 823 'if you trust this fingerprint, set the ' |
824 'following config value in [hostsecurity] and ' | 824 'following config value in [hostsecurity] and ' |
825 'remove the old one from [hostfingerprints] ' | 825 'remove the old one from [hostfingerprints] ' |
826 'to upgrade to a more secure SHA-256 ' | 826 'to upgrade to a more secure SHA-256 ' |
827 'fingerprint: ' | 827 'fingerprint: ' |
828 '%s.fingerprints=%s)\n') % ( | 828 '%s:fingerprints=%s)\n') % ( |
829 host, host, nicefingerprint)) | 829 host, host, nicefingerprint)) |
830 return | 830 return |
831 | 831 |
832 # Pinned fingerprint didn't match. This is a fatal error. | 832 # Pinned fingerprint didn't match. This is a fatal error. |
833 if settings['legacyfingerprint']: | 833 if settings['legacyfingerprint']: |