dpkg-sig does not support the zst compression type while the dpkg-deb supports it

Bug #2033920 reported by Zoltan Fried
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpkg-sig (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello,

In the Ubuntu 22.04 dpkg-deb package uses the default compression type as the zstd.
The dpkg-sig can sign a ztsd used debian package surprisingly, while the dpkg-sig does not support it.

Please check the relevant part of the code:
<code>
        return "FORCE_BAD" unless ($seen_files{'debian-binary'} &&
            ($seen_files{'control.tar'} || $seen_files{'control.tar.gz'} || $seen_files{'control.tar.xz'}) &&
            ($seen_files{'data.tar'} || $seen_files{'data.tar.gz'} || $seen_files{'data.tar.xz'} || $seen_files{'data.tar.bz2'} || $seen_files{'data.tar.lzma'}));
<code>

Changing the compression type to xz using the dpkg-deb, the signature will be correct.

# lsb_release -rd
Description: Ubuntu 22.04.3 LTS
Release: 22.04

package: dpkg-sig 0.13.1+nmu4

Zoltan Fried (deirf)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.