Repository navigation
fix(v5.1.0): pin tauri CLI to 2.12.4 for unsigned release builds - #399
Conversation
ECC Tools / Security EvidenceCommit: Security evidence gate passed (success) No security-sensitive scanner-evidence gap detected. Mode: enforce Scanned 3 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. |
tauri-cli 2.12.6 hard-fails the release build in both signing states:
malformed TAURI_SIGNING_PRIVATE_KEY ('Missing comment in secret key')
and no key at all ('A public key has been found, but no private key').
v5.0.1 shipped unsigned successfully on CLI 2.12.4, which warns and
continues. Pin the CLI to that exact version until the signing secret
is reset; see the comment in release.yml for the restore steps.
ECC Tools / PR Risk TaxonomyCommit: PR taxonomy review recommended (neutral) Detected 3 PR taxonomy bucket(s): Security Evidence, Install Manifest Integrity, CI/CD Recommendation. Scanned 3 changed file(s). Roadmap taxonomy buckets: Security EvidenceSecurity-sensitive changes should carry explicit scanner, code-scanning, or focused regression evidence. Signals:
Paths:
Install Manifest IntegrityInstall manifests, plugin metadata, and shipped skills should stay synchronized with user-facing setup guidance. 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 3 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 3 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. |
## 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.
What changed
@tauri-apps/clipinned to exactly2.12.4(package.json + lock) — the version that shipped the unsigned v5.0.1 release.Why
Run 45995338192 failed at
Build and releaseon both platforms:tauri-cli 2.12.6 hard-fails when
tauri.conf.jsoncarries 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
@tauri-apps/cli2.12.4 (all platform packages).src-tauri/Cargo.lock(committed blob is LF and correct — CI green on this check for feat(v5.1.0): Plugin Marketplace release #396/fix(v5.1.0): disable updater signing in release workflow #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.