Skip to content

cvsserver: correctly validate pserver passwords

Carlo Marcelo Arenas Belón git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3git-cvsserver: use crypt correctly to compare password hashesDocumentation/git-cvsserver.txt git-cvsserver.perl t/t9400-git-cvsserver-server.sh+8 -80 replies
2/3git-cvsserver: protect against NULL in crypt(3)git-cvsserver.perl t/t9400-git-cvsserver-server.sh+10 -43 replies
3/3Documentation: cleanup git-cvsserverDocumentation/git-cvsserver.txt+9 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] cvsserver: correctly validate pserver passwords

The first patch should be applied by any user of git-cvsserver, and hashes for all pserver accounts updated; because the code originally was using the username instead of the password to validate accounts, and it might had even worked if the first 2 characters of the password where the same (ex: cvsuser/cvspassword).

The second one allows for successfully running t9400 in OpenBSD and will protect the code further from the possible use of an undef variable, and shows that support for better password hashes than DES is possible.

Carlo Marcelo Arenas Belón (3):
git-cvsserver: use crypt correctly to compare password hashes
git-cvsserver: protect against NULL in crypt(3)
Documentation: cleanup git-cvsserver

 Documentation/git-cvsserver.txt | 27 +++++++++++++--------------
 git-cvsserver.perl              |  7 ++++---
 t/t9400-git-cvsserver-server.sh |  9 ++++++++-
 3 files changed, 25 insertions(+), 18 deletions(-)
Signature · 1 line
2.33.0.481.g26d3bed244