Add explanation to script template

This commit is contained in:
2025-11-24 12:07:16 -08:00
parent 6eb284659b
commit 0e6f27a4f2

View File

@@ -1,4 +1,19 @@
#!/bin/env sh
# This script should have come along with two files:
# * The target file '{filename}'
# * The signature file '{filename}.sh.sig'
# (or this file should have been signed in some other way)
#
# First, you should verify that this file came from the person you expect by
# verifying the signature.
#
# Next, you should run this script which will check that the target file
# matches the hash that was calculated when the message below was written.
# This will confirm that the file you have matches the file the message was
# written about.
#
# Alternatively, if you don't want to run this script, you can verify the
# hash manually.
MESSAGE="{message}"
FILE="{filename}"