]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Use sha256 for the challenge response.
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 12 Mar 2020 22:13:17 +0000 (23:13 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Thu, 21 Oct 2021 17:52:40 +0000 (19:52 +0200)
sha1 is broken and should no longer be used. This commit introduces
the new server feature "sha256". It is announced during the handshake
with the client. The client code is patched to detect whether the
server supports the feature and uses sha256 if it does.

This change is backwards compatible. That is, old clients can still
connect to a new server (using sha1). Also new clients can connect
to an old server (and also use sha1 in this case).


No differences found