Released

Howdah 1.7.1 is released — Layer 1 (request-shape limits), Layer 2 (input inspection, log-only), Layer 3 (sink hardening, log-only) and Layer 4 (after-breach behaviour, log-first). Howdah starts in detect mode: the critical limits block, everything else only logs. Read the coverage table for exactly what has been tested on your PHP version before you switch rules to block.

Home / Docs / Verify a release

Verify a release

Four checks for a file from the releases page, from quickest to strongest. The full steps, including the apt and yum packages, are in docs/verify.md.

What these checks do not tell you

  • They tie a file to the public source, the project key and the release workflow. They do not say the code is free of bugs. Howdah has had no third-party security audit yet; the audit brief is the scope we are asking one to cover.
  • Build provenance and the SBOM start with 1.5.0. Releases 1.4.0 and earlier have no attestations; their GPG signatures are unchanged.

1. GPG signature and checksums

Check the key's primary fingerprint first. It must be 1152 1035 C600 F638 31F8 2551 2087 B872 0997 807B.

curl -fsSL https://howdah.org/key.asc | gpg --show-keys --with-fingerprint

Then check the signature over SHA256SUMS and the file against it. gpg --verify must print Good signature and that primary key fingerprint.

V=1.7.1
B=https://github.com/howdah/howdah/releases/download/v$V
T=howdah-$V-php7.4-20190902-linux-x86_64.tar.gz
curl -fLO $B/$T -O $B/SHA256SUMS -O $B/SHA256SUMS.asc -O $B/howdah-release-signing.asc
gpg --import howdah-release-signing.asc
gpg --verify SHA256SUMS.asc SHA256SUMS
sha256sum -c --ignore-missing SHA256SUMS

2. Build provenance

Every tarball, howdah-check and SHA256SUMS has a SLSA build provenance attestation from the release workflow, signed through Sigstore with that workflow run's identity and recorded in Sigstore's public transparency log. It names the repository, workflow, tag and commit that built the file. With the GitHub CLI (logged in):

gh attestation verify "$T" -R howdah/howdah \
  --signer-workflow howdah/howdah/.github/workflows/release.yml \
  --source-ref refs/tags/v$V \
  --deny-self-hosted-runners

Without a GitHub account, use the Sigstore bundle shipped with the release and cosign (tested with cosign 3.1.4). A changed file fails with provided artifact digests do not match digests in statement.

curl -fLO $B/howdah-$V.provenance.sigstore.json
cosign verify-blob-attestation "$T" \
  --bundle howdah-$V.provenance.sigstore.json \
  --type slsaprovenance1 \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  --certificate-identity "https://github.com/howdah/howdah/.github/workflows/release.yml@refs/tags/v$V"

The packages on pkg.howdah.org carry provenance from the publish workflow too; see the packages section.

3. SBOM

A CycloneDX SBOM of howdah.so is attested against each flavour's tarballs: the Rust crates compiled in, and the build-time crates that generate part of it, with versions and licences, from Cargo.lock at the tag.

gh attestation verify "$T" -R howdah/howdah \
  --predicate-type https://cyclonedx.org/bom --format json \
  --jq '.[0].verificationResult.statement.predicate.components[] | "\(.name) \(.version)"'

4. Reproducible rebuild

The release tarballs are built to be reproducible: the same tag should give byte-identical tarballs on any machine with Docker. What was checked: two clean builds of one commit gave identical PHP 7.4 and 8.3 x86_64 tarballs; the aarch64 and musl flavours use the same scripts but were not rebuilt twice, and the Remi headers and Alpine packages they install are not pinned (see the residual causes in docs/verify.md). packaging/verify-reproducible.sh checks the signed SHA256SUMS, rebuilds one PHP minor with that tag's own build scripts, and prints MATCH or MISMATCH along with the sha256 of the howdah.so inside each tarball.

git clone https://github.com/howdah/howdah && cd howdah
packaging/verify-reproducible.sh v1.7.1 7.4                 # x86_64
packaging/verify-reproducible.sh v1.7.1 8.3 x86_64-musl     # or aarch64

The compiler, base image, build tools, PHP sources and archive metadata are pinned. Known residual causes of a mismatch: the PHP 5.4 to 8.1 headers for x86_64 come from Remi's EL7 repository by name, and the musl build installs Alpine 3.21 packages by name. The .deb packages are reproducible for a given dpkg version; the .rpm packages are not byte-reproducible (EL7's rpm stamps the build time, and the published rpm is signed), but their payload is. Tags up to 1.4.0 do not rebuild to the same tarball; for 1.4.0 the howdah.so inside does. Details: docs/verify.md.