dpkg-sig failes with "E: Signing failed. Error code: 512"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg-sig (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
We call dpkg-sig during an automated build with bamboo and when it comes to sign a package with dpkg-sig with a passphrase file, the command fails:
dpkg-sig -k 45FC2A18 -p -f ~/build_sign.pass --sign builder ../mypackage_
Processing ../mypackage_
Default key: 45FC2A18
Using passphrase from /root/build_
Signing /tmp/debsigs-
usage: gpg [options] --clearsign [filename]
E: Signing failed. Error code: 512
When using gpg options: '-g "--no-tty --passphrase <password>"' the signing process works.
ProblemType: Bug
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: amd64
Date: Wed Oct 5 13:23:04 2016
Dependencies:
adduser 3.113+nmu3ubuntu3
apt-utils 1.0.1ubuntu2.14
base-passwd 3.5.33
busybox-initramfs 1:1.21.0-1ubuntu1
coreutils 8.21-1ubuntu5.4
cpio 2.11+dfsg-
dbus 1.6.18-0ubuntu4.3
debconf 1.5.51ubuntu2
debconf-i18n 1.5.51ubuntu2
debianutils 4.4
dpkg 1.17.5ubuntu5.7
e2fslibs 1.42.9-3ubuntu1.3
e2fsprogs 1.42.9-3ubuntu1.3
findutils 4.4.2-7
gcc-6-base 6.2.0-3ubuntu11
gnupg 1.4.16-1ubuntu2.4
gpgv 1.4.16-1ubuntu2.4
ifupdown 0.7.47.2ubuntu4.4
initramfs-tools 0.103ubuntu4.4
initramfs-
initscripts 2.88dsf-41ubuntu6.3
insserv 1.14.0-5ubuntu2
iproute2 3.12.0-2ubuntu1
isc-dhcp-client 4.2.4-7ubuntu12.7
isc-dhcp-common 4.2.4-7ubuntu12.7
klibc-utils 2.0.3-0ubuntu1.
kmod 15-0ubuntu6
libacl1 2.2.52-1
libapparmor1 2.8.95~
libapt-inst1.5 1.0.1ubuntu2.14
libapt-pkg4.12 1.0.1ubuntu2.14
libarchive-
libatm1 1:2.5.1-1.5
libattr1 1:2.4.47-1ubuntu1
libaudit-common 1:2.3.2-2ubuntu1
libaudit1 1:2.3.2-2ubuntu1
libblkid1 2.20.1-
libbz2-1.0 1.0.6-5
libc6 2.19-0ubuntu6.9
libcap2 1:2.24-0ubuntu2
libcgmanager0 0.24-0ubuntu7.5
libcomerr2 1.42.9-3ubuntu1.3
libconfig-
libdb5.3 5.3.28-3ubuntu3
libdbus-1-3 1.6.18-0ubuntu4.3
libdebconfclient0 0.187ubuntu1
libdrm2 2.4.67-
libexpat1 2.1.0-4ubuntu1.3
libgcc1 1:6.2.0-
libgdbm3 1.8.3-12build1
libgpm2 1.20.4-6.1
libjson-c2 0.11-3ubuntu1.2
libjson0 0.11-3ubuntu1.2
libklibc 2.0.3-0ubuntu1.
libkmod2 15-0ubuntu6
liblocale-
liblog-
liblzma5 5.1.1alpha+
libmodule-
libmount1 2.20.1-
libncurses5 5.9+20140118-
libncursesw5 5.9+20140118-
libnih-dbus1 1.0.3-4ubuntu25
libnih1 1.0.3-4ubuntu25
libpam-modules 1.1.8-1ubuntu2.2
libpam-modules-bin 1.1.8-1ubuntu2.2
libpam-runtime 1.1.8-1ubuntu2.2
libpam-systemd 204-5ubuntu20.19
libpam0g 1.1.8-1ubuntu2.2
libpcre3 1:8.31-2ubuntu2.3
libplymouth2 0.8.8-0ubuntu17.1
libpng12-0 1.2.50-
libpod-latex-perl 0.61-1
libprocps3 1:3.3.9-1ubuntu2.2
libreadline6 6.3-4ubuntu2
libselinux1 2.2.2-1ubuntu0.1
libsemanage-common 2.2-1
libsemanage1 2.2-1
libsepol1 2.2-1ubuntu0.1
libslang2 2.2.4-15ubuntu1
libss2 1.42.9-3ubuntu1.3
libstdc++6 6.2.0-3ubuntu11
libsystemd-daemon0 204-5ubuntu20.19
libsystemd-login0 204-5ubuntu20.19
libterm-ui-perl 0.42-1
libtext-
libtext-iconv-perl 1.7-5build2
libtext-
libtext-
libtinfo5 5.9+20140118-
libudev1 204-5ubuntu20.19
libusb-0.1-4 2:0.1.12-
libustr-1.0-1 1.0.4-3ubuntu2
libuuid1 2.20.1-
libxtables10 1.4.21-1ubuntu1
lsb-base 4.1+Debian11ubu
makedev 2.3.1-93ubuntu1
module-init-tools 15-0ubuntu6
mount 2.20.1-
mountall 2.53
multiarch-support 2.19-0ubuntu6.9
netbase 5.2
passwd 1:4.1.5.
perl 5.18.2-2ubuntu1.1
perl-base 5.18.2-2ubuntu1.1
perl-modules 5.18.2-2ubuntu1.1
plymouth 0.8.8-0ubuntu17.1
plymouth-
procps 1:3.3.9-1ubuntu2.2
psmisc 22.20-1ubuntu2
readline-common 6.3-4ubuntu2
sensible-utils 0.0.9
systemd-services 204-5ubuntu20.19
sysv-rc 2.88dsf-41ubuntu6.3
sysvinit-utils 2.88dsf-41ubuntu6.3
tar 1.27.1-1
tzdata 2016f-0ubuntu0.
udev 204-5ubuntu20.19
upstart 1.12.1-0ubuntu4.2
util-linux 2.20.1-
uuid-runtime 2.20.1-
zlib1g 1:1.2.8.
DistroRelease: Ubuntu 14.04
InstallationDate: Installed on 2012-08-24 (1502 days ago)
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 (20120424.1)
Package: dpkg-sig 0.13.1+nmu1
PackageArchitec
ProcEnviron:
LANGUAGE=en_US
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US
SHELL=/bin/bash
ProcVersionSign
SourcePackage: dpkg-sig
Tags: third-party-
Uname: Linux 3.13.0-93-generic x86_64
UpgradeStatus: Upgraded to trusty on 2014-12-30 (645 days ago)
_MarkForUpload: True
Status changed to 'Confirmed' because the bug affects multiple users.