]> git.tuebingen.mpg.de Git - paraslash.git/commit
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)
commitb92a1de60b4988ba966b16948e9a331a0ac35e60
tree2bd3da50bccebf9a2ddee3c7f2a49d785e938096
parente74113b0e1a6ca1c047667218b089362372aa0f0
Use sha256 for the challenge response.

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).
client_common.c
command.c