Control: tags 787690 + unreproducible moreinfo Hi Brian--
Thanks for the report! On Wed 2015-06-03 21:44:31 -0400, brian m. carlson wrote: > Trying to sign any file fails with the following: > > vauxhall no % gpg2 -b foo > gpg: signing failed: No passphrase given > gpg: signing failed: No passphrase given > > I'm prompted using pinentry-gtk2, and whether or not I select the option > to integrate with the password manager, gpg produces the above error > message. I've killed all existing gpg-agent and dirmngr processes, but > it still doesn't help. I've also moved the gpg-agent.conf out of the > way, which also doesn't help. What version of gpg2 are you running? which version of gnupg-agent? I'm unable to reproduce this report with gpg2 version 2.1.4-1 (from debian experimental) or with 2.0.28-1 from sid. dirmngr shouldn't be relevant for this particular detached-signature workflow. > I've tried switching to pinentry-curses, which seems to work fine after > the update to 0.9.3-2. However, that isn't suitable for the general > case, as I tend to use multiple terminal windows and GPG_TTY is not > necessarily set. pinentry-gtk2 should also fall back to curses if $DISPLAY is unset. Does: DISPLAY= gpg2 -b foo work for you as expected? Regards, --dkg
signature.asc
Description: PGP signature