Files
git.stella-ops.org/docs/10_OFFLINE_KIT.md
2025-08-30 21:05:34 +00:00

4.9 KiB
Executable File
Raw Permalink Blame History

Offline Update Kit (OUK) —100% AirGap Operation

Status: ships together with the public αv0.1.0 (ETA late2025).
All commands below assume the bundle name
stella-ouk2025α.tar.gz – adjust once the real date tag is known.


1·Whats in the bundle 📦

Item Purpose
Vulnerability database Premerged snapshot of NVD 2.0, OSV, GHSA
+ optional regional catalogue feeds
Container images Scanner + Zastava for x8664 & arm64
Cosign signatures Release attestation & SBOM integrity
SPDX SBOM Cryptographically signed bill of materials
Import manifest Checksums & version metadata

Nightly delta patches keep the bundle <350MB while staying T1day current.


2·Download & verify 🔒

curl -LO https://get.stella-ops.org/releases/latest/stella-ops-offline-usage-kit-v0.1a.tar.gz
curl -LO https://get.stella-ops.org/releases/latest/stella-ops-offline-usage-kit-v0.1a.tar.gz.sig

cosign verify-blob \
  --key https://stella-ops.org/keys/cosign.pub \
  --signature stella-ops-offline-usage-kit-v0.1a.tar.gz.sig \
  stella-ops-offline-usage-kit-v0.1a.tar.gz

The output shows Verified OK and the SHA256 digest compare with the release notes.


3·Import on the isolated host 🚀

docker compose --env-file .env -f compose-stella.yml \
  exec stella-ops stella ouk import stella-ops-offline-usage-kit-v0.1a.tar.gz
  • The scanner verifies the Cosign signature before activation.
  • DB switch is atomic no downtime for running jobs.
  • Import time on an SSD VM ≈57s.

4·How the quota works offline 🔢

Mode Daily scans Behaviour at 200 scans Behaviour over limit
Anonymous {{ quota_anon }} Reminder banner CLI slows ~10%
Token (JWT) {{ quota_token }} Reminder banner Throttle continues, never blocks

Request a free JWT: send a blank email to token@stella-ops.org the bot replies with a signed token that you store as STELLA_JWT in .env.


5·Updating the bundle ⤴️

  1. Download the newer tarball & signature.
  2. Repeat the verifyblob step.
  3. Run stella ouk import <file> only the delta applies; average upgrade time is <3s.

6·Roadmap highlights for Sovereign 🌐

Release Planned feature
v0.1 α (late2025) Manual OUK import • Zastava beta
v0.3 β (Q22026) Autoapply delta patch • nightly rescan
v0.4 RC (Q32026) LDAP/AD SSO • registry scanner GA
v1.0 GA (Q42026) Custom TLS/crypto adaptors (incl. SM2)—enabled where law or security requires it

Full details live in the public Roadmap.


7·Troubleshooting 🩹

Symptom Fix
cosign: signature mismatch File corrupted redownload both tarball & .sig
ouk import: no space left Ensure 8GiB free in /var/lib/docker
Import succeeds but scans still hit Internet Confirm STELLA_AIRGAP=true in .env (v0.1α setting)

8·FAQ— abbreviated 

Does the JWT token work offline?

Yes. Signature validation happens locally; no outbound call is made.

Can I mirror the bundle internally?

Absolutely. Host the tarball on an intranet HTTP/S server or an object store; signatures remain valid.

Is there a torrent alternative?

Planned for the β releases follow the community chat for ETA.


Licence & provenance 📜

The Offline Update Kit is part of StellaOps and therefore AGPL3.0orlater. All components inherit the same licence.

cosign verify-blob \
  --key https://stella-ops.org/keys/cosign.pub \
  --signature stella-ops-offline-usage-kit-v0.1a.tar.gz.sig \
  stella-ops-offline-usage-kit-v0.1a.tar.gz

Happy airgap scanning! ©20252026 StellaOps