orig-check — Debian Upstream Tarball Checker

orig-check is a service that verifies the integrity of Debian source packages. It ensures that the upstream tarball (e.g. .orig.tar.gz) is a faithful representation of the original source code as released by the upstream developers. This is a critical part of securing the software supply chain and achieving reproducible builds.

How It Works

For each Debian Source Control (.dsc) file, orig-check:

  1. Downloads the source package specified by the .dsc URL.
  2. Uses uscan to fetch the corresponding upstream tarball using the debian/watch file, including any repacking steps.
  3. Compares the SHA256 checksum of the Debian-provided tarball with the one downloaded by uscan.
  4. If the checksums differ, it runs diffoscope to generate a detailed, human-readable report of the differences.

To improve results, the service includes two key features:

The goal is to provide a strong guarantee that the source code in Debian is an unaltered representation of the upstream release, which is fundamental for software supply chain security and reproducible builds.

Why Not 100% Match?

Currently, only around 54% of packages have bit-for-bit identical tarballs, and another 10% are "quasi-identical" (identical after normalization). Reasons for this are:

Results

A per-maintainer/team dashboard is available on the Debian Maintainer Dashboard.

Statistics are also available.

Source Version Releases DSC SHA256 Diagnostic Timestamp