When I try to sign an email I get this error message: Could not compose message: Bad passphrase There is no dialog to enter the passphrase. The self-test of Kleopatra shows no errors. I see my PGP certificates listed. Reproducible: always gpg-agent was configured automatically. ----------------------------------------------------------------------------- [bequimao@linux ~]$ ps -ef | grep gpg-agent bequimao 4138 4080 0 07:30 ? 00:00:00 /usr/bin/gpg-agent --daemon --keep-display --use-standard-socket bequimao 10027 13878 0 07:54 pts/0 00:00:00 grep --color gpg-agent [bequimao@linux ~]$ ------------------------------------------------------------------------------ I guess that the option --pinentry-program /usr/bin/pinentry-qt is missing. Installed from Mageia-6-RC-x86_64-DVD of 16-08-13 Ulrich
Assignee: bugsquad => kdeSource RPM: (none) => gnupg2.x86_64 version 2.0.30-3.mga6
what gives : rpm -qa | grep pinentry ?
CC: (none) => mageia
# rpm -qa | grep pinentry pinentry-0.9.7-1.mga6 pinentry-qt4-0.9.7-1.mga6
confirmed here
Status: NEW => ASSIGNED
Hi guys, could you try to remove --keep-display from the options in /etc/sysconfig/gnupg2 such that: cat /etc/sysconfig/gnupg2 GPGAGENT_PARAMS="--use-standard-socket" then systemctl --user restart gpg-agent and see if it helps. I think it should fix the bug.
CC: (none) => eatdirt
Yes, that works. Thank you, Ulrich
I pushed gpg2-2.0.30-4.mga6 with the fix. Please reopen the bug is this does not work after the update. Cheers, Chris.
Status: ASSIGNED => RESOLVEDResolution: (none) => FIXED