Skip to content

Commit

Permalink
Use SHA512 hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
oh2fih committed Feb 4, 2024
1 parent 1c97c77 commit 3befdf6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion securitytxt-signer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,8 @@ fi
echo -e '\033[0;33m---\033[0m'

echo "$FORMATTED" \
| gpg --clearsign --local-user "$KEY" --output "$OUTFILE" \
| gpg --clearsign --digest-algo SHA512 \
--local-user "$KEY" --output "$OUTFILE" \
2> >(sed $'s,.*,\e[33m&\e[m,'>&2) \
|| exit 1

Expand Down

0 comments on commit 3befdf6

Please sign in to comment.