add commands to checksum and sign files in dir
This commit is contained in:
parent
861e527aa8
commit
7ee4470545
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
SNEAK_KEY_ID="5539AD00DE4C42F3AFE11575052443F4DF2A55C2"
|
||||||
|
|
||||||
|
gpg --verify SHASUMS.asc SHASUMS
|
||||||
|
shasum -c SHASUMS
|
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
SNEAK_KEY_ID="5539AD00DE4C42F3AFE11575052443F4DF2A55C2"
|
||||||
|
|
||||||
|
if [[ -e ./SHASUMS ]]; then
|
||||||
|
echo "SHASUMS already exists, exiting." > /dev/stderr
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
shasum * > SHASUMS
|
||||||
|
gpg -u $SNEAK_KEY_ID -a --output SHASUMS.asc --detach-sig SHASUMS
|
Loading…
Reference in New Issue