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

Minisign

$ minisign Official Low Risk
Frank Denis · Security & Secrets · ISC · macos / linux / windows

Minisign (minisign) is a compact, dead-simple tool for signing files and verifying Ed25519 signatures with optional trusted comments. Signature verification (minisign -Vm) runs completely headlessly and offline, while key generation and signing use local keyfiles.

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

minisign verifies local release artifacts and .minisig signatures offline on disk without external service integration.

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 15 / 25

Verification (-Vm) is clean and deterministic with -Q quiet mode, but minisign lacks JSON output and prompts for passphrases on encrypted secret keys during -G or -Sm.

  • Non-interactive -Vm exit code verification
  • No --json output; interactive TTY passphrase prompt on encrypted keys
Trust & Safety 22 / 25

Minimal Ed25519 cryptographic surface, zero network calls, and explicit -s/-p key file targeting.

  • Offline-only Ed25519 signature verification
  • Signed trusted comments (-t) protected against tampering
Setup & Portability 14 / 15

Tiny C binary with libsodium available via brew, Linux distro packages, and Windows releases.

  • Lightweight native binary across macOS, Linux, and Windows
Utility & Efficiency 11 / 15

Focused single-purpose signature verification and signing without GPG keyring or daemon overhead.

  • Replaces complex gpg --verify workflows for release checksums
Maintenance & Lineage 7 / 10

Created and maintained by Frank Denis (jedisct1/minisign) under ISC license.

  • Stable upstream repository by libsodium maintainer
Docs & Verifiability 7 / 10

Concise documentation and man page covering all single-letter flags.

  • Clear examples on jedisct1.github.io/minisign

Security, Auth & Guardrails

Auth Modes
Config File No Auth
Credential Storage

Stores default secret keys in ~/.minisign/minisign.key encrypted with a user passphrase (or unencrypted with -W).

Side Effects
Read-Only Local Write
Cost & Quotas

ISC open-source CLI; completely free and offline.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Minisign (minisign) Agent Rules
- Use `minisign -Vm <file> -p <pub>` (or `-P <pubkey>`) for non-interactive artifact verification.
- Never run `-G` or `-Sm` on passphrase-protected keys in headless shells unless piping or using an explicit unencrypted CI key.

Agent-Ready Command Recipes

Safe Read-Only Queries

Verify a file against a public key
minisign -Vm release.tar.gz -p minisign.pub

Verifies release.tar.gz.minisig against minisign.pub non-interactively and exits non-zero on mismatch.

Verify quietly using an inline public key
minisign -Q -Vm release.tar.gz -P RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3

Suppresses verbose output via -Q and checks the signature using an explicit -P public key string.

Controlled Writes & Previews

Sign an artifact with an unencrypted CI key
minisign -Sm release.tar.gz -s ci-unencrypted.key -t "release v1.0.0"

Creates release.tar.gz.minisig with a trusted -t comment without prompting when the secret key uses -W.

Strengths for Agents

  • + Zero-daemon, offline -Vm verification gives agents fast, reliable exit codes.
  • + Minimal codebase using modern Ed25519 signatures and authenticated comments.

Caveats & Pitfalls

  • ! No structured JSON output; callers rely on exit codes and single-line text messages.
  • ! Signing (-Sm) or keygen (-G) with a passphrase prompts for TTY input unless the key was created with -W.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI