minisign-sign

command
v0.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2026 License: MIT Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command minisign-sign produces the minisign signature this repository publishes beside sha256sums.txt, and generates the keypair that signature is made with.

It exists instead of a `minisign -S` line in the release workflow for one reason, and it is a flag: the stock tool signs PREHASHED unless it is given -l, and a prehashed signature is one every published ccdad refuses. Fixing the mode in internal/relsign removes the command line the flag could be dropped from. It also removes the need for minisign to be installed on the runner or on the maintainer's machine.

It is deliberately NOT called from scripts/build-release.sh. Signing lives in the workflow so a developer can run that script locally with no secret and get the same six binaries and the same sums file, which is what scripts/build_release_test.go already asserts.

Usage:

go run ./scripts/minisign-sign -G [-p ccdaddy.pub] -s "$HOME/ccdaddy-release.key"
go run ./scripts/minisign-sign -m dist/sha256sums.txt -t v0.7.0 -o dist/sha256sums.txt.minisig

In signing mode the secret key comes from MINISIGN_SECRET_KEY -- the second line of the file -G wrote -- unless -s names a file holding it. It is never an argument: a command line is readable from a process listing.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL