Enterprise
The SignServer SignWrapper-GPG replaces the gpg (GnuPG) command, intercepting calls from tools that use GPG for signing and forwarding them to SignServer through SignClient.
The signwrapper-gpg tool is available with SignServer Enterprise software and in the SignClient Enterprise bundle.
Prerequisites
-
Bash
SignClient Configuration
Provide the Worker name in the -u WorkerName option. Additionally, set the following environment variables:
|
Variable |
Description |
|---|---|
|
|
Value for the Example: |
|
|
Value for the Example: |
|
|
(Optional) Value for any extra parameters to put on the SignClient command line. Example: |
Using the SignWrapper-GPG
The signwrapper-gpg is a wrapper script around the SignClient signdocument command:
USAGE: /opt/signserver/bin/signwrapper-gpg <-u WORKERNAME> <-o OUTFILE.sig>
Configure a tool requiring a gpg command to instead use the path to the signwrapper-gpg tool.
Set the required environment variables so they are available when the tool is executed.
Locating SignClient
SignWrapper-GPG needs to know where SignClient is located. If signwrapper-gpg is not kept in the SignClient folder, set one of the following environment variables:
-
SIGNCLIENT_CMD: Set to the full path of thebin/signserverscript, or -
SIGNCLIENT_HOMEorSIGNSERVER_HOME: Set to the root folder of the SignClient distribution.
Signing RPM Packages
The SignWrapper-GPG can leverage the SignClient for securing RPM packages. For step-by-step setup instructions, see Sign with RPM Signatures.