This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=aac147989efa0dad79181d85899dfae6fe2a88ce

commit aac147989efa0dad79181d85899dfae6fe2a88ce
Author: Guillem Jover <[email protected]>
AuthorDate: Mon Feb 7 00:32:21 2022 +0100

    Dpkg::Source::Package: Print verifying signature for all source formats
    
    Move the printing into the check_original_tarball_signature() function,
    so that we can print one line per signature verified. Otherwise we could
    only do that for the 1.0 format, which does not support multiple orig
    tarballs.
    
    While at it, simplify the message to only print the signature we are
    verifying, and not the data file it is attached to.
---
 scripts/Dpkg/Source/Package.pm    | 1 +
 scripts/Dpkg/Source/Package/V1.pm | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Dpkg/Source/Package.pm b/scripts/Dpkg/Source/Package.pm
index 7fc453e59..35f5b8350 100644
--- a/scripts/Dpkg/Source/Package.pm
+++ b/scripts/Dpkg/Source/Package.pm
@@ -445,6 +445,7 @@ sub check_original_tarball_signature {
     );
 
     foreach my $asc (@asc) {
+        info(g_('verifying %s'), $asc);
         Dpkg::OpenPGP::verify_signature($asc,
             %opts,
             keyrings => [ $keyring ],
diff --git a/scripts/Dpkg/Source/Package/V1.pm 
b/scripts/Dpkg/Source/Package/V1.pm
index e65214195..931d094f7 100644
--- a/scripts/Dpkg/Source/Package/V1.pm
+++ b/scripts/Dpkg/Source/Package/V1.pm
@@ -430,7 +430,6 @@ sub do_build {
         }
     }
     if ($tarsign and -e $tarsign) {
-        info(g_('verifying %s using existing %s'), $tarname, $tarsign);
         $self->check_original_tarball_signature($dir, $tarsign);
 
         info(g_('building %s using existing %s'), $sourcepackage, $tarsign);

-- 
Dpkg.Org's dpkg

Reply via email to