mercurial - SHA256 fingerprint in hgrc -
how can force mercurial in .hgrc check sha256 fingerprint when connecting repository server?
in .hgrc sha1 fingerprints used as
[hostfingerprints] foo.bar.baz = a1:b2:c3:d4:e5:f6:11:22:33:44:55:66:77:88:99:00:f9:r8:d7:c6
using sha256 fingerprint cause hg fail connect:
abort: certificate foo.bar.baz has unexpected fingerprint 00:11:22:33:44:55:66:77:88:99:0a:0b:0c:0d:0e:0f:a1:b1:c1:d1 (check hostfingerprint configuration)
does mercurial always expect sha1 here or done client configuration @ or have set on server side?
e.g. openssl has -sha1
, -sha256
options.
does mercurial expect sha1 here
yes. re-read actual today description of hostfingerprints section in hgrc (bolding addition)
the fingerprint sha-1 hash value of der encoded certificate.
Comments
Post a Comment