Skip to content

fix(v5.1.0): enable updater signing with a fresh keypair - #400

Merged
github-actions[bot] merged 1 commit into
mainfrom
fix/restore-updater-signing
Nov 27, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
fix/restore-updater-signing

Conversation

@ohgeeceee

Copy link
Copy Markdown
Owner

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.

The updater config (pubkey + endpoint) is new in this cycle — v5.0.1 had
no updater at all — and the matching private key was never stored in the
repo secrets (only ANTHROPIC_API_KEY existed). tauri-cli therefore refused
to build in every state: malformed/empty key on 2.12.6, missing key on
2.12.4 too.

Generate a fresh passwordless minisign keypair, store the private key in
TAURI_SIGNING_PRIVATE_KEY (password secret intentionally empty), bake the
new public key into tauri.conf.json, restore the signing env lines, and
return the CLI to ^2.12.6. No shipped install references the old pubkey,
so rotation breaks nothing and v5.1.0 ships with working signed
auto-updates (signed bundles + latest.json).
@ecc-tools

ecc-tools Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Security Evidence

Commit: 9f755df11f4e22abf0c4165b013538466beb275c

Security evidence gate passed (success)

No security-sensitive scanner-evidence gap detected.

Mode: enforce

Scanned 4 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

ecc-tools Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / PR Risk Taxonomy

Commit: 9f755df11f4e22abf0c4165b013538466beb275c

PR taxonomy review recommended (neutral)

Detected 3 PR taxonomy bucket(s): Security Evidence, Install Manifest Integrity, CI/CD Recommendation.

Scanned 4 changed file(s).

Roadmap taxonomy buckets:

Security Evidence

Security-sensitive changes should carry explicit scanner, code-scanning, or focused regression evidence.

Signals:

  • 1 security-sensitive path(s) changed

Paths:

  • .github/workflows/release.yml

Install Manifest Integrity

Install manifests, plugin metadata, and shipped skills should stay synchronized with user-facing setup guidance.

Signals:

  • 2 install or manifest path(s) changed

Paths:

  • package-lock.json
  • package.json

CI/CD Recommendation

CI, dependency, coverage, and contract signals should be routed into follow-up checks or verification work.

Signals:

  • Runtime config changes may ship without example or template updates
  • CI workflow changes may ship without failure-mode evidence
  • 3 CI or workflow path(s) changed

Paths:

  • .github/workflows/release.yml
  • package-lock.json
  • package.json
  • src-tauri/tauri.conf.json

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

ecc-tools Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Reference Set Readiness

Commit: 9f755df11f4e22abf0c4165b013538466beb275c

Reference set readiness gaps detected (neutral)

Reference evidence present for 0/7 areas (0%) across 4 changed file(s).

This check is based on files changed in this PR. Repository-level readiness is still reported by /ecc-tools analyze comments and generated manifests.

Area Status Evidence / Next Step
Deep analyzer corpus Missing Add analyzer fixture, golden, benchmark, or reference-set files that can catch analyzer regressions.
RAG/evaluator comparison Missing Add retrieval or evaluator reference-set comparison fixtures with expected ranking behavior.
PR salvage/review corpus Missing Add stale-PR, review-thread, reopen-flow, or salvage reference cases for queue cleanup automation.
Discussion triage corpus Missing Add public discussion triage fixtures, golden cases, or reference sets for informational, answered, and no-response classifications.
Harness compatibility Missing Add cross-harness, adapter-compliance, or harness-audit evidence for Claude, Codex, OpenCode, Zed, dmux, and agent surfaces.
Security evidence Missing Attach security evidence such as SBOMs, SARIF, audit reports, or AgentShield evidence packs.
CI failure-mode evidence Missing Add captured CI failure logs, dry-run fixtures, or troubleshooting docs for common workflow failure modes.

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

ecc-tools Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Hosted Promotion Readiness

Commit: 9f755df11f4e22abf0c4165b013538466beb275c

Hosted promotion readiness passed (success)

No hosted promotion evidence gaps detected across 4 changed file(s); 0 corpus scenarios had matching evidence.

This check compares PR file changes against the evaluator/RAG promotion corpus in src/analyzers/fixtures/evaluator-rag-corpus.ts.
Hosted output scoring inspected 0 completed cached hosted job results.

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

ecc-tools Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / PR Config Audit

Commit: 9f755df11f4e22abf0c4165b013538466beb275c

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:

  • .github/workflows/release.yml

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

ecc-tools Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / PR Harness Audit

Commit: 9f755df11f4e22abf0c4165b013538466beb275c

No harness issues detected (success)

Scanned 1 changed config file(s) and found no harness issues.

Changed config files:

  • .github/workflows/release.yml

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@github-actions
github-actions Bot merged commit 9cb2248 into main Nov 27, 2026
17 checks passed
@github-actions
github-actions Bot deleted the fix/restore-updater-signing branch November 27, 2026 12:59
github-actions Bot pushed a commit that referenced this pull request Nov 27, 2026
## BeeEmUu v5.2.0 — Offline Marketplace

### Features (all Tier A, `src/js` + Plugins tab markup)
- **Offline registry cache** — last-good validated registry cached in
localStorage (256 KiB cap); on fetch failure the listing renders from
cache with a dated notice. Cached JSON is re-validated through
`validateRegistry`; corrupt caches are discarded, never trusted.
- **Offline management** — enable/disable/open/remove always work, even
with no cache. Installed plugins missing from the listing get their own
card instead of vanishing (previously a failed fetch replaced the whole
grid and hid management).
- **Update all** — one consent for ≥2 updates; each package uses the
same SHA-256-verified pipeline; per-plugin results; a failed download
keeps the installed version.
- **Updates preserve enabled state** (single + batch); running copies
stopped before replace.
- **Marketplace filter** — case-insensitive text filter over
name/id/description/author/category.

### Release surfaces
Stamped via `scripts/stamp-release.py v5.2.0` (self-verifying):
manifests, Cargo.lock, site pages, README badge + codename, version
guard, gen-content-pages, CHANGELOG section. `RELEASE_NOTES_v5.2.0.md`
added. App brand line bumped to v5.2.0.

### Verification
- `node --test "src/js/**/*.test.js" "src/js/**/*.test.cjs"
"frontend/**/*.test.js"` → **1174 pass / 1 local-only CRLF artifact**
(Cargo.lock checked out with CRLF on Windows; committed blob is LF —
same state as the green v5.1.0 CI runs).
- **5 new jsdom UI tests** run the real `marketplace_ui.js` offline:
no-cache management incl. Disable round-trip to storage, cache restore
with update badges + Update all, corrupt-cache fallback, filtering +
empty state, cache write on successful refresh.
- New pure tests: registry cache round-trip/corruption/caps,
`filterEntries` field coverage.

### After merge
Tag v5.2.0 → release workflow (signed, secrets in place since #400) →
dispatch update-on-release → plugins.beemuu.com syncs automatically.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant