[Bug 5559] New: sha256 upgrade error message prints wrong format: . instead of :

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Mon May 8 09:38:34 UTC 2017


https://bz.mercurial-scm.org/show_bug.cgi?id=5559

            Bug ID: 5559
           Summary: sha256 upgrade error message prints wrong format: .
                    instead of :
           Product: Mercurial
           Version: 4.2
          Hardware: PC
                OS: Mac OS
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: roker at pep-project.org
                CC: mercurial-devel at mercurial-scm.org

hg prints this update message when my .hgrc still contains SHA-1 host
fingerprints:

(SHA-1 fingerprint for xxx.yyy found in legacy [hostfingerprints] section; if
you trust this fingerprint, set the following config value in [hostsecurity]
and remove the old one from [hostfingerprints] to upgrade to a more secure
SHA-256 fingerprint: xxx.yyy.fingerprints=sha256:zz:zz:…:zz:zz)

I copied that line into my .hgrc, commented-out the old one but it does not
work.

After some googling I readed the "man 5 hgrc" more carefully and saw:

"Options  in  the [hostsecurity] section can have the form hostname:setting."

And changing .fingerprints into :fingerprints it works as it should. :-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list