Menu ▾ ▴

#1 Release binaries can't be verified against the source (no GitHub Releases, checksums or provenance)

open
nobody
None
2026-11-16
2026-11-16
Anonymous
No

Originally created by: delmicio

Hi, and thanks for making Torrie open source!

I read through the source before trying it, and it looks clean: no telemetry in the app, the updater checks the Team ID and runs spctl, and the remote control is local-only by default. What I can't check is whether the app I download matches this code.

The problem

  • The repo has no GitHub Releases. The DMG and the update zip are only served from dl.kronz.xyz.
  • No checksums or build provenance are published, and builds aren't reproducible.
  • So a user can verify the source, but not the binary they actually run. That's also the binary the updater trusts.

Notarization and the Team ID check prove that the build came from your Apple developer account. They don't prove that it was built from this repo's code.

Suggestions (any of these would help)

  1. Publish each release (DMG and update zip) as a GitHub Release tied to the matching tag. Right now only v1.0.0 and v1.1.0 are tagged, while the app is at 1.2.2.
  2. Publish SHA-256 checksums for each artifact, both in the release notes and in latest.json.
  3. Build releases in GitHub Actions from the tagged commit and attach a build provenance attestation (actions/attest-build-provenance). Users could then run gh attestation verify Torrie.dmg -R kronzhq/torrie.
  4. Longer term: document the exact toolchain and build steps so a release can be rebuilt and compared. Code signatures differ between builds, so the comparison would be of the unsigned Mach-O.

In the meantime I'm building from source with apps/torrie/scripts/bundle.sh, which works well. Thanks again!

Discussion


Log in to post a comment.