This is an automated email from the ASF dual-hosted git repository. jfthomps pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/vcl.git
The following commit(s) were added to refs/heads/develop by this push: new 0b75ab2 vcl-install.sh: reverting one change from 0975664e7 where sha1sum should not have been changed to sha512sum in set_localauth_password when setting the local passwords 0b75ab2 is described below commit 0b75ab24698d17498ff180078387129c9d96d623 Author: Josh Thompson <jftho...@ncsu.edu> AuthorDate: Thu Jul 11 14:56:21 2019 -0400 vcl-install.sh: reverting one change from 0975664e7 where sha1sum should not have been changed to sha512sum in set_localauth_password when setting the local passwords --- vcl-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcl-install.sh b/vcl-install.sh index 89bd375..db59978 100755 --- a/vcl-install.sh +++ b/vcl-install.sh @@ -433,7 +433,7 @@ function set_localauth_password() { salt=$(random_string 8) #echo "Password salt: $salt" - passhash=$(echo -n $password$salt | sha512sum | awk '{print $1}') + passhash=$(echo -n $password$salt | sha1sum | awk '{print $1}') #echo "Password hash: $passhash" mysql -e "UPDATE localauth SET passhash = '$passhash', salt = '$salt', lastupdated = NOW() WHERE localauth.userid = (SELECT id FROM user WHERE unityid = '$username');" vcl if [ $? -ne 0 ]; then