This repository sets up GitHub Action for pinentry-w32 build workflow with small hack to solve garbled characters in non UTF-8 codepage environment.
pinentry-w32 | pinentry-w32-ncg |
---|---|
Grab a package (pinentry-w32-ncg-v<version>.zip
) from GitHub releases
and extract it to some place (denoted by <EXTRACT_DIR>
below).
Edit gpg-agent.conf, typically ~/AppData/Roaming/gnupg/gpg-agent.conf
, to add;
pinentry-program <EXTRACT_DIR>/pinentry-w32.exe
0001-Fix-character-garbled-in-non-UTF-8-Windows-environme.patch
- Tries to convert input texts by ANSI codepage (
CP_ACP
) first, and then by UTF-8 (CP_UTF8
).
0002-Adjust-dialog-and-its-components-size.patch
- Increases dialog width and its components widths so that the whole SSH fingerprint is visible.
- Keep the dialog foreground.