]> git.tuebingen.mpg.de Git - paraslash.git/commit
Remove sha1.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 18 May 2025 18:17:12 +0000 (20:17 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Thu, 22 May 2025 17:08:00 +0000 (19:08 +0200)
commitd39156c0e5a6a90fb163cc3fa27d33dbacf6f20e
tree35c23ff0a9b1d248cee667f2dd70c77f73e998e4
parent4fea76c75c94cf2d4cf44efc3bc10549ee0f05ab
Remove sha1.

Server and client prefer sha256 in the authentication protocol since
paraslash-0.7.0, while 0.6.x clients and servers only know about sha1. This
patch drops the compatibility code which enabled old clients to connect to
new servers and vice versa.

Now the client code no longer checks whether the sha256 feature is supported,
but requests and uses the feature unconditionally. The server still announces
the sha256 feature and accepts the corresponding feature request, but uses
sha256 unconditionally.

With this approach older 0.7.x clients are still compatible to current
server versions and current clients can still talk to servers running older
0.7.x versions.
client_common.c
command.c
crypt.h
crypt_common.c
gcrypt.c
openssl.c