bakery: rotate signing key, fix broken index-signature verification
Some checks failed
Mirror to GitHub / mirror (push) Failing after 1s
release bakery / build (push) Failing after 44s
release bread-theme / build (push) Failing after 15s
Build and publish package / package (push) Successful in 1m13s

The old bakery-signing-key.minisign-sec on hestia was password-encrypted
and the password was lost, so scripts/gen-index.sh never actually signed
index.json (silent no-op warning). bakery/src/manifest.rs (0.3.0+) hard-
requires that signature, so every bakery command has been failing with
'fetching index.json.minisig — the index must be signed before it can be
trusted' since the signing enforcement shipped.

Generated a new no-password minisign keypair on hestia
(~/.secrets/bakery-signing-key-2.minisign-sec), updated the hardcoded
PUBKEY in manifest.rs and get.sh to match, wired
BAKERY_MINISIGN_SEC_KEY_PATH as a Forgejo Actions secret so future CI
releases sign automatically, and manually signed+published the current
index.json on hestia so bakery works immediately.
This commit is contained in:
Breadway 2026-07-21 19:07:49 +08:00
parent 8e82d2d833
commit 157ed6e378
4 changed files with 7 additions and 7 deletions

8
Cargo.lock generated
View file

@ -104,7 +104,7 @@ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
[[package]]
name = "bakery"
version = "0.3.0"
version = "0.3.1"
dependencies = [
"anyhow",
"chrono",
@ -149,7 +149,7 @@ dependencies = [
[[package]]
name = "bread-onnx"
version = "0.3.0"
version = "0.3.1"
dependencies = [
"anyhow",
"bread-utils",
@ -175,7 +175,7 @@ dependencies = [
[[package]]
name = "bread-theme"
version = "0.3.0"
version = "0.3.1"
dependencies = [
"dirs",
"gtk4",
@ -185,7 +185,7 @@ dependencies = [
[[package]]
name = "bread-utils"
version = "0.3.0"
version = "0.3.1"
dependencies = [
"bread-shared",
"dirs",