<div style="font-family: Arial, sans-serif; font-size: 14px;">Okay so an update on this issue , if i am correct this may not really be an issue with kleopatra flatpak itself and things might be running as expected. After posting here I went to the bug kde bug tracking system to see similar issues reported  and i saw  an informational bug ticket which said "Kleopatra <code>needs a running gpg-agent from the host to work"</code>.Bug report link <span><a target="_blank" rel="noreferrer nofollow noopener" href="https://bugs.kde.org/show_bug.cgi?id=459041">https://bugs.kde.org/show_bug.cgi?id=459041</a></span> So  from this i conclude that flatpak indeed needs to rely on the host gpg-agent to conduct the crypto operations. Possibly reasons could be because gpg-agent daemon needs system integration to perform the secret operations in secure manner which flatpaks can't probably do with its sandbox approach. I am no expert in Linux packaging but this is what i assume something related to this . Though i feel the warning messages are incorrect , as killing gpg-agent won't use newer versions of gpg-agent automatically.<br><br>In a related issue to this issue , can someone tell the proper steps to follow for changing all the gpg-agent.service , scdaemon.service and keyboxd.service files when manually compiling gpg to updated versions .<span style="display: inline !important; background-color: rgb(255, 255, 255);"> </span>For example i had compiled and installed the latest package and dependencies in the directory `/usr/local/bin'  and added this to path . But still the older gpg-agent and scdaemon were running despite killing and restarting multiple times. Also on most linux systems removing the default gnupg installation is not possible as core DE components and applications rely on it. <span style="display: inline !important; background-color: rgb(255, 255, 255);">I checked the docs but it seems this information is not properly documented. So a list of files i need to check including config changes would be helpful.</span><br><br>Thanking you<br>kevin</div><div class="protonmail_quote">
        On Wednesday, 26 March 2025 at 17:17, kevinotech@proton.me <kevinotech@proton.me> wrote:<br>
        <blockquote class="protonmail_quote" type="cite">
            <div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">hello everyone , this i my first question on the mailing list :) . Hopefully this is the right place to ask questions <span style="display: inline !important; background-color: rgb(255, 255, 255);">related<span> to </span></span><span style="display: inline !important; background-color: rgb(255, 255, 255);">kleopatra.<span> </span></span><br>i am using kleopatra (flatpak version) on my Linux mint 22.1 (base noble) machine and  when i am doing any function like encryption or decryption on kleopatra, the actual operation is a success but on inspecting the audit log i am seeing the following warning messages.<br><blockquote style="border-left: 3px solid rgb(200, 200, 200); border-top-color: rgb(200, 200, 200); border-right-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); padding-left: 10px; color: rgb(102, 102, 102);"><span>gpg: WARNING: server 'keyboxd' is older than us (2.4.4 < 2.5.1)</span><div><span>gpg: WARNING: server 'gpg-agent' is older than us (2.4.4 < 2.5.1)</span></div><div><span>gpg: Note: Outdated servers may lack important security fixes.</span></div><div><span>gpg: Note: Use the command "gpgconf --kill all" to restart them<br></span></div></blockquote><div><span><br></span></div></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span>kelopatra about section shows <span style="display: inline !important; background-color: rgb(255, 255, 255);"><span> </span>gpg version </span>2.5.1 and libgcrypt version  1.11.0  but my linux system has <span style="display: inline !important; background-color: rgb(255, 255, 255);"><span> </span>gpg version 2.4.4. and libgcrypt v 1.10.3. So the</span> warning may indicate that kleopatra might still be using my host systems gpg-agent and keyboxd. I  tried the suggested fix for it by killing gpg-agent but even after many tries the warning still persist. While most people would just ignore such warning as the operation still works but i decided to dig in to find a solution for this.(hopefully  also push ubuntu to upgrade their gpg packaged version). I suspect this could be related to some systemd service of the gpg-agent or keyboxd of the host which is set to restart automatically , thus causing conflicts. Though i am not entirely sure of this. </span>A  solution for this would to manually install the updated version of gpg on my system and set it as default path but that won't solve the issue permanently and may not be desirable step in every case. Usually flatpaks bring their own binary version so it must be able to leverage the updated versions of gpg. Also to note that i had earlier manually changed the keydatabse method from keyring.kbx to keyboxd as per instuctions in docs , but the behaviour should remain the same. </div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span><span style="display: inline !important; background-color: rgb(255, 255, 255);"></span></span>Here is my complete build info for kleopatra and system info.<br></div><blockquote style="border-left: 3px solid rgb(200, 200, 200); border-top-color: rgb(200, 200, 200); border-right-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); padding-left: 10px; color: rgb(102, 102, 102);"><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Kleopatra: 4.0.0.241203 (24.12.3) , KDE Frameworks: 6.12.0, Qt: Using 6.8.2 and built against 6.8.2, KDE Flatpak runtime (Xcb), Build ABI: x86_64-little_endian-lp64, Kernel: linux 6.8.0-56-generic</div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">System info - <span>Distro: Linux Mint 22.1 Xia base: Ubuntu 24.04 noble, <span> Kernel: 6.8.0-56-generic arch: x86_64</span></span></div></blockquote><div style=""><span style="font-family: Arial, sans-serif; display: inline !important; background-color: rgb(255, 255, 255);">Any suggestions for tackling this problem is greatly appreciated. <br></span><span style="font-family: Arial, sans-serif; display: inline !important; background-color: rgb(255, 255, 255);">Also thanks to developers for their work on gnupg Its a  wonderful free software and i have been reading into a lot details lately :)</span><br><br>Best regards<br>kevin</div>
        </blockquote><br>
    </div>