summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-tlcritical
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2016-04-12 06:12:20 +0000
committerNorbert Preining <preining@logic.at>2016-04-12 06:12:20 +0000
commit3c6b3c84c968c38b4331ff5aa3625238a5c970d9 (patch)
treec014c53b3999864dbfc1962315eaeab8b308276e /Master/tlpkg/bin/tl-update-tlcritical
parent9ebb44b0f1f7501c50e1384ab2bc6e48f66da8c8 (diff)
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
Diffstat (limited to 'Master/tlpkg/bin/tl-update-tlcritical')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-tlcritical8
1 files changed, 6 insertions, 2 deletions
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