oroc update
Update tooling for manifests, signatures, and bundles.
Usage#
oroc update <subcommand> [options]
Commands#
| Command | Description |
|---|---|
keygen |
generate an Ed25519 keypair for update manifests |
init |
scaffold a manifest JSON file |
server |
run an update server over HTTP/TCP/UDP |
info |
query update servers or static manifests over HTTP/TCP/UDP |
sign |
sign a manifest JSON file and emit a sidecar signature |
verify |
verify a manifest JSON file + signature using a public key |
bundle |
build a tar archive from a directory suitable as an update artifact |
extract |
extract an update bundle tar archive into a directory |
validate |
validate a manifest.json file against the update manifest schema shape |
Options#
| Option | Description |
|---|---|
-h, --help |
show help |
Notes#
All subcommands support '--log-file=<path>' to mirror logs to a JSON file.
Advanced: set ORO_UPDATE_MANIFEST_FILENAME or pass '--manifest-name' on relevant subcommands to override the default manifest.json filename (and derived sidecar names).
Examples#
oroc update init
scaffold a default manifest.json in the current project
oroc update bundle --manifest manifest.json
build a source bundle and record it in the manifest
oroc update keygen > key.json
generate a signing keypair JSON file
oroc update sign --keys key.json --manifest manifest.json
sign the manifest and write manifest.sig
oroc update verify --keys key.json --manifest manifest.json
verify manifest.json against manifest.sig with the public key
oroc update server --root ./updates
run an HTTP update server serving manifests and bundles
oroc update info --http --app-id com.example.app --follow-manifest
query an update server and fetch the referenced manifest
Source repository · Edit this page · View Markdown