Rename signing secret to BMW_NISSAN_FIRMWARE_SIGNING_KEY
Firmware / build (push) Successful in 4m5s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-26 22:05:16 +02:00
parent effa949429
commit 1ec93dc413
5 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ How Controller A updates itself from this repo's Gitea releases, why each piece
```
git push tag vX.Y.Z ──► Gitea Actions (.gitea/workflows/firmware.yml, runner ubuntu-latest)
pio run (-DFW_VERSION="vX.Y.Z")
sign "patrol-a|vX.Y.Z|<sha256>" with secret FIRMWARE_SIGNING_KEY
sign "patrol-a|vX.Y.Z|<sha256>" with secret BMW_NISSAN_FIRMWARE_SIGNING_KEY
release vX.Y.Z: firmware.bin + firmware.elf + manifest.txt
│ public repo, HTTPS, no token
Controller A `ota install` ◄──────┘ (parked, Wi-Fi joined)
@@ -60,7 +60,7 @@ Wi-Fi must be joined via the Settings screen first. Joining an AP moves the radi
## Secrets and keys
- `FIRMWARE_SIGNING_KEY` — Gitea **repo secret** (Settings → Actions → Secrets), the EC P-256 private key PEM. Generated 2026-09-26; keep an offline backup. Losing it means devices only accept updates after one USB flash with a new public key.
- `BMW_NISSAN_FIRMWARE_SIGNING_KEY` — Gitea **repo secret** (Settings → Actions → Secrets), the EC P-256 private key PEM. Generated 2026-09-26; keep an offline backup. Losing it means devices only accept updates after one USB flash with a new public key.
- Public key: compiled in (`OTA_SIGNING_PUBKEY_PEM`) and in `tools/ota/firmware_signing_pub.pem` (CI self-checks each signature against it before publishing).
- Rotating the key: new keypair → update both public-key copies → USB-flash once (a device only trusts the key it was built with).