[issue2624] IP address should be included in security warnings.

Jason Harris bugs at mercurial.selenic.com
Fri Feb 4 05:21:47 UTC 2011


New submission from Jason Harris <jason at jasonfharris.com>:

When there is a suspicious host, the IP address is not printed.

Currently what is printed is eg:

[Bolt:~/test2/cedit] cedit 29(32) ⌘ hg pull
warning: bitbucket.org certificate with fingerprint 81:2b:08:90:dc:d3:71:ee:e0:7c:b4:75:ce:9b:6c:48:94:56:a1:fe not verified 
(check hostfingerprints or web.cacerts config setting)
pulling from https://fudbar@bitbucket.org/paulitex/cedit
searching for changes
no changes found

What I would expect would be something like:

[Bolt:~/test2/cedit] cedit 29(32) ⌘ hg pull
warning: 'bitbucket.org (207.223.240.182)' certificate with fingerprint 
81:2b:08:90:dc:d3:71:ee:e0:7c:b4:75:ce:9b:6c:48:94:56:a1:fe not verified (check hostfingerprints or web.cacerts config setting)
pulling from https://fudbar@bitbucket.org/paulitex/cedit
searching for changes
no changes found
[Bolt:~/test2/cedit] cedit 29(32)

compare this to say an ssh message:

lava:~$ ssh lava
The authenticity of host 'lava (134.2.14.48)' can't be established.
RSA key fingerprint is 9e:1a:5e:27:16:4d:2a:13:90:2c:64:41:bd:25:fd:35.
Are you sure you want to continue connecting (yes/no)?

----------
messages: 15119
nosy: Jason Harris
priority: bug
status: unread
title: IP address should be included in security warnings.

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2624>
____________________________________________________


More information about the Mercurial-devel mailing list