Package: debsigs Version: 0.1.25 Severity: normal Tags: patch Dear Maintainer,
The debsigs utility has scaffolding to support a -g/--gpgopts option but it is not actually used. Attached is a patch to pass options specified via -g/--gpgopts to gpg when signing. Multiple options may be specified, separated by commas. - todd -- System Information: Debian Release: 11.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-8-amd64 (SMP w/2 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages debsigs depends on: ii binutils 2.35.2-2 ii gnupg 2.2.27-2 ii perl 5.32.1-4+deb11u2 Versions of packages debsigs recommends: ii debsig-verify 0.23+b2 debsigs suggests no packages. -- no debconf information
commit 5311625df0d485e16fd674b452c5ecf2b0df160f Author: Todd C. Miller <todd.mil...@sudo.ws> Date: Mon Sep 27 08:37:28 2021 -0600 Pass options from -g/--gpgops to gpg when signing. Multiple options may be specified, separated by commas. diff --git a/debsigs b/debsigs index 25b5d44..c789681 100644 --- a/debsigs +++ b/debsigs @@ -105,6 +105,10 @@ sub cmd_sign($) { my @cmdline = ("gpg", "--openpgp", "--detach-sign"); + if ($gpgopts) { + push (@cmdline, split(/,/, $gpgopts)); + } + if ($key) { push (@cmdline, "--default-key", $key); }