From 3c6b3c84c968c38b4331ff5aa3625238a5c970d9 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 12 Apr 2016 06:12:20 +0000 Subject: switch consistently to sha512 for all checksums, sign installer and iso etc git-svn-id: svn://tug.org/texlive/trunk@40455 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-update-tlcritical | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Master/tlpkg/bin/tl-update-tlcritical') diff --git a/Master/tlpkg/bin/tl-update-tlcritical b/Master/tlpkg/bin/tl-update-tlcritical index 37bf367117a..c6052e89f48 100755 --- a/Master/tlpkg/bin/tl-update-tlcritical +++ b/Master/tlpkg/bin/tl-update-tlcritical @@ -44,11 +44,15 @@ do_updater () mv $newfile $tlcrit # move new file # # make checksum for new file - (cd $tlcrit && sha256sum $newfile >$newfile.sha256) + (cd $tlcrit && sha512sum $newfile >$newfile.sha512) + (cd $tlcrit && gpg --homedir /home/texlive/.gnupg \ + --passphrase-file /home/texlive/.gnupg/passphrase \ + --armor --detach-sign --local-user 0x06BAB6BC $newfile.sha512) # # link to generic names (cd $tlcrit && ln -s $newfile update-tlmgr-latest.$type) - (cd $tlcrit && ln -s $newfile.sha256 update-tlmgr-latest.$type.sha256) + (cd $tlcrit && ln -s $newfile.sha512 update-tlmgr-latest.$type.sha512) + (cd $tlcrit && ln -s $newfile.sha512.asc update-tlmgr-latest.$type.sha512.asc) } # additionally disabled packages -- cgit v1.2.3