Create and validate install.sh signatures (#8312)

- SHA256 Signature of the install script
- Added a sha256sum invocations in the validate script.

  These calls will validate that the install script signatures
  match. And when the script is changed the signatures must be
  recalculated as reported by the error message in sha256sum.

Signed-off-by: Jose D. Gomez R <jose.gomez@suse.com>
This commit is contained in:
Jose D. Gomez R 2023-09-27 21:34:08 +02:00 committed by GitHub
parent 2a9e8e68d5
commit 79b44cee29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

1
install.sh.sha256sum Normal file
View File

@ -0,0 +1 @@
4903337c0ec695a4a1f1a755737a86b985c85dc0e5174f16c971455186e4bf31 install.sh

View File

@ -8,6 +8,9 @@ fi
cd $(dirname $0)/..
echo Running: install script signature checks
sha256sum -c install.sh.sha256sum
echo Running: go mod tidy
go mod tidy