Skip to main content
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.toml without [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 sign fail with its exit code, and the file stays unsigned.
After signing, write the update feed again with bach feed, because signing changes the file and its SHA-256. See Signing.