minizign for Mac
A Zig implementation of Minisign.
minizign — overview
zig-minisign
A Zig implementation of Minisign.
minizign supports signature verification, signing, and key generation.
Compilation
Requires the current master version of Zig.
Compile with:
for a size-optimized version, or
for a speed-optimized version.
If you only need the minizign module as a dependency, pass -Dno-cli (or .@"no-cli" = true in b.dependency()) to skip the command-line tool. The clap dependency is lazy, so it won't be fetched in that case.
Usage
Examples
Key Generation
Generate a new key pair:
This will prompt for a password to encrypt the secret key. Leave empty for an unencrypted key.
Signing
Sign a file:
This creates file.txt.minisig. You can specify a custom output path with -o.
Sign multiple files at once:
Recreate Public Key
If you lose your public key file, you can recreate it from the secret key:
Change Password
Change the password on an existing secret key:
This prompts for the current password (if encrypted), then asks for a new password with confirmation. Leave the new password empty to remove encryption.
Verification
Verify public-resolvers.md using public-resolvers.md.minisig and the public key file minisign.pub:
Verify public-resolvers.md by directly providing the public key on the command-line:
SSH-encoded public keys
minizign can encode public keys in SSH format, so that they can be uploaded to GitHub:
GitHub makes public SSH keys available at https://github.com/.keys.
SSH-encoded keys can be loaded by minizign the same way as native keys, with -p . They will be automatically recognized as such.
Features
minizign supports prehashing (which can be forced if you know this is how the signature was created), has zero dependencies and can be cross-compiled to anything that Zig can cross-compile to, including WebAssembly.
Details
Minisign 用 Zig 重新实现
How to install minizign
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
Last updated 2026-10-03; current version 0.1.14, with the latest 5 releases listed.
| Version | Released | Type | Size | macOS | Windows | Linux |
|---|---|---|---|---|---|---|
| 0.1.14 | 2026-10-03 | Stable | — | — | — | — |
| 0.1.12 | 2026-04-30 | Stable | — | — | — | — |
| 0.1.11 | 2026-04-29 | Stable | — | — | — | — |
| 0.1.7 | 2025-10-03 | Stable | — | — | — | — |
| 0.1.4 | 2024-06-23 | Stable | — | — | — | — |
Data from GitHub Releases; stable releases first, each group sorted newest first.
Prebuilt bottle platforms
Official Homebrew bottles cover:
- Apple silicon · latest macOS
- Apple silicon · macOS 26 Tahoe
- Apple silicon · macOS 15 Sequoia
- Linux · ARM64
- Linux · x86_64
⚠️ No prebuilt bottle for Intel Macs; Intel users need brew install --build-from-source to build from source.
Compared with similar apps
Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| minizign | 0.1.14 | ISC | CLI | 13 |
| nullclaw | v2026.5.29 | MIT | CLI | 15 |
| kiesel | 0.4.1 | MIT | CLI | 19 |
| vapoursynth-vszip | 24.0.0 | MIT | CLI | 72 |
Similar apps: Command-line Tools
nullclaw
Tiny autonomous AI assistant infrastructure written in Zigkiesel
Kiesel is a JavaScript engine written in Zig and delivered as a command-line tool.vapoursynth-vszip
VapourSynth Zig Image Processanyzig
A universal zig executable that lets you run any version of zig.cargo-zigbuild
cargo-zigbuild ? Help me to become a full-time open-source developer by sponsoring me on GitHubopenssl@4
Cryptography and SSL/TLS ToolkitCategories: Command-line Tools