summaryrefslogtreecommitdiffstats
path: root/src/test/java/com/gitblit/tests/StringUtilsTest.java
diff options
context:
space:
mode:
authorFlorian Zschocke <f.zschocke+git@gmail.com>2020-04-04 19:25:27 +0200
committerFlorian Zschocke <f.zschocke+git@gmail.com>2020-04-05 12:34:34 +0200
commite47647b00d566d64d311042981e6b1798f683e4a (patch)
tree1a3c74a343cbed999a37d8d9161e0f9943d97272 /src/test/java/com/gitblit/tests/StringUtilsTest.java
parent8b18ac309bc36c8a16a3d26f088cb168635930d3 (diff)
downloadgitblit-e47647b00d566d64d311042981e6b1798f683e4a.tar.gz
gitblit-e47647b00d566d64d311042981e6b1798f683e4a.zip
🦟 fix: Password hash upgrade kills existing passwords
The upgrade of a MD5 stored password hash to a PBKDF password hash destroys the stored password. The has check zeroes out the password that is tested, so that the new hash is built over the zeroed out value. This fix prevents that an also adds a check to the test. Fixes #1335
Diffstat (limited to 'src/test/java/com/gitblit/tests/StringUtilsTest.java')
0 files changed, 0 insertions, 0 deletions