]> git.tuebingen.mpg.de Git - paraslash.git/commit
Merge topic branch t/rm_sha1 into next
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 22 May 2025 17:13:09 +0000 (19:13 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Thu, 22 May 2025 17:13:09 +0000 (19:13 +0200)
commit34967b75ed65b531e002c5b87d5124e710f948c0
tree95880a9c259e78252d8a5f2ee36353083232f653
parent8eb45dc58af7a516e894222ed117baadff5c1c7b
parentcb041d0305b8aeda8130f1febd7c31dd269ea83a
Merge topic branch t/rm_sha1 into next

The series first drops the para_upgrade_db executable because it is no longer
needed. This removes the penultimate user of the sha1 infrastructure. The
remaining user is the handshake between para_client and para_server.

Since paraslash-0.7.0, client and server employ sha256 by default, but fall
back to sha1 in order to stay compatible to old 0.6.x versions. This series
instructs server and client to always employ sha256 as the hash algorithm,
breaking compatibility with 0.6.x clients. As a result, the sha1 hash algorithm
is no longer used anywhere, so the corresponding infrastructure is no longer
needed. This gets rid of a fair amount of code.

<!--

- The para_upgrade_db executable to convert old paraslash databases has
been removed. paraslash-0.7.0 was released more than three years ago, so
everybody should have upgraded by now.

- Authentication now rejects the weak sha1 hash algorithm, breaking
compatibility with 0.6.x versions. 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.

-->

* refs/heads/t/rm_sha1:
  Rename hash2 -> hash.
  Remove sha1.
  Remove para_upgrade_db.
  aft: Compare the full hash, not just the first 20 bytes.