hacks/bin/sign-dir

12 lines
256 B
Plaintext
Raw Normal View History

#!/bin/bash
SNEAK_KEY_ID="5539AD00DE4C42F3AFE11575052443F4DF2A55C2"
if [[ -e ./SHASUMS ]]; then
echo "SHASUMS already exists, exiting." > /dev/stderr
exit 1
fi
shasum * > SHASUMS
2018-09-19 18:41:43 +00:00
gpg -u $SNEAK_KEY_ID -a --output SHASUMS.sig --detach-sig SHASUMS