Commit 661adfc0 authored by Chris Lamb's avatar Chris Lamb 👀
Browse files

Use --walk over (potentially dangerous) --scan argument of zipdetails(1)....

Use --walk over (potentially dangerous) --scan argument of zipdetails(1). (Closes: #406)
parent 2db5bd98
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -157,7 +157,9 @@ def zipinfo_differences(file, other):
class Zipdetails(Command):
    @tool_required("zipdetails")
    def cmdline(self):
        return ["zipdetails", "--redact", "--scan", "--utc", self.path]
        # See <https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/406>
        # for discussion of zipdetails command line arguments.
        return ["zipdetails", "--redact", "--walk", "--utc", self.path]


class ZipDirectory(Directory, ArchiveMember):