Minisign 2 is now available with support for SLH-DSA signatures, adding a post-quantum option to the software-signing tool. The release is available in Minizign, the original Minisign implementation and the go-minisign package; other implementations will follow.
The first version of Minisign was released in 2015. Denis says he created it after finding PGP painful to use for signing software and files, initially for dnscrypt-proxy. Minisign was designed around a small specification, a simple command-line interface and compact public keys.
The project began as a reimplementation of OpenBSD’s signify tool, with an added feature: “trusted comments”, human-readable data attached to a signed payload. These comments can bind an unforgeable timestamp or version number to a signature, helping users identify an older file that remains validly signed but may contain vulnerabilities that have since been fixed.
Minisign has since been reimplemented in several programming languages and is used to sign Zig releases, DNS server lists, Wasmer applications and more. It uses Ed25519, which Denis describes as fast, widely available and supported by no known proof of a practical attack when correctly implemented and used.
Denis says Minisign would eventually need post-quantum signatures, but there is no direct replacement for Ed25519. Many proposed schemes have large keys or signatures, run slowly or have proved insecure even against classical computers. He has been tracking the options for several years, including isogeny-based schemes and FAEST.
FAEST has small keys and signatures and relies on established symmetric primitives, but it has not yet been standardized by NIST. Denis says adopting it now could leave Minisign with a custom scheme if the specification changed. For Minisign 2, he wanted a stable, long-term format.
He had planned to wait for further NIST selections and wider adoption. But, he writes, the NSA’s recent announcement prompted companies to seek worldwide post-quantum deployment, and delaying a post-quantum version of Minisign seemed irresponsible. Denis says he does not know whether AI has produced a breakthrough that could lead to a practical attack on Ed25519.
Minisign 2 uses SLH-DSA, formerly known as SPHINCS+, a conservative hash-based scheme. Denis says no known quantum algorithm can break it more efficiently than a classical algorithm, and that it is likely to hold up well against AI. At the 128-bit security level, its public keys are 32 bytes, the same size as Ed25519 public keys.
The standardized SLH-DSA scheme is not very fast, and its standard permits only SHA2 and SHAKE hash functions. Denis says the performance cost should be negligible in practice because Minisign is typically used for software updates. He also says SLH-DSA implementations can be simple and compact, with fewer opportunities for errors than most other schemes.
Minisign 2 is intended as an incremental update. Existing Minisign 1 implementations do not need to be rewritten, and adding support should require only simple, minimal changes if an SLH-DSA implementation is already available in the programming language. An implementation built from scratch for Minisign 2 alone can be smaller than one for Minisign 1 because it needs fewer components.
For users, the format remains familiar: keys and signatures retain their existing format but use “minisign2” instead of “minisign”. Command-line tools and libraries should need little change to their interfaces. Denis recommends the filenames minisign2.key and minisign2.pub for SLH-DSA keys, and the .minisig2 suffix for signatures when an implementation supports both algorithms.