Launcher and horizon-server update: install only releases whose signed checksums match
The launcher (game installs and its own updates) and `horizon-server update` fetch a release's SHA256SUMS and SHA256SUMS.sig, check the signature against the keys built in from crates/horizon-release-sign/release-keys.txt and the archive against the signed SHA-256, and refuse anything unsigned, signed for another tag or by another key, or that doesn't match, with a message saying why. Merge only once release-keys.txt lists the key and a signed stable release exists: until then every download is refused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -20,6 +20,7 @@ on:
|
||||
- 'crates/horizon-mods/**'
|
||||
- 'crates/horizon-port-pack/**'
|
||||
- 'crates/horizon-prepare/**'
|
||||
- 'crates/horizon-release-sign/**'
|
||||
- 'crates/horizon-telemetry/**'
|
||||
- 'crates/horizon-theme/**'
|
||||
- '.github/workflows/launcher.yml'
|
||||
|
||||
Reference in New Issue
Block a user