RokeJulianLockhart@Beedell:~$ cd $HOME/.gnupg
RokeJulianLockhart@Beedell:~/.gnupg$ ls -la | grep log-socket
srwxr-xr-x. 1 RokeJulianLockhart RokeJulianLockhart 0 Jun 4 2025 log-socket
RokeJulianLockhart@Beedell:~/.gnupg$ file log-socket
log-socket: socket
Consequently, I replaced what you advise:
diff --git a/home/RokeJulianLockhart/.gnupg/gpg.conf b/home/RokeJulianLockhart/.gnupg/gpg.conf
index a3b9917..803e161 100644
--- a/home/RokeJulianLockhart/.gnupg/gpg.conf
+++ b/home/RokeJulianLockhart/.gnupg/gpg.conf
@@ -4,7 +4,7 @@ default-key EBF4DB0C403C4B2E
###+++--- GPGConf ---+++###
utf8-strings
debug-level basic
-log-file socket:///home/RokeJulianLockhart/.gnupg/log-socket
+log-file $HOME/.gnupg/log-file
###+++--- GPGConf ---+++### Wed 04 Jun 2025 11:01:22 BST
# GPGConf edited this configuration file.
# It will disable options before this marked block, but it will
Based upon its content, I wonder whether kgpg-25.12.1-1.fc43 is the cause.
That remediated it for me, too, per gpg -v:
Previously
can't connect to 'socket:///home/RokeJulianLockhart/.gnupg/log-socket': Connection refused
^C
gpg: signal Interrupt caught ... exiting
Subsequently
2026-01-29 16:36:52 gpg[118983] enabled debug flags: memstat
2026-01-29 16:36:52 gpg[118983] enabled compatibility flags:
2026-01-29 16:36:52 gpg[118983] WARNING: no command supplied. Trying to guess what you mean ...
2026-01-29 16:36:52 gpg[118983] Go ahead and type your message ...
^C
gpg: signal Interrupt caught ... exiting
Kleopatra sets this in its config section for gpg if you have Kleopatra installed. Just so you are not fighting uphill against something that will revert later, check in Settings → Configure Kleopatra → GnuPG System → (look for logging/debug). Set log level to none and clear the default file path, and it should behave thereafter. Disregard this if you don’t have Kleopatra, but I had the exact same issue and it turned out Kleopatras default settings were the offender.
Removing the log level works only as long as you do not click on the first action in the “Tools” menu, which is “GnuPG log viewer”. (Can easily happen by mistake or when checking out possible actions.) This will then set a log level. And write the offending log socket as log-file into your configuration files unless there is a log file already configured.
So setting a log file without setting a debug level is a sensible precaution while waiting for the changes regarding ⚓ T7259 Kleopatra: Kwatchgnupg must not modify conf files from yesterday to show up in your Kleopatra version.