Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

rage

$ rage Official Low Risk
str4d · Security & Secrets · Apache-2.0 · macos / linux / windows

rage (rage) is a fast Rust implementation of the age encryption format supporting X25519 keys, SSH public/private keys (-R/-i), ASCII-armored output (-a), and age plugins. Flag-based encryption and decryption run cleanly headlessly without any gpg-agent or pinentry daemon.

FCRS-1.0 Score
86 /100
Good
Medium Confidence
Zero-Friction Install
brew install rage
CLI vs MCP Decision CLI Only

rage encrypts and decrypts local files and streams at native Rust speed offline without an MCP server.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

Clean non-interactive -r/-i/-o flags and clear exit codes; no JSON output and -p passphrase mode requires TTY.

  • Deterministic -r, -i, -o, -a CLI flags
  • No JSON output; -p prompts TTY
Trust & Safety 22 / 25

Audited modern age cryptography (X25519/ChaCha20-Poly1305) in memory-safe Rust with zero network calls.

  • Memory-safe Rust implementation of age spec
  • 100% offline operation
Setup & Portability 15 / 15

Static Rust binary via brew, cargo, and GitHub releases across macOS, Linux, and Windows.

  • Zero-dependency native binary across all platforms
Utility & Efficiency 13 / 15

Drop-in, high-speed Rust alternative to age with full SSH key and plugin support.

  • Supports both age keys and SSH keys seamlessly
Maintenance & Lineage 9 / 10

Maintained by Jack Grigg (str4d/rage, co-author of the age spec) under Apache-2.0/MIT.

  • Maintained by age specification co-author
Docs & Verifiability 8 / 10

Crisp man pages, README examples, and --help reference.

  • Clear CLI documentation in str4d/rage

Security, Auth & Guardrails

Auth Modes
Config File No Auth
Credential Storage

Reads explicit -i <identity> key files (age or unencrypted SSH keys); passphrase mode (-p) prompts TTY.

Side Effects
Read-Only Local Write
Cost & Quotas

Dual Apache-2.0 / MIT open-source CLI; free and offline.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# rage Agent Rules
- Always use `-r` / `-R` (recipients) and `-i` (identity file) for non-interactive runs; avoid `-p` (passphrase) which requires a TTY.
- Never write decrypted `-o` plaintext files into tracked git directories.

Agent-Ready Command Recipes

Safe Read-Only Queries

Decrypt an archive to stdout using an identity file
rage -d -i ~/.age/key.txt -o /tmp/secrets.env secrets.env.age

Decrypts secrets.env.age non-interactively with -i ~/.age/key.txt to /tmp/secrets.env.

Controlled Writes & Previews

Encrypt a file to an ASCII-armored age payload
rage -a -r age1ql3z7hjy54pw3hyww5ayyfg7zqgvc7w3j2elw8zmrj2kg5sfn9aqmcac8p -o backup.tar.gz.age backup.tar.gz

Encrypts backup.tar.gz to the recipient public key (-r) with ASCII armor (-a) and writes backup.tar.gz.age.

Strengths for Agents

  • + No gpg-agent daemon, keyring trust database, or pinentry popup friction when using -r and -i.
  • + Memory-safe Rust binary with SSH key compatibility (-R, -i).

Caveats & Pitfalls

  • ! Passphrase encryption (-p) and passphrase-protected SSH keys prompt /dev/tty interactively.
  • ! Provides encryption only—pair with minisign or cosign if signatures are required.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI