DEBSIGNSection: User Commands (1)
Updated: Debian Utilities
Return to Main Contents
NAMEdebsign - sign a Debian changes and dsc file pair using GPG/PGP
SYNOPSISdebsign [options] [changes-file|dsc-file]
DESCRIPTIONdebsign takes either an unsigned .dsc file or an unsigned .changes file and the associated unsigned .dsc file (found by replacing the architecture name and .changes by .dsc) if it appears in the .changes file and signs them using the GNU Privacy Guard or PGP. It is careful to calculate the size and MD5 sum of the newly signed .dsc file and replace the original values in the .changes file.
If a .changes or .dsc file is specified, it is signed, otherwise, debian/changelog is parsed to determine the name of the .changes file to look for in the parent directory.
This utility is useful if a developer must build a package on one machine where it is unsafe to sign it; they need then only transfer the small .dsc and .changes files to a safe machine and then use the debsign program to sign them before transferring them back. This process can be automated in two ways. If the files to be signed live on the remote machine, the -r option may be used to copy them to the local machine and back again after signing. If the files live on the local machine, then they may be transferred to the remote machine for signing using debrsign(1).
CONFIGURATION VARIABLESThe two configuration files /etc/devscripts.conf and ~/.devscripts are sourced in that order to set configuration variables. Command line options can be used to override configuration file settings. Environment variable settings are ignored for this purpose. The currently recognised variables are:
SEE ALSOdebrsign(1), dpkg-buildpackage(1), dpkg-architecture(1), md5sum(1), gpg(1) and pgp(1).
AUTHORThis program was written by Julian Gilbey <email@example.com> and is copyright under the GPL, version 2 or later.
This document was created by man2html, using the manual pages.
Time: 05:59:43 GMT, October 23, 2021