Skip to main content

Signing Manager Controller (SMCTL) command manual

Signing Manager CTL (SMCTL) is a Command Line Interface (CLI) that facilitates manual and automated private key management, certificate management, and signing with or without the need for human intervention.

SMCTL comes with a built-in help function and provides instructions on all commands and subcommands to assist users in the CLI. This command manual provides instructions and command samples to get you started.

Prerequisites

Commands

To view all SMCTL commands:

smctl --help

or

smctl -h

Subcommands

These subcommands specify the actions you can apply to commands when using SMCTL.

All SMCTL commands begin with:

smctl <subcommand>
Tabella 1. Subcommands in SMCTL

Shortcut

Subcommand

Description

cert

certificate

Manage certificates.

creds

credentials

Manage credentials for the OS credential store.

healthcheck

View and confirm the validity of the credentials and tools configured.

kp

keypair

Manage keypairs.

manual

Generates up-to-date man pages of Signing Manager’s command-line interface. By default, it creates the man page files in the man-pages directory under the current directory.

sign

Sign, verify, or remove a signature from binaries.

user

Get user data.

windows

Commands specific to Windows OS.


Flags

Flags are used to modify the behavior of a subcommand by specifying parameters. Apply these flags to the subcommands above when using SMCTL.

Tabella 2. Flags for SMCTL

Shortcut

Flag

Description

-v

--version

This flag displays the version of SMCTL.

Not applicable

--dir string

This flag specifies the directory where the man pages will be written, with the default being man-pages/. Format: 

--dir="<value>"

-h

--help

This flag displays help information for SMCTL.

Not applicable

--description

This flag:

  • Sets the description for the signed content.

  • Is only applicable when using Windows signtool.

  • Maps to the /d flag in signtool.

Not applicable

--description

This flag:

  • Sets the URL for the description of the signed content.

  • Is only applicable when using Windows signtool.

  • Maps to the /du flag in signtool.