diff options
-rwxr-xr-x | Master/tlpkg/bin/tl-sign-file | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/tlpkg/bin/tl-sign-file b/Master/tlpkg/bin/tl-sign-file new file mode 100755 index 00000000000..2578698f8ff --- /dev/null +++ b/Master/tlpkg/bin/tl-sign-file @@ -0,0 +1,15 @@ +#!/bin/sh +# Public domain. Originally written 2016, Norbert Preining +# Sign a file for release in TeX Live + +if [ -z "$1" ] ; then + echo "no argument given, nothing to sign" >&2 + exit 1 +fi +# remove previous signature +rm -f "$1.asc" +# sign +gpg --batch --homedir /home/texlive/.gnupg \ + --passphrase-file /home/texlive/.gnupg/passphrase \ + --armor --detach-sign --local-user 0x06BAB6BC "$1" + |