Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-linaro committed Feb 16, 2024
1 parent a1495a4 commit d19df39
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions sign-security.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This script must be run in the directory of the repo
if [[ -f "security.txt" ]]; then
TODAY=$(date +%Y-%m-%d)
EXPIRE=$(date +%Y-%m-%dT00:00:00.000Z -d "$TODAY + 6 month")
cp security.txt temp-security.txt
echo "Expires: $EXPIRE" >> temp-security.txt
gpg --clearsign --default-key [email protected] --passphrase Radial-swipe-Division-Fault-2Accustom-Jaw6-4duration-potato temp-security.txt
rm temp-security.txt
mv temp-security.txt.asc security.txt.asc
fi

0 comments on commit d19df39

Please sign in to comment.