fdroid: add Binaries + rotate signing key for reproducible build - #5
Merged
Conversation
…build Address linsui's F-Droid review: add the `Binaries` URL pattern pointing at our own signed release APK so F-Droid can byte-compare its from-source build against it (the reproducible-build reference), paired with the existing `AllowedAPKSigningKeys`. Rotate `AllowedAPKSigningKeys` to the new signing cert (353db8b0…a1dd) after regenerating the release keystore with a strong passphrase and backing it up. Document the Binaries<->release.yml coupling in CLAUDE.md. Note: the fdroiddata copy of the recipe still needs the same change, and v2.0.3 must be re-released so its published APK is signed with the new key. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The fdroiddata copy (MR !41663) uses `Browser`; align the in-repo reference copy so the two stay in sync per CLAUDE.md. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses linsui's F-Droid review comment: "Please add Binaries or binary and AllowedAPKSigningKeys for reproducible build."
Changes
Binaries— adds the URL pattern for our own signed release APK (.../releases/download/v%v/DeBurrow-v%v.apk). This is the reproducible-build reference: F-Droid downloads the developer-signed APK and byte-compares it against its own from-source build. Combined withAllowedAPKSigningKeys, this is what makes the build "verified reproducible".AllowedAPKSigningKeys— rotated to the new signing cert (353db8b0…a1dd). The release keystore was regenerated with a strong passphrase and backed up safely (addressing linsui's second point about keeping the key safe).Binaries↔release.ymlcoupling.Follow-ups (outside this repo)
Binaries+AllowedAPKSigningKeyschange into thefdroiddatarecipe (the copy F-Droid actually reads).v2.0.3so the published APK at theBinariesURL is signed with the new key (the current asset predates the key rotation).🤖 Generated with Claude Code