From 0cb4ebb6f106c7b6a4571118207114d2fb8c1c70 Mon Sep 17 00:00:00 2001
From: ohgeeceee <259193421+ohgeeceee@users.noreply.github.com>
Date: Sat, 28 Nov 2026 07:32:53 -0800
Subject: [PATCH] feat(v5.4.0): Verified Registry release
---
CHANGELOG.md | 49 ++++++++++++++++++
README.md | 8 +--
RELEASE_NOTES_v5.4.0.md | 46 +++++++++++++++++
docs/v5.3-plan.md | 2 +-
frontend/changelog.html | 2 +-
frontend/dashboard.html | 2 +-
frontend/index.html | 6 +--
frontend/press.html | 6 +--
frontend/roadmap.html | 2 +-
frontend/version_surface.test.js | 2 +-
package-lock.json | 4 +-
package.json | 2 +-
scripts/gen-content-pages.py | 6 +--
src-tauri/Cargo.lock | 2 +-
src-tauri/Cargo.toml | 2 +-
src-tauri/tauri.conf.json | 2 +-
src/index.html | 3 +-
src/js/marketplace_registry.js | 5 ++
src/js/marketplace_registry.test.js | 8 +++
src/js/marketplace_ui.js | 44 +++++++++++++++-
src/js/marketplace_ui.test.js | 79 ++++++++++++++++++++++++++++-
src/js/marketplace_verify.js | 70 +++++++++++++++++++++++++
src/js/marketplace_verify.test.js | 48 ++++++++++++++++++
23 files changed, 371 insertions(+), 29 deletions(-)
create mode 100644 RELEASE_NOTES_v5.4.0.md
create mode 100644 src/js/marketplace_verify.js
create mode 100644 src/js/marketplace_verify.test.js
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 84790c8..6da83aa 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,55 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+## [5.4.0] — 2026-11-28
+
+# BeeEmUu v5.4.0 — Verified Registry
+
+Released 2026-11-28.
+
+v5.4.0 ships the two P1 items from the plugin-confidence plan: cryptographic
+verification of marketplace listings and per-version release notes before a
+plugin is installed or replaced.
+
+## What's new
+
+- **Signed plugin registry.** `plugins.beemuu.com` now publishes an Ed25519
+ signature over the exact bytes of `registry.json`. BeeEmUu verifies that
+ signature with a pinned public key before accepting or caching a fresh
+ listing. Tampered content, malformed signatures, and signatures from the
+ wrong key are refused; cached listings and installed-plugin management stay
+ available.
+- **Clear transition behavior.** A registry without a signature remains
+ readable during the legacy transition, with a visible unsigned-registry
+ notice. Systems without Ed25519 WebCrypto support also receive an explicit
+ notice. Offline cache use never claims fresh signature verification.
+- **Release notes on consent.** Plugin manifests can now include up to 4,000
+ characters of plain-text `changelog` notes. The single install/update and
+ Update-all consent dialogs show those notes before replacing a working
+ plugin. Notes render as text, never HTML.
+
+Package SHA-256 verification, explicit capability consent, disabled-by-default
+installation, and the prohibition on plugin vehicle-write capabilities are
+unchanged.
+
+## Under the hood
+
+- `marketplace_verify.js` validates the signature document and verifies pure
+ RFC 8032 Ed25519 through WebCrypto without a vendored cryptography library.
+- `marketplace_ui.js` verifies exact response bytes, refuses invalid listings
+ before caching, exposes trust status, and renders optional release notes.
+- The plugins repository validates `changelog`, signs the tested Pages artifact
+ with PyNaCl, and fails deployment if signing cannot complete.
+- Tests cover genuine and tampered signatures, malformed documents, key
+ identity, unsigned fallback, invalid-signature cache/management behavior,
+ changelog validation, and a full update that preserves enabled state.
+
+## Upgrade
+
+v5.1.0 and newer update themselves while no vehicle is connected — or use
+About → Updates → Check for updates. Manual installers for Windows (MSI,
+NSIS) and Linux (deb, AppImage) are attached, all signed.
+
## [5.3.0] — 2026-11-28
# BeeEmUu v5.3.0 — Plugin Confidence
diff --git a/README.md b/README.md
index 30c46e0..7590687 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@
[](LICENSE)
[](COMMUNITY_FRAMEWORK.md)
[](CONTRIBUTORS.md)
-[](CHANGELOG.md)
+[](CHANGELOG.md)
BeeEmUu (the binary is `beemuu`) is a desktop application — Tauri shell over a
Rust core — for talking to your BMW's ECUs over OBD-II. It speaks **UDS**
@@ -153,8 +153,8 @@ The roadmap is the canonical source of truth for planned work —
(`🟢 Ready`, `🟡 Needs research`, `✅ Done`). Don't trust this README
section over the roadmap; it is a *summary*, not the spec.
-The current source version is **v5.3.0 — "Plugin Confidence"** (2026-11-28).
-It adds connection retry guidance and stale-reading handling to the v5.0.0 platform.
+The current source version is **v5.4.0 — "Verified Registry"** (2026-11-28).
+It adds signed marketplace registry verification and per-version plugin release notes on consent.
It includes the read-only analysis panels from v3.8–v4.3 and a plugin
capability decision module. The installed API 1/2 plugin runtime still has
no automatic access to VINs, fault records or live data; the module's
@@ -173,7 +173,7 @@ They analyze recorded evidence; they do not predict a future fault with a
validated probability or prove whether a vehicle has been tuned.
Changelog: [`CHANGELOG.md`](CHANGELOG.md). Current source version:
-**v5.3.0** (2026-11-27). See [feature status](docs/feature-status.md) for
+**v5.4.0** (2026-11-27). See [feature status](docs/feature-status.md) for
implemented modules, integration limits and hardware-validation work.
---
diff --git a/RELEASE_NOTES_v5.4.0.md b/RELEASE_NOTES_v5.4.0.md
new file mode 100644
index 0000000..2d5aa94
--- /dev/null
+++ b/RELEASE_NOTES_v5.4.0.md
@@ -0,0 +1,46 @@
+# BeeEmUu v5.4.0 — Verified Registry
+
+Released 2026-11-28.
+
+v5.4.0 ships the two P1 items from the plugin-confidence plan: cryptographic
+verification of marketplace listings and per-version release notes before a
+plugin is installed or replaced.
+
+## What's new
+
+- **Signed plugin registry.** `plugins.beemuu.com` now publishes an Ed25519
+ signature over the exact bytes of `registry.json`. BeeEmUu verifies that
+ signature with a pinned public key before accepting or caching a fresh
+ listing. Tampered content, malformed signatures, and signatures from the
+ wrong key are refused; cached listings and installed-plugin management stay
+ available.
+- **Clear transition behavior.** A registry without a signature remains
+ readable during the legacy transition, with a visible unsigned-registry
+ notice. Systems without Ed25519 WebCrypto support also receive an explicit
+ notice. Offline cache use never claims fresh signature verification.
+- **Release notes on consent.** Plugin manifests can now include up to 4,000
+ characters of plain-text `changelog` notes. The single install/update and
+ Update-all consent dialogs show those notes before replacing a working
+ plugin. Notes render as text, never HTML.
+
+Package SHA-256 verification, explicit capability consent, disabled-by-default
+installation, and the prohibition on plugin vehicle-write capabilities are
+unchanged.
+
+## Under the hood
+
+- `marketplace_verify.js` validates the signature document and verifies pure
+ RFC 8032 Ed25519 through WebCrypto without a vendored cryptography library.
+- `marketplace_ui.js` verifies exact response bytes, refuses invalid listings
+ before caching, exposes trust status, and renders optional release notes.
+- The plugins repository validates `changelog`, signs the tested Pages artifact
+ with PyNaCl, and fails deployment if signing cannot complete.
+- Tests cover genuine and tampered signatures, malformed documents, key
+ identity, unsigned fallback, invalid-signature cache/management behavior,
+ changelog validation, and a full update that preserves enabled state.
+
+## Upgrade
+
+v5.1.0 and newer update themselves while no vehicle is connected — or use
+About → Updates → Check for updates. Manual installers for Windows (MSI,
+NSIS) and Linux (deb, AppImage) are attached, all signed.
diff --git a/docs/v5.3-plan.md b/docs/v5.3-plan.md
index f40b066..8947c48 100644
--- a/docs/v5.3-plan.md
+++ b/docs/v5.3-plan.md
@@ -1,6 +1,6 @@
# BeeEmUu v5.3 — working plan
-Status: P0 shipped in v5.3.0 (2026-11-28); P1/P2 remain proposed.
+Status: P0 shipped in v5.3.0 and P1 shipped in v5.4.0 (both 2026-11-28); P2 remains proposed.
Theme candidate: **Plugin Confidence** — make community plugins easier to
trust, install and keep current anywhere, and make app updates visible
instead of silent.
diff --git a/frontend/changelog.html b/frontend/changelog.html
index bc42652..93ba673 100644
--- a/frontend/changelog.html
+++ b/frontend/changelog.html
@@ -2,4 +2,4 @@
{"@context": "https://schema.org", "@type": "TechArticle", "headline": "Beemuu changelog", "description": "What shipped in every BeeEmUu release, with links to the canonical CHANGELOG and GitHub releases.", "url": "https://beemuu.com/changelog.html", "datePublished": "2026-11-27", "dateModified": "2026-11-27", "author": {"@type": "Organization", "name": "Beemuu contributors", "url": "https://beemuu.com/"}, "publisher": {"@type": "Organization", "name": "Beemuu contributors"}, "mainEntityOfPage": "https://beemuu.com/changelog.html"}