Minisign 2 is now available with support for SLH-DSA signatures, adding a post-quantum option to the file-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. He designed Minisign around a small specification, a straightforward command-line interface and public keys that are easy to copy and paste.

Minisign began as a reimplementation of OpenBSD’s signify tool, with the addition of signed, human-readable “trusted comments” attached to the payload. These can bind an unforgeable timestamp or version number to a signature, helping identify an older file that remains validly signed but may contain vulnerabilities fixed in later versions.

The tool uses Ed25519 signatures, with 32-byte public keys. Denis says there are no proofs of a practical attack against Ed25519 when it is implemented and used correctly. But he writes that Minisign would eventually need post-quantum signatures, while no post-quantum scheme is a direct replacement for Ed25519.

Denis says many post-quantum schemes have trade-offs, including large keys or signatures, slow performance or security concerns. He describes isogeny-based schemes, including variants of SQISign, as promising but not ready for commitment. FAEST, he writes, has small keys and signatures and relies on established symmetric primitives, but NIST has not standardized it, and its specifications could still change.

The article says the NSA’s recent announcement prompted companies to seek worldwide post-quantum deployments, changing Denis’s plan to wait for further standards and adoption. He says delaying a post-quantum version of Minisign would have been irresponsible, despite uncertainty about the available options and whether AI has produced a breakthrough that could enable a practical attack on Ed25519.

Minisign 2 uses SLH-DSA, previously known as SPHINCS+, a hash-based scheme. Denis says no known quantum algorithm can break it more efficiently than a classical algorithm, and that it is likely to withstand AI analysis well. At the 128-bit security level, its public keys are 32 bytes, the same size as Ed25519 keys.

Denis says SLH-DSA implementations can be simple and compact, but the NIST-standardized scheme is not very fast and permits only SHA2 and SHAKE as hash functions. He says the performance cost is negligible in practice because Minisign is typically used for software updates.

The release is designed as an incremental update. Existing Minisign 1 implementations do not need to be rewritten, and developers can add support if an SLH-DSA implementation is available in their programming language. A Minisign 2-only implementation can be smaller than one for Minisign 1 because it requires fewer components.

Keys and signatures retain the same format, with “minisign2” replacing “minisign”; command-line interfaces and libraries also need few changes. For implementations supporting both algorithms, Denis recommends the filenames minisign2.key and minisign2.pub for SLH-DSA key pairs, and the .minisig2 signature suffix.