Hi, Loïc Minier wrote:
debsign doesn't work with pinentry-curses because it seems to use stdin/stdout to draw the password prompt and read the password but debsign redirects them.
[...]
full solution is to create a temp dir with with a new $1 + newline file, run gpg on this in batch mode (prevents "Are you sure you want to overwrite" prompting) and outputting to a real .asc file, then moving this back.
I've attached a (-w to avoid clutter from reindenting in a couple of places) diff addressing this bug and #507482; any comments / complaints welcome.
I didn't use --batch as it also prevents entry of a passphrase if required; however, as the files being signed are now always in a temporary directory there shouldn't be any issues with overwrite prompts.
Regards,Adam
507479.diff
Description: Binary data