CLI Commands#
pubtools-sign-msg-container-sign#
pubtools-sign-msg-container-sign#
Entry point method for containersign operation.
Print following json output on stdout when --raw is set:
{ "signer_result": pubtools.sign.signers.msgsigner.MsgSignerResults, "operation_results": pubtools.sign.results.containersign.ContainerSignResult, "operation": pubtools.sign.operations.containersign.ContainerSignOperation, "signing_keys": ["signing_key_id"] }
Otherwise prints one signed claim per line if sucessfull or error messages if not
Usage:
pubtools-sign-msg-container-sign [OPTIONS]
Options:
  --signing-key TEXT              8 characters key fingerprint of key which
                                  should be used for signing or key alias
                                  [required]
  --signing-key-name TEXT         signing key name
  --task-id TEXT                  Task id identifier (usually pub task-id)
                                  [required]
  --config-file TEXT              path to the config file
  --digest TEXT                   Digests which should be signed.  [required]
  --reference TEXT                References which should be signed.
                                  [required]
  --requester TEXT                Use this requester instead one from
                                  certificate file.
  --raw                           Print raw output instead of json
  --log-level [DEBUG|INFO|WARNING|ERROR]
                                  Set log level
  --signer-type [single|batch]    Signer type
  --help                          Show this message and exit.
pubtools-sign-cosign-container-sign#
pubtools-sign-cosign-container-sign#
Entry point method for containersign operation.
Usage:
pubtools-sign-cosign-container-sign [OPTIONS]
Options:
  --signing-key TEXT  signing key used by cosign.  [required]
  --config-file TEXT  path to the config file
  --digest TEXT       Digests which should be signed.  [required]
  --reference TEXT    References which should be signed.
  --identity TEXT     Identity reference.
  --raw               Print raw output instead of json
  --help              Show this message and exit.
pubtools-sign-msg-clear-sign#
pubtools-sign-msg-clear-sign#
Entry point method for clearsign operation.
Print following json output on stdout if --raw is set:
{ "signer_result": pubtools.sign.signers.msgsigner.MsgSignerResults, "operation_results": pubtools.sign.results.clearsign.ClearSignResult, "operation": pubtools.sign.operations.clearsign.ClearSignOperation, "signing_key": "signing_key_id" }
Otherwise prints one clearsigned output per line if sucessfull or error messages if not
Usage:
pubtools-sign-msg-clear-sign [OPTIONS] [INPUTS]...
Options:
  --signing-key TEXT              8 characters key fingerprint of key which
                                  should be used for signing or key alias
                                  [required]
  --task-id TEXT                  Task id identifier (usually pub task-id)
                                  [required]
  --config-file TEXT              path to the config file
  --raw                           Print raw output instead of json
  --log-level [DEBUG|INFO|WARNING|ERROR]
                                  Set log level
  --requester TEXT                Use this requester instead one from
                                  certificate file.
  --repo TEXT                     Repository reference
  --help                          Show this message and exit.
pubtools-sign multi command bundle#
pubtools-sign#
Pubtools-sign multi command bundle.
Usage:
pubtools-sign [OPTIONS] COMMAND [ARGS]...
Options:
  --help  Show this message and exit.
pubtools-sign cosign-container-sign-main#
Entry point method for containersign operation.
Usage:
pubtools-sign cosign-container-sign-main [OPTIONS]
Options:
  --signing-key TEXT  signing key used by cosign.  [required]
  --config-file TEXT  path to the config file
  --digest TEXT       Digests which should be signed.  [required]
  --reference TEXT    References which should be signed.
  --identity TEXT     Identity reference.
  --raw               Print raw output instead of json
  --help              Show this message and exit.
pubtools-sign msg-clear-sign-main#
Entry point method for clearsign operation.
Print following json output on stdout if --raw is set:
{ "signer_result": pubtools.sign.signers.msgsigner.MsgSignerResults, "operation_results": pubtools.sign.results.clearsign.ClearSignResult, "operation": pubtools.sign.operations.clearsign.ClearSignOperation, "signing_key": "signing_key_id" }
Otherwise prints one clearsigned output per line if sucessfull or error messages if not
Usage:
pubtools-sign msg-clear-sign-main [OPTIONS] [INPUTS]...
Options:
  --signing-key TEXT              8 characters key fingerprint of key which
                                  should be used for signing or key alias
                                  [required]
  --task-id TEXT                  Task id identifier (usually pub task-id)
                                  [required]
  --config-file TEXT              path to the config file
  --raw                           Print raw output instead of json
  --log-level [DEBUG|INFO|WARNING|ERROR]
                                  Set log level
  --requester TEXT                Use this requester instead one from
                                  certificate file.
  --repo TEXT                     Repository reference
  --help                          Show this message and exit.
pubtools-sign msg-container-sign-main#
Entry point method for containersign operation.
Print following json output on stdout when --raw is set:
{ "signer_result": pubtools.sign.signers.msgsigner.MsgSignerResults, "operation_results": pubtools.sign.results.containersign.ContainerSignResult, "operation": pubtools.sign.operations.containersign.ContainerSignOperation, "signing_keys": ["signing_key_id"] }
Otherwise prints one signed claim per line if sucessfull or error messages if not
Usage:
pubtools-sign msg-container-sign-main [OPTIONS]
Options:
  --signing-key TEXT              8 characters key fingerprint of key which
                                  should be used for signing or key alias
                                  [required]
  --signing-key-name TEXT         signing key name
  --task-id TEXT                  Task id identifier (usually pub task-id)
                                  [required]
  --config-file TEXT              path to the config file
  --digest TEXT                   Digests which should be signed.  [required]
  --reference TEXT                References which should be signed.
                                  [required]
  --requester TEXT                Use this requester instead one from
                                  certificate file.
  --raw                           Print raw output instead of json
  --log-level [DEBUG|INFO|WARNING|ERROR]
                                  Set log level
  --signer-type [single|batch]    Signer type
  --help                          Show this message and exit.