From 9630b626104b0296f335c2ec5dc860251ce097e0 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 10 Feb 2020 10:14:56 +0000 Subject: better error message for expired keys and signatures git-svn-id: svn://tug.org/texlive/trunk@53746 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/texlive/tlmgr.pl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index 2f09a6f9893..a92ad2dca2e 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -7050,10 +7050,14 @@ END_NO_INTERNET tldie("$prg: verification of checksum for $location failed: $msg\n"); } elsif ($ret == $VS_EXPKEYSIG) { # do nothing, try to get new tlpdb and hope sig is better? - debug("$prg: good signature bug gpg key expired, continuing anyway!\n"); + tlwarn("Verification problem of the TL database at $location:\n"); + tlwarn("--> $VerificationStatusDescription{$ret}\n"); + # debug("$prg: good signature bug gpg key expired, continuing anyway!\n"); } elsif ($ret == $VS_REVKEYSIG) { # do nothing, try to get new tlpdb and hope sig is better? - debug("$prg: good signature but from revoked gpg key, continuing anyway!\n"); + tlwarn("Verification problem of the TL database at $location:\n"); + tlwarn("--> $VerificationStatusDescription{$ret}\n"); + #debug("$prg: good signature but from revoked gpg key, continuing anyway!\n"); } elsif ($ret == $VS_VERIFIED) { $remotetlpdb = TeXLive::TLPDB->new(root => $location, tlpdbfile => $loc_copy_of_remote_tlpdb); -- cgit v1.2.3