KWallet working with Magit in Doom Emacs

Ok, got things working. There is a little more to it but the guide posted in the Manjaro forum above had the solution farther down in the comments. Here is the trick

First, I am assuming that the guide here was followed and you ended up with a key named id_ed25519

in the guide above

Follow Step 1

At Step 2, in the ssh-askpass.sh file you create, add the following text:

#!/bin/sh

export SSH_ASKPASS=/usr/bin/ksshaskpass
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR"/ssh-agent.socket

Skip Step 3 and continue up to Step 7. At Step 7, the ssh-add.desktop file should look like

[Desktop Entry]
Exec=ssh-add -q /home/<username>/.ssh/id_ed25519
Name=ssh-add
Type=Application

That seems to have done it. Not only can I run git from the command line, I can also do it in Doom Emacs without getting asked to enter my passphrase.

Hopefully this helps others. Take care and no, you can’t just google this. Sometimes you got to take time and read it, something I unfortunately lack during the week.