Confirm that the same is happening here on Ubuntu 16.04, version of
dpkg-sig is 0.13.1+nmu2.
Also the root cause seems to be the following code which passes the
--passphrase-fd option to gpg in the code:
if ($pass_file) {
push (@cmdline, "--no-tty", "--batch", "--passphrase-fd", "42",
"42<$pass_file");
print "Using passphrase from $pass_file\n" if $verbose;
} elsif ($passphrase) {
line 1612, in the sign_file() sub.
Workaround: use -g '--passphrase-file FILE' to bypass dpkg-sig erroneous
handling and send the passphrase file directly to gpg.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1630542
Title:
dpkg-sig failes with "E: Signing failed. Error code: 512"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg-sig/+bug/1630542/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs