Skip to main content
Skip table of contents

Debian Dpkg-sig Signer

The Debian dpkg-sig signer has the fully qualified class name: org.signserver.module.debiandpkgsig.signer.DebianDpkgSigSigner.

Overview

The signer can sign Debian packages and adds the signature in the dpkg-sig format.

Note that this signer uses OpenPGP and not X.509 certificates. The OpenPGP public key can instead be obtained from the worker's status output. Additionally, the generate CSR functionality allows adding a user ID to the public key and storing the new public key in the PGPPUBLICKEY worker property.

The key management operations are the same as for the generic OpenPGP Signer.

Available Properties

PropertyDescription
DIGEST_ALGORITHM

OpenPGP Hash Algorithm to use with the signature. Possible values are numeric or textual OpenPGP Hash Algorithms. Examples: "SHA256", "10". Optional. Default: "SHA256".

Note that this is only the digest algorithm for the signature and that the digest algorithms in the manifest file inside the package are MD5 and SHA-1 as expected by dpkg-sig.

SELFSIGNED_VALIDITYThe number of seconds the key is valid for after its creation. This property is used when a certification is added to the key so to extend the current validity, set a higher value and perform the certification again. An empty value or zero means that the key does not expire (default). Optional. Default: (empty).
PGPPUBLICKEYProperty for storing the latest OpenPGP public key in ASCII armored form after adding user IDs / certifications to it. Remember to store the updated public key in this property so that the current user IDs are kept when new ones are added later on. Optional. Default: (empty).
GENERATE_REVOCATION_CERTIFICATE

Setting this property to true, switches the behavior of the generate CSR functionality to not add user ID / certification but instead generate an OpenPGP revocation certificate. Optional. Default: "false".

The idea is to only switch this to true temporarily, generate the revocation certificate and then switch it back to false.

The header for the PGP public key block, -----BEGIN PGP PUBLIC KEY BLOCK-----, is prefixed by a colon to prevent accidentally importing a revocation certificate. Before importing the certificate, this colon must be removed so that line only contains the text-----BEGIN PGP PUBLIC KEY BLOCK-----.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.