Minisign
$ minisign Official Low RiskMinisign (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.
brew install minisign minisign verifies local release artifacts and .minisig signatures offline on disk without external service integration.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
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
-Vmexit code verification - No
--jsonoutput; interactive TTY passphrase prompt on encrypted keys
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
Tiny C binary with libsodium available via brew, Linux distro packages, and Windows releases.
- Lightweight native binary across macOS, Linux, and Windows
Focused single-purpose signature verification and signing without GPG keyring or daemon overhead.
- Replaces complex
gpg --verifyworkflows for release checksums
Created and maintained by Frank Denis (jedisct1/minisign) under ISC license.
- Stable upstream repository by
libsodiummaintainer
Concise documentation and man page covering all single-letter flags.
- Clear examples on jedisct1.github.io/minisign
Security, Auth & Guardrails
Stores default secret keys in ~/.minisign/minisign.key encrypted with a user passphrase (or unencrypted with -W).
ISC open-source CLI; completely free and offline.
# 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
minisign -Vm release.tar.gz -p minisign.pub
Verifies release.tar.gz.minisig against minisign.pub non-interactively and exits non-zero on mismatch.
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
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
-Vmverification 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.