For long hostnames, use a hash of the hostname to generate the socket file for ssh connection caching.

This is ok to do now that the socket filename never needs to be mapped back
to a hostname.

Short hostnames will still appear in the clear, which is less obfuscated.
So this cannot possibly make ssh connection caching fail for a hostname it
used to work for.
This commit is contained in:
Joey Hess 2013-07-22 15:06:47 -04:00
parent 0e11575437
commit 6ae2637eb1
2 changed files with 13 additions and 2 deletions

2
debian/changelog vendored
View file

@ -30,6 +30,8 @@ git-annex (4.20130710) UNRELEASED; urgency=low
conflicts with other existing (or deleted) remotes with the same name.
* When an XMPP server has SRV records, try them, but don't then fall
back to the regular host if they all fail.
* For long hostnames, use a hash of the hostname to generate the socket
file for ssh connection caching.
-- Joey Hess <joeyh@debian.org> Tue, 09 Jul 2013 19:17:13 -0400