The pieces / weirdnet-update

weirdnet-update

Signed update metadata: org roots, manifests, freshness, verification, targeting, rollouts, consent, boot health.

GitHub crates.io docs.rs weirdnet-update = "0.1"

What it is

Signed update metadata and client-side checks for Weirdnet apps. Salty Gull, the WeirdBrains over-the-air update service, builds on it; nothing here is Flutter-specific.

Updates are never forced: the consent policy asks for each update by default, and new capabilities always ask.

What is in it

  • Org roots: k-of-n Ed25519 root keys, release-key delegations scoped to apps and channels, optional timestamp keys, pinned by a BLAKE3 fingerprint.
  • Manifests: app, channel, seq, kind (assets, Wasm, full package, store notices), per-file size and BLAKE3, targeting, staged rollout, rollback target, expiry.
  • Envelopes: signatures over the exact CBOR payload with the domains weirdnet-update/v1/root|manifest|freshness.
  • Client: the acceptance rule and anti-rollback state. Targeting and rollout on the device, no install id needed.
  • Consent and boot health: trial boots, commit on ready, local rollback after two failed boots.

Where it fits

  • Used by Salty Gull.
  • Extracted from Salty Gull.
  • License: BSD-3-Clause.