CLI / oroc update keygen

oroc update keygen

Generate an Ed25519 keypair for signing update manifests.

Usage#

oroc update keygen [options]

Options#

Option Description
--out=<path> write keypair JSON to a file instead of stdout
--key-id=<id> optional key identifier to embed in the keypair (default: "pk-1")
--log-file=<path> mirror logs to a JSON file
-h, --help show help

Notes#

The generated JSON includes "keyId", "publicKey", and "privateKey" fields (hex-encoded).

Keep the private key secret; distribute only the public key with your application.

Examples#

oroc update keygen > key.json

generate a default keypair and save it to key.json

oroc update keygen --key-id pk-prod --out prod-key.json

generate a named keypair for production use

Source repository · Edit this page · View Markdown

Quick links

Type to search across the site. Use the up and down arrow keys to choose a result, Enter to open it, and Escape to close.