Repository navigation
fix(v5.1.0): disable updater signing in release workflow - #398
Conversation
The TAURI_SIGNING_PRIVATE_KEY repo secret is malformed; tauri-cli 2.12.6
hard-fails decoding it ('incorrect updater private key password: Missing
comment in secret key'), which failed the v5.1.0 release build after the
bundles were produced. v5.0.1 already shipped unsigned for the same
underlying reason, so drop the signing env vars to match current
production behavior until the secret is reset.
ECC Tools / Security EvidenceCommit: Security evidence gate passed (success) No security-sensitive scanner-evidence gap detected. Mode: enforce Scanned 1 changed file(s). No missing scanner-evidence signal was detected. Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Risk TaxonomyCommit: PR taxonomy review recommended (neutral) Detected 2 PR taxonomy bucket(s): Security Evidence, CI/CD Recommendation. Scanned 1 changed file(s). Roadmap taxonomy buckets: Security EvidenceSecurity-sensitive changes should carry explicit scanner, code-scanning, or focused regression evidence. Signals:
Paths:
CI/CD RecommendationCI, dependency, coverage, and contract signals should be routed into follow-up checks or verification work. Signals:
Paths:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Reference Set ReadinessCommit: Reference set readiness gaps detected (neutral) Reference evidence present for 0/7 areas (0%) across 1 changed file(s). This check is based on files changed in this PR. Repository-level readiness is still reported by
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Hosted Promotion ReadinessCommit: Hosted promotion readiness passed (success) No hosted promotion evidence gaps detected across 1 changed file(s); 0 corpus scenarios had matching evidence. This check compares PR file changes against the evaluator/RAG promotion corpus in No evaluator corpus scenarios matched this PR. Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Config AuditCommit: No changed-config issues detected (success) Scanned 1 config file(s) present at this commit across 1 changed config path(s) and found no issues in the supported security rules. Changed config files:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Harness AuditCommit: No harness issues detected (success) Scanned 1 changed config file(s) and found no harness issues. Changed config files:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
|
Follow-up: updater signing is now disabled until the repo secret is fixed (issues are disabled on this repo, so tracking here). The To restore signed auto-updates (repo admin, ~5 min):
If the key file is lost: |
## What changed - `@tauri-apps/cli` pinned to exactly `2.12.4` (package.json + lock) — the version that shipped the unsigned v5.0.1 release. - release.yml comment updated with the full picture and restore steps. ## Why Run 45995338192 failed at `Build and release` on both platforms: ``` A public key has been found, but no private key. Make sure to set `TAURI_SIGNING_PRIVATE_KEY` environment variable. ``` tauri-cli 2.12.6 hard-fails when `tauri.conf.json` carries an updater pubkey and no usable private key — in both states (malformed secret: run 45990837771; no secret env: run 45995338192). CLI 2.12.4 warns and ships unsigned, which is exactly how v5.0.1 reached production (`Signature not found for the updater JSON. Skipping upload...`). ## Verification - Lockfile resolves `@tauri-apps/cli` 2.12.4 (all platform packages). - JS suite: 1165/1166 local pass; the single failure is the known local CRLF checkout artifact in `src-tauri/Cargo.lock` (committed blob is LF and correct — CI green on this check for #396/#398). ## Follow-up After merge, tag v5.1.0 moves to the new main HEAD and the release is re-dispatched (the tag's source must carry this pin). Restore path for signed updates is documented in release.yml and on #398.
## What changed - Fresh minisign keypair generated; private key stored in `TAURI_SIGNING_PRIVATE_KEY` repo secret (passwordless; `TAURI_SIGNING_PRIVATE_KEY_PASSWORD` set to empty). - `src-tauri/tauri.conf.json`: updater pubkey replaced with the new public key. - `.github/workflows/release.yml`: signing env lines restored with an explanatory comment. - CLI pin reverted: `@tauri-apps/cli` back to `^2.12.6` (valid key makes 2.12.6 work). ## Root cause (fully confirmed) The updater config is **new in the v5.1.0 cycle** — v5.0.1's `tauri.conf.json` has no `plugins.updater` block at all, which is why it shipped unsigned without errors. The matching private key was never in repo secrets (the secrets API listed only `ANTHROPIC_API_KEY`). tauri-cli refuses to build with a configured pubkey and no private key in **both** 2.12.4 and 2.12.6, so neither dropping the env vars (#398) nor pinning the CLI (#399) could work. Rotating the pubkey is safe: no released install contains the old one. ## Verification - Private key file validated as proper base64 minisign format before upload; both secrets created via API (HTTP 201). - JS suite: 1165 pass / 1 known local CRLF-only artifact (Cargo.lock line endings; committed blob is LF, CI green on this check historically). ## After merge Move tag v5.1.0 to the merged commit and let the tag push run the release. Expected: signed bundles (`.sig`), `latest.json` uploaded, draft auto-published. This supersedes the unsigned-fallback tracking comment on #398.
|
Update — resolved properly in PR #400, no secret surgery needed. Deeper diagnosis changed the picture: the updater config ( Resolution: a fresh passwordless minisign keypair was generated, the private key is now stored in the |
What changed
Removed the
TAURI_SIGNING_PRIVATE_KEY/TAURI_SIGNING_PRIVATE_KEY_PASSWORDenv vars from the release workflow (comment left in place explaining why).Why
The v5.1.0 release build (run 45990837771) produced all bundles successfully, then failed at the signing step:
The
TAURI_SIGNING_PRIVATE_KEYrepo secret is malformed. The successful v5.0.1 release shipped unsigned for the same underlying reason (older tauri-cli skipped signing with a warning; 2.12.6 hard-fails). This change matches current production behavior so the release can proceed.Follow-up
A tracking issue will be filed to restore signed auto-updates once the secret is re-set from the original
~/.taurikey file.Verification