DEBRSIGN(1)
π DEBRSIGN π
okay bestie, welcome to debrsign(1), a page from the General Commands Manual β yes she's real, yes she's iconic, and yes she's about to make your signing life so much easier. sit down, hydrate, let's go π«Ά
πΈ NAME πΈ
debrsign β remotely sign a Debian .changes and .dsc file pair using SSH. no cap, that's literally the whole job description π
β¨ SYNOPSIS β¨
debrsign [options] [user@]remotehost [changes-file|dsc-file]
π¦ DESCRIPTION π¦
so here's the vibe: debrsign takes either an unsigned .dsc file, or an unsigned .changes file plus the associated unsigned .dsc file that goes with it. how does she find that .dsc? by replacing the architecture name and .changes with .dsc β but only if it actually shows up in the .changes file, okay? conditional queen π
then she signs them by copying them over to the remote machine with ssh(1) and running debsign(1) over there. and the little detail that matters: all options not listed below get passed straight through to the debsign program on the remote machine. she's generous like that.
if you do specify a .changes or .dsc file, that's the one she signs. if you don't? she parses debian/changelog to figure out the name of the .changes file to go looking for in the parent directory. detective era π
why would you even need this? okay so imagine you have to build a package on a machine where it is not safe to sign it. scary. instead of doing something reckless, you only need to transfer the small .dsc and .changes files to a safe machine, use the debsign program to sign them there, and transfer them back. debrsign automates that whole little routine for you. obsessed. β¨
and if you want to do it the other way round β like, connect to an unsafe machine to download the .dsc and .changes files, sign them locally, then transfer them back β go check out the debsign(1) program, because she can handle that task. different queen, same energy π
π OPTIONS π
-Sβ look for a source-only.changesfile instead of a binary-build.changesfile. pick your fighter π-adebian-architecture,-tGNU-system-typeβ these two are described over indpkg-architecture(1), go peek. they affect the search for the.changesfile. she ships them so she can mimic the behaviour ofdpkg-buildpackagewhen it's determining the name of the.changesfile. consistency slay π«Ά--multiβ Multiarch.changesmode, periodt. this meansdebrsignshould use the most recent file matching the name patternpackage_version_*+*.changesas the.changesfile β which is what lets her handle the.changesfiles produced bydpkg-cross. β¨--path remote-pathβ specify a path to the GPG binary on the remote host. remote-path is the placeholder, don't @ me π--help,--versionβ show help message and version information respectively. classic, beloved, never misses π
π Other options
all other options are passed on to debsign on the remote machine. she's not gatekeeping, she's just forwarding π¬
π CONFIGURATION VARIABLES π
the two configuration files /etc/devscripts.conf and ~/.devscripts get sourced in that order to set configuration variables β order matters, bestie, don't switch them up π
command line options can override configuration file settings. but heads up: environment variable settings are ignored for this purpose. read that again. she said what she said π
the currently recognised variables are:
DEBRSIGN_PGP_PATHβ equivalent to passing--pathon the command line (see above). same energy, different outfit β¨
π₯ SEE ALSO π₯
debsign(1), dpkg-architecture(1), ssh(1)
π AUTHOR π
this program was written by Julian Gilbey <jdg@debian.org> and is copyright under the GPL, version 2 or later. legend behaviour, fr fr π
and that's the whole page, bestie!! this one lives in the Debian Utilities section, source DEBIAN, filed under DEBRSIGN(1) β go forth and sign things remotely, you absolute main character π¦π
β¨
π¦ where this page comes from
- debian bookworm: devscripts 2.23.4+deb12u2 Β· GPL-2.0-or-later
- debian trixie: devscripts 2.25.15+deb13u1 Β· GPL-2.0-or-later
- epel 10: devscripts 2.25.5-1.el10_1 Β· GPL-2.0-or-later
- epel 9: devscripts 2.25.5-1.el9 Β· GPL-2.0-or-later
- fedora 43: devscripts 2.25.19-2.fc43 Β· GPL-2.0-or-later
- fedora 43: devscripts 2.25.33-1.fc43 Β· GPL-2.0-or-later
- fedora 44: devscripts 2.26.5-1.fc44 Β· GPL-2.0-or-later
- opensuse-leap 16.0: devscripts 2.22.2-160000.2.2 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND Artistic-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND GPL-3.0-only AND SUSE-Public-Domain AND ISC
- opensuse-leap 16.0: devscripts 2.22.2-160000.2.2 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND Artistic-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND GPL-3.0-only AND SUSE-Public-Domain AND ISC
- opensuse-leap 16.0: devscripts 2.22.2-160000.2.2 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND Artistic-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND GPL-3.0-only AND SUSE-Public-Domain AND ISC
- opensuse-leap 16.0: devscripts 2.22.2-160000.2.2 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND Artistic-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND GPL-3.0-only AND SUSE-Public-Domain AND ISC
- ubuntu jammy: devscripts 2.22.1ubuntu1 Β· GPL-2.0-or-later
- ubuntu jammy: devscripts 2.22.1ubuntu1.2 Β· GPL-2.0-or-later
- ubuntu noble: devscripts 2.23.7 Β· GPL-2.0-or-later
- ubuntu noble: devscripts 2.23.7ubuntu0.2 Β· GPL-2.0-or-later
- ubuntu questing: devscripts 2.25.19ubuntu2
- ubuntu resolute: devscripts 2.26.7 Β· GPL-2.0-or-later
- ubuntu stonking: devscripts 2.26.11ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms