bach sign signs a setup file you built earlier, with the program and arguments that [signing] in your bach.toml names. Signing is optional: Bach never signs by itself, and bach build signs only with --sign.
Output
Bach prints the command it runs, with{env:NAME} shown as written and never as its value, and then Signed <file>.
Errors
- A
bach.tomlwithout[signing]is an error, with a sentence that says so. - A signing program that cannot be started is reported by name.
- A signer that fails makes
bach signfail with its exit code, and the file stays unsigned.
bach feed, because signing changes the file and its SHA-256. See Signing.