Package: dpkg-sig Version: 0.13 Severity: wishlist Tags: patch Hi Marc!
If one disassembles a binary deb package and re-assembles it with GNU ar, the file names have a final slash which is not recognized by dpkg-sig, giving bad signature errors. What needs to be changed is the following check (already a diff): (looks strange but is only that the tabs here are 8chars, and in the dpkg-sig they are 4 chars) --- dpkg-sig.orig 2006-03-12 16:15:52.000000000 +0100 +++ dpkg-sig 2006-03-12 16:17:41.000000000 +0100 @@ -633,9 +633,13 @@ return "FORCE_BAD"; } - return "FORCE_BAD" unless ($seen_files{"control.tar.gz"} && - $seen_files{"data.tar.gz"} && - $seen_files{"debian-binary"}); + return "FORCE_BAD" unless ( ($seen_files{"control.tar.gz"} && + $seen_files{"data.tar.gz"} && + $seen_files{"debian-binary"}) + || + ($seen_files{"control.tar.gz/"} && + $seen_files{"data.tar.gz/"} && + $seen_files{"debian-binary/"})); return "GOOD"; } Best wishes Norbert -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (10, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-rc4-mm2 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages dpkg-sig depends on: ii gnupg 1.4.2.2-1 GNU privacy guard - a free PGP rep ii libconfigfile-perl 1.2.1 Parses simple configuration files ii perl [libdigest-md5-perl] 5.8.8-2 Larry Wall's Practical Extraction dpkg-sig recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]