<div dir="ltr"><div dir="ltr"><div dir="ltr">I'm using KDE Plasma 6.2.0<br></div><div>I have disabled KDE Wallet integration.</div><div>I have enabled KeepassXC's Secret Integration.<br></div><div>I'm using Endeavour OS which is arch based.<br><br></div><div>Earlier I referred <a href="https://wiki.archlinux.org/title/GnuPG#pinentry">https://wiki.archlinux.org/title/GnuPG#pinentry</a> so I switched between pinentry, pinentry-gnome3, -gtk, -qt, -qt5, but it didn't work.<br></div><div><br></div><div>Then I added in ~/.bashrc this: (and also checked <a href="https://dev.gnupg.org/D599">https://dev.gnupg.org/D599</a> for any syntax issue)<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> export PINENTRY_KDE_USE_WALLET=1 </blockquote><br>Rebooted, switched through all pinentry programs (reloading gpg-agent on every switch). <br>Still didn't work as expected, i.e., pinentry program didn't offer to save password.<br><br></div><div>The result I'm expecting:<br></div><div>Pinentry will offer to save passwords. And those passwords will get saved inside KeepassXC (as I enabled secret service integration)<br><br></div><div>Steps I'm performing:<br></div><div>I created a fresh new local git repository inside VS Code<br></div><div>Created a new file<br></div><div>Used commit editor in VS Code to write my commit<br></div><div>Click on Commit button<br></div><div>Pinentry pops up - doesn't offer to save password, let alone auto retrieve from KeepassXC<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 14 Oct 2024 at 02:43, Ingo Klöcker <<a href="mailto:kloecker@kde.org" target="_blank">kloecker@kde.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sonntag, 13. Oktober 2024 10:32:01 MESZ Mihir Rabade via Gnupg-users wrote:<br>
> I have configured git commit signing, which uses gpg. While trying to<br>
> commit, a pinentry gui popup comes up where I enter the password for my gpg<br>
> key.<br>
> I also configured KeepassXC's Freedesktop secret service integration to<br>
> save passwords after disabling kwallet & uninstalling gnome keyring.<br>
> Installed apps are correctly querying the API & keepassxc notifies which<br>
> process queried for password. (For eg Neochat, VS Code, Zed editor, etc)<br>
> <br>
> Now my issue is, that pinentry program is not offering to save passwords.<br>
> Nor does it query for gpg password.<br>
> This was working perfectly in KDE Neon with pinentry-gnome3.<br>
> But not Fedora 40 or EndeavourOS. I even tried other pinentry programs<br>
> (-gtk, -qt, -tty, -qt5, -gnome3...), but all of them ask for password on<br>
> prompt and none offer to save password.<br>
<br>
The possibility to use a password manager via the secret service API is <br>
available in pinentry-qt*. I don't know anything about the others.<br>
<br>
Are you using KDE Plasma? In this case you will have to set the environment <br>
variable PINENTRY_KDE_USE_WALLET to a non-empty value. By default, pinentry-<br>
qt* will disable support for secret service if it detects that it's running in <br>
KDE Plasma to prevent a deadlock with KWallet using gpg to protect the <br>
passwords.<br>
<br>
Regards,<br>
Ingo<br>
_______________________________________________<br>
Gnupg-users mailing list<br>
<a href="mailto:Gnupg-users@gnupg.org" target="_blank">Gnupg-users@gnupg.org</a><br>
<a href="https://lists.gnupg.org/mailman/listinfo/gnupg-users" rel="noreferrer" target="_blank">https://lists.gnupg.org/mailman/listinfo/gnupg-users</a><br>
</blockquote></div></div>
</div>