sign-input can optionally output to stdout.