From 37f39a8c467cb67f2f60141948be98a9682f04c7 Mon Sep 17 00:00:00 2001 From: developer Date: Wed, 25 Sep 2019 20:24:26 +0200 Subject: [PATCH] decrease minimum password length to 30 characters --- cgi-bin/kraut.space | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi-bin/kraut.space b/cgi-bin/kraut.space index 23b978a..3c94e66 100755 --- a/cgi-bin/kraut.space +++ b/cgi-bin/kraut.space @@ -25,7 +25,7 @@ cmd=$(getp cmd) # check secret # the secrets file has to contain the hashes on a single line, comments are allowed on seperate lines # secrets can only contain the characters that are allowed in getp() with tr -dc -if [ -z "$secret" ] || [ $secret_length -lt 73 ] || ! grep -q ";$hashed_secret$" /etc/tuer3.0/door_access_list; then +if [ -z "$secret" ] || [ $secret_length -lt 30 ] || ! grep -q ";$hashed_secret$" /etc/tuer3.0/door_access_list; then header [ -z "$secret" ] || echo "

Ich bin mir nicht sicher. Mir scheint, du bist doch ein Kohlkopf oder Anderes!

" # $hashed_secret"