mirror of
https://github.com/Dvorinka/Primora.git
synced 2026-10-28 07:41:23 +00:00
feat: Desktop auto-updater + release SBOMs
- tauri-plugin-updater + process: pubkey embedded in tauri.conf.json, createUpdaterArtifacts, endpoint = GitHub latest.json manifest. - Connect screen checks before auto-connect (bounded 5s) — a saved URL would otherwise navigate away before the check resolves. "Update & restart" downloads, verifies minisign, installs, relaunches. - Release workflow signs updater artifacts with TAURI_SIGNING_PRIVATE_KEY secrets, ships the .sig files, and assembles latest.json from them. No key → no manifest → no update, never a silent unsigned install. - anchore/sbom-action emits CycloneDX SBOMs per GHCR image plus the source tree, attached to every release. Note: the signing keypair was generated locally (~/.tauri/primora-updater.key); the private half must be added to repo secrets before the next release for updates to activate. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
fd36389328
commit
edef002beb
10 files changed
+645
-16
No files matched your search
+9
-4
@@ -123,8 +123,11 @@ Follow-ups:
|
||||
|
||||
- Verify the macOS/Windows desktop bundles produced by the `v0.5.0` CI run
|
||||
(host-verified on Linux only).
|
||||
- Desktop bundle signing + auto-updater — unsigned artifacts today; add when
|
||||
distribution matures.
|
||||
- ~~Desktop bundle signing + auto-updater~~ ✅ — `tauri-plugin-updater`
|
||||
wired: signed updater artifacts (`createUpdaterArtifacts`), minisign
|
||||
keypair, `latest.json` manifest assembled on release, in-app
|
||||
"Update & restart" on the connect screen. macOS/Windows OS-level code
|
||||
signing (notarization/Authenticode) still open — needs paid certs.
|
||||
|
||||
## Phase 6 — Production hardening (v0.6.0) ✅
|
||||
|
||||
@@ -205,8 +208,10 @@ release pipeline with images + binaries + desktop bundles.
|
||||
- ~~**arm64 images**~~ ✅ — release builds `linux/amd64,linux/arm64` via
|
||||
QEMU + buildx.
|
||||
- Carried forward from Phase 5 follow-ups: macOS/Windows bundle
|
||||
verification, signing + auto-updater.
|
||||
- Optional: SBOM + provenance attestation on release images.
|
||||
verification; updater + minisign signing shipped (OS-level signing
|
||||
remains open).
|
||||
- ~~Optional: SBOM~~ ✅ — CycloneDX SBOMs per published image + source
|
||||
tree, attached to every release (`anchore/sbom-action`).
|
||||
|
||||
### Docs
|
||||
|
||||
|
||||
Reference in new issue
Block a user