Add initial files

This commit is contained in:
2025-11-22 22:50:50 -08:00
commit bad45b4a1a
3 changed files with 33 additions and 0 deletions

13
verify-script.template Normal file
View File

@@ -0,0 +1,13 @@
#! /bin/bash
MESSAGE="{message}"
FILE="{filename}"
EXPECTED_HASH="{filehash}"
if [ "$(sha256sum "$FILE" | awk '{print $1}')" = "$EXPECTED_HASH" ]; then
printf "File $FILE validated with message:\n$MESSAGE"
exit 0
else
echo "File $FILE is not valid"
exit 1
fi