ZeroEcho Command-Line App

The ZeroEcho CLI is a streaming, security-first front end built on the lib module. It exposes practical workflows for key management, hybrid/KEM envelopes, multi-recipient protection, and covert payload embedding in JPEG EXIF metadata. The app favors explicit configuration, safe defaults, and pipelines that avoid materializing large payloads.

Commands

Global usage

Each command supports --help for exact flags and examples. Inputs and outputs are streamed; large files do not need to be fully loaded in memory.

I/O conventions

Keyring format

The keyring is a compact UTF-8 text file of entries with algorithm id, spec class, and encoded material. It is intended to be versionable by humans but must be treated as sensitive data.

Security notes

Exit codes and logging

Examples (illustrative)

# Generate a signing key into a text keyring
zeroecho keystore --keyring keyring.txt --generate --alg Ed25519 --alias signing

# Hybrid envelope with a KEM-derived content key and AES-GCM payload
zeroecho kem --encrypt --keyring keyring.txt --recipient alice --kem Kyber-768 --symmetric aes-gcm --tag-bits 128

# Multi-recipient envelope (password + public key)
zeroecho guard --encrypt --keyring keyring.txt --to-password s3cret --to-alias bob

# Covert EXIF embedding
zeroecho covert --embed --jpeg in.jpg --payload secret.bin --slots exif.usercomment --output out.jpg

System requirements