v0.x: gtb sign and gtb keys moved to sigillum¶
sigillum spec 0007 makes sigillum the estate's one signing CLI. This release takes the signing commands out of gtb (D6).
What changed¶
gtb signandgtb keysare gone.gtb keys generate,gtb keys mint,gtb keys wkdandgtb signnow report an unknown command. sigillum has every one of them, with the same flags:sigillum sign,sigillum keys generate,sigillum keys mintandsigillum keys wkd.- gtb links no signing backend. The
aws-kmsandlocalbackends were linked only for those commands, so a gtb binary no longer carries go/signing-cli, go/signing-aws-kms or the AWS SDK through them. - gtb's own releases are signed by sigillum. The release pipeline runs the sigillum binary from its CI image. The signature is the same armored detached OpenPGP signature over
checksums.txt, from the same key.
What did not change¶
- Self-update. A tool's updater verifies
checksums.txt.sigexactly as before, so installed copies of gtb and of every generated tool update across this release. - Generated projects. Their release pipelines already sign with
cmd: sigillum.gtb generate --signing-backendandgtb enable signing --backendstill takeaws-kmsorlocal, now checked against the backends sigillum links rather than gtb's own.
Moving a script or pipeline¶
- Install sigillum, either with
go install gitlab.com/phpboyscout/sigillum/cmd/sigillum@latestor from a binary on its releases page. The phpboyscoutgo-toolsCI image already carries it. -
Replace
gtbwithsigillumin the command and keep every flag:# before gtb --ci sign --backend aws-kms --kms-region eu-west-2 \ --key-id alias/release-signing --public-key release.asc \ --output checksums.txt.sig checksums.txt # after sigillum --ci sign --backend aws-kms --kms-region eu-west-2 \ --key-id alias/release-signing --public-key release.asc \ --output checksums.txt.sig checksums.txt -
A
go run ./cli/cmd/gtb ... signline, as gtb's own release script had, becomes a plainsigillumcall. Nothing has to be built at release time.