Upgrade ssh_connection_hash from SHA1 to SHA256
Upgrade ssh_connection_hash from SHA1 to SHA256. Due to increased length, instead of using hex encoding, use base64url encoding, which for SHA256 is only slightly longer than hex SHA1.
This change enables building and using ssh completely without SHA1.
base85(sha256(foo)) should be exactly the size of hex(sha1(foo)), is this an option?
base85(sha256(foo)) should be exactly the size of hex(sha1(foo)), is this an option?
From mailing lists, one of the requirements that it has to be URL and file-system safe name, base85 seems to use \ and / which are not safe on filesystems - things can fail with "no such directory" because of slashes.
From mailing lists, one of the requirements that it has to be URL and file-system safe name
I see, then nevermind.