mirror of https://gitlab.com/curben/blog
micropost: 11 January 2026
This commit is contained in:
parent
ac37775f45
commit
08e78449cd
|
|
@ -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
|
||||
```
|
||||
Loading…
Reference in New Issue