Description of problem: under Xcfe4 applications can't connect to gpg-agent. process is running and GPG_AGENT_INFO is set nevertheless application does not seem to communicate with gpg-agent Version-Release number of selected component (if applicable): - mageia 2b_2 - gnupg2-2.0.18-1.mga2 - gnupg-1.4.12-1.mga2 - task-xfce-plugins-2-5.mga2 - task-xfce-minimal-2-5.mga2 - mageia-xfce-config-common-1-9.mga1 - xfce-utils-4.8.3-4.mga2 - xfce4-taskmanager-1.0.0-4.mga1 - task-xfce-2-5.mga2 How reproducible: Steps to Reproduce: 1.install task-xfce 2.install gnupg2 3.open a session under XCFE 4.configure GPG to run at startup (mageia/parameters/startup session) 5.logout Xfce 6.login Xfce 7.open terminal 8.echo $GPG_AGENT_INFO (variable is set) 9.try to use gpg-agent : [user@localhost ~]$ echo $GPG_AGENT_INFO /run/user/user/keyring-RgG6fJ/gpg:0:1 [user@localhost ~]$ export GPG_AGENT_INFO [user@localhost ~]$ gpg --decrypt toto.txt.clear.gpg Vous avez besoin d'une phrase de passe pour déverrouiller la clé secrète pour l'utilisateur: « XXXX <XXXX@YYY.com> » clé de 2048 bits RSA, ID 12345678XX, créée le 2011-08-26 (ID clé principale XXXYYYZZZ) gpg: problème avec l'agent - arrêt d'utilisation de l'agent Entrez la phrase de passe: ^C gpg: Interrupt caught ... exiting 10. you can also try to use kmymoney with an encrypt file you will have same behaviour (screenshot in attachment).
Created attachment 1971 [details] gpg-agent trouble under Xfce with kmymoney
Comment on attachment 1971 [details] gpg-agent trouble under Xfce with kmymoney there is no popup to enter password, only this error message.
Can't reproduce this.
CC: (none) => jani.valimaa
umh ... strange i don't have any specific configuration apart using personal keys. am waiting for 2b_3 and i will try again. i will give you back my experience.
i have done a new test on fresh system installed with 2_b3 and all seem to work properly. i suppose i have done too many test on my previous installation. maybe we can wait for RC release to validate this behaviour is only a wrong report before closing this bug report ?
set priority to low and status to unconfirmed
Priority: Normal => LowStatus: NEW => UNCONFIRMEDEver confirmed: 1 => 0
Hi, This bug was filed against cauldron, but we do not have cauldron at the moment. Please report whether this bug is still valid for Mageia 2. Thanks :) Cheers, marja
Keywords: (none) => NEEDINFO
Bug confirmed on current Mageia 2 system. The problem is the startup script checking that /etc/mtab is not empty. Since it's now a symlink, the test is failing.
Status: UNCONFIRMED => NEWCC: (none) => davidwhodginsEver confirmed: 0 => 1
Created attachment 2460 [details] Patch to remove failing check for non-empty /etc/mtab I have no idea why the check is there. Removing it fixes the problem.
*** Bug 6098 has been marked as a duplicate of this bug. ***
CC: (none) => jeffrobinsSAE
Keywords: NEEDINFO => (none)Whiteboard: (none) => MGA2TOO
Created attachment 2463 [details] Patch to correct gpg-agent.sh Sorry, attached the wrong file.
Attachment 2460 is obsolete: 0 => 1
Fixes my problem in KDE as well.
Keywords: (none) => PATCHAssignee: bugsquad => boklmSource RPM: (none) => gnupg2
Thanks for the fix. Updated packages have been submitted to Cauldron, and to Mageia 2 updates_testing.
CC: (none) => boklmAssignee: boklm => qa-bugs
Jeff were you testing using x86_64 or i586 please? mnaud mnaud can you confirm this fixes the problem for you please and say whether you use x86_64 or i586. Thanks.
Hardware: i586 => AllVersion: Cauldron => 2Whiteboard: MGA2TOO => (none)
Testing complete on Mageia 2 i586 for the srpm gnupg2-2.0.18-1.1.mga2.src.rpm Testing using thunderbird-enigmail to view an encrypted message.
Whiteboard: (none) => MGA2-32-OK
Testing complete on Mageia 2 x86-64. Could someone from the sysadmin team push the srpm gnupg2-2.0.18-1.1.mga2.src.rpm from Mageia 2 Core Updates Testing to Core Updates. Advisory: This bugfix for gnupg2 removes the check in /etc/profile.d/gpg-agent.sh for a non-empty /etc/mtab, which was failing due to the change of /etc/mtab to being a symlink to /proc/mounts. After installing the update, users should logout/in to start the gpg-agent for the session. Then applications such as thunderbird-enigmail will be able to use gpg-agent to prompt for the encryption pass-phrase. https://bugs.mageia.org/show_bug.cgi?id=5360
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugsWhiteboard: MGA2-32-OK => MGA2-32-OK MGA2-64-OK
Update pushed: https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0145
Status: NEW => RESOLVEDCC: (none) => tmbResolution: (none) => FIXED
CC: boklm => (none)