From 9b5cfbfec02f0729c4a903d56010cf9a3495f8ed Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 16 Apr 2016 00:11:03 +0000 Subject: add tl-sign-file script git-svn-id: svn://tug.org/texlive/trunk@40543 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-sign-file | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 Master/tlpkg/bin/tl-sign-file (limited to 'Master') 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" + -- cgit v1.2.3