Analysis updated 2026-05-18
Replace the default GnuPG pinentry dialog on Windows with a faster, native one that starts instantly without extra dependencies.
Build from source with the Rust toolchain to create a customized passphrase dialog for a Windows GnuPG setup.
Drop pinentry.exe into a portable GnuPG installation on Windows to enable passphrase prompts without installing Qt or GTK.
| flejz/pinentry-win | abyo-software/ferro-stash | ariasbruno/glyph | |
|---|---|---|---|
| Stars | 1 | 1 | 1 |
| Language | Rust | Rust | Rust |
| Setup difficulty | easy | moderate | easy |
| Complexity | 2/5 | 4/5 | 2/5 |
| Audience | developer | ops devops | developer |
Figures from each repo's GitHub metadata at analysis time.
Download the prebuilt .exe and add one line to gpg-agent.conf, no compiler needed unless building from source.
pinentry-win is a small Windows program written in Rust that shows a password dialog box when GnuPG needs you to enter a passphrase. GnuPG is widely used for encrypting files and emails, and it relies on a separate program called pinentry to securely collect passwords from the user. The standard pinentry programs available for Windows tend to depend on heavy software like Qt or GTK, or require a Unix compatibility layer like Cygwin. This project replaces them with a lightweight alternative that uses Windows' own native dialog system directly. The program speaks the same communication protocol that GnuPG expects, so it works as a direct drop-in replacement with no changes needed on the GnuPG side. It supports the full set of commands that GnuPG sends to a pinentry program, including prompting for a PIN or passphrase, showing confirmation dialogs, and displaying informational messages. It clears the entered passphrase from memory immediately after use. The dialog is high-DPI aware and renders with modern button styles. To use it, download the prebuilt pinentry.exe from the Releases page and point GnuPG at it by editing one line in the GnuPG agent configuration file. You then restart the GnuPG agent and the new dialog appears the next time GnuPG needs a passphrase. Building from source requires the Rust toolchain and the MSVC compiler target for Windows. The license is MIT.
A lightweight Windows password-entry dialog for GnuPG, written in Rust using native Win32 APIs, with no Cygwin or Qt dependency required.
Mainly Rust. The stack also includes Rust, Win32 API, windows-rs.
MIT license: use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.