Created
May 5, 2014 04:39
-
-
Save imesh/1391d38c5863e7e9ea68 to your computer and use it in GitHub Desktop.
Verify signatures and hash values of a Stratos release
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/sh | |
md5=".md5" | |
sha1=".sha1" | |
asc=".asc" | |
for f0 in *.zip | |
do | |
echo $f0 | |
f2=$f0$md5 | |
md5sum -c $f2 | |
f3=$f0$sha1 | |
sha1sum -c $f3 | |
f4=$f0$asc | |
gpg --verify $f4 $f0; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment