Package: debpool
Severity: normal
Version: 0.1.11
Tags: experimental patch

Signatures by gnupg 1.0.7 have no header lines
after the BEGIN line.

-----BEGIN PGP SIGNED MESSAGE-----

Format: 1.7
...

debpool eats constant three lines, so in such a message
it eats the Format: line, and later complains about it missing.

Attached is a patch that actually looks for the empty line.
--- /usr/share/debpool/perl5/DebPool/GnuPG.pm.orig	2005-02-12 00:50:50.000000000 +0200
+++ /usr/share/debpool/perl5/DebPool/GnuPG.pm	2005-02-12 00:51:03.000000000 +0200
@@ -283,7 +283,11 @@
     # header, a hash line, then a blank line). Again, we'll do it with
     # splicing.
 
-    splice(@text, $header, 3);
+    splice(@text, $header, 1);
+    while ($text[0]) {
+        splice(@text, $header, 1);
+    }
+    splice(@text, $header, 1);
 
     # All done. Fire it back.
 

Reply via email to