From f6a8aec396748298d6882320619a94ae6a9f4e60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= <1005065+DeepDiver1975@users.noreply.github.com> Date: Fri, 18 Sep 2026 23:40:26 +0200 Subject: [PATCH] docs(download): point macOS users at the .dmg checksum that exists MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `SHA256SUMS.txt` covers the `.msi`, the `.deb` and the `.apk`. The `.dmg` is built after the release already exists, so it deliberately never joins that file — it carries its own `.dmg.sha256` instead. The page offered a Mac user exactly one line, `shasum -a 256 -c SHA256SUMS.txt`, which on a downloaded `.dmg` reports three `FAILED open or read` entries and exits 1 — indistinguishable from a tampered download, and the worst possible first impression for the Datenschutzbeauftragter this section is written for. Companion to CodeForFire/lagebuch#394, which fixes the same trap in the README and the generated release notes. AGENTS.md there requires the two to change together. Co-Authored-By: Claude Opus 5 (1M context) Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com> --- src/content/docs/download.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/content/docs/download.md b/src/content/docs/download.md index 41c0c9e..8d21995 100644 --- a/src/content/docs/download.md +++ b/src/content/docs/download.md @@ -53,6 +53,14 @@ certutil -hashfile SHA256 # Windows, mit SHA256SUMS.txt vergleichen gh attestation verify --repo CodeForFire/lagebuch ``` +`SHA256SUMS.txt` deckt `.msi`, `.deb` und `.apk` ab. Das `.dmg` entsteht erst +nach dem Release und bringt deshalb seine eigene Prüfsumme mit: + +```bash +shasum -a 256 -c lagebuch--macos-arm64.dmg.sha256 # macOS +sha256sum -c lagebuch--macos-arm64.dmg.sha256 # Linux +``` + So lässt sich nachweisen, dass die Datei unverändert aus dem Repository stammt – auch solange die Pakete noch nicht signiert sind. Für die Kreisbrandinspektion oder den Datenschutzbeauftragten ist das die prüfbare