Comment 20 for bug 78165

Revision history for this message
In , Scott Kitterman (kitterman) wrote : Also affects gpg-agent/pinentry-qt

When using debuild and gpg-agent with pinentry-qt, a very similar failure
occurs:

gpg: cancelled by user
gpg: skipped "Scott Kitterman <email address hidden>": bad passphrase
gpg: [stdin]: clearsign failed: bad passphrase
debsign: gpg error occurred! Aborting....
debuild: fatal error at line 1155:
running debsign failed

Adding DEBUILD_PRESERVE_ENVVARS="DISPLAY" to ~/.devscripts solves the
problem in this case too.