Created
July 26, 2022 19:42
-
-
Save n8fr8/69ba91627dc9cde3a4aac5964a712501 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
prooffile=$1 | |
set $(sha256sum $1) | |
proofhash=$1 | |
echo checking integrity for proofhash $proofhash | |
rm pubkey.asc.gpg | |
gpg --dearmor pubkey.asc | |
gpg --no-default-keyring --keyring ./pubkey.asc.gpg --homedir ./ --verify $proofhash.asc $prooffile | |
gpg --no-default-keyring --keyring ./pubkey.asc.gpg --homedir ./ --verify $proofhash.proof.csv.asc | |
gpg --no-default-keyring --keyring ./pubkey.asc.gpg --homedir ./ --verify $proofhash.proof.json.asc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment