Package: debarchiver
Version: 0.11.0
Severity: minor
Dear Maintainer,
starting with Stretch and gpg2 it's impossible to call debarchiver with
enabled archive signing (and $gpgpassfile) from commandline with a
foreign TTY, i.e. a session created by "su <user>".
> gpg: signing failed: Inappropriate ioctl for device
> gpg: signing failed: Inappropriate ioctl for device
It looks like the gpg call should use "--pinentry-mode loopback" OR the
documentation should recommend a new line in ~/.gnupg/gpg.conf:
> pinentry-mode loopback
There is an interesting section at the Arch Wiki at [1] too. The change
in ~/.gnupg/gpg-agent.conf is not required as far as I can see.
--
With kind regards,
Christian Schrötter
[1] https://wiki.archlinux.org/index.php/GnuPG#Unattended_ passphrase