Documentation
¶
Overview ¶
Command sign is a developer tool and never ships. It makes and uses the key that signs WittyMediaServer releases. The in-app updater installs a release only when its checksum list (wittymediaserver-<version>-SHA256SUMS.txt) has a .sig made with this key. See docs/PUBLISHING.md, "Signing releases".
go run ./scripts/sign keygen [-key file] make the key (once); prints the public key go run ./scripts/sign pubkey [-key file] print the public key again go run ./scripts/sign sign [-key file] [-expect wittymediaserver-1.2.3] <file> write <file>.sig go run ./scripts/sign verify <file> check <file>.sig against the keys built into the server
The key file defaults to WMS_SIGNING_KEY, then ~/.wms-signing/release.key. It must never be committed or shared.
Click to show internal directories.
Click to hide internal directories.