From 08e78449cdf01e7dc82a0f9bdc3bdc70cd9863f7 Mon Sep 17 00:00:00 2001 From: Ming Di Leom <2809763-curben@users.noreply.gitlab.com> Date: Sat, 10 Jan 2026 22:09:12 +0000 Subject: [PATCH] micropost: 11 January 2026 --- source/_posts/2026-01-11.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 source/_posts/2026-01-11.md diff --git a/source/_posts/2026-01-11.md b/source/_posts/2026-01-11.md new file mode 100644 index 0000000..e6e96f0 --- /dev/null +++ b/source/_posts/2026-01-11.md @@ -0,0 +1,17 @@ +--- +title: GnuPG 2.5 for Windows is now 64-bit only +date: 2026-01-11 +--- + +After updating GnuPG to 2.5.16 using Chocolatey, I wasn't able to sign commit in WSL with pinentry error. The "$HOME/.gnupg/gpg-agent.conf" was previously configured with `pinentry-program "/mnt/c/Program Files (x86)/gnupg/bin/pinentry-basic.exe"` which is now an invalid path. I updated it to: + +`pinentry-program "/mnt/c/Program Files/GnuPG/bin/pinentry-basic.exe"` + +Then run `systemctl --user restart gpg-agent.service`. + +If Git and GnuPG are used in Windows, the gpg config in "$HOME\\.gitconfig" should be updated to: + +``` +[gpg] + program = C:\\Program Files\\GnuPG\\bin\\gpg.exe +```