Introduction to PIN-Entry

The PIN-Entry package contains a collection of simple PIN or pass-phrase entry dialogs which utilize the Assuan protocol as described by the Ägypten project. PIN-Entry programs are usually invoked by the gpg-agent daemon, but can be run from the command line as well. There are programs for various text-based and GUI environments, including interfaces designed for Ncurses (text-based), GTK+, GTK+2, Qt3, and Qt4.

This package is known to build and work properly using an LFS-7.7 platform.

Package Information

PIN-Entry Dependencies


GTK+-2.24.26, libcap-2.24 with PAM and Qt-4.8.6

User Notes:

Installation of PIN-Entry

If both Qt-4.8.6 and Qt-5.4.0 are installed, use source setqt4, before starting.

Install PIN-Entry by running the following commands:

sed -i 's:../../../s/pinentry/qt4/::' qt4/*.moc &&
./configure --prefix=/usr &&

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

sed -i ... qt4/*.moc Fix some header locations.


Installed Programs: pinentry (symlink), pinentry-curses, pinentry-gtk-2, pinentry-qt4, and pinentry-tty
Installed Libraries: None
Installed Directory: None

Short Descriptions


is a symbolic link to the default PIN-Entry program.


is an Ncurses text-based PIN-Entry program.


is a GTK+2 GUI PIN-Entry program.


is a Qt4 GUI PIN-Entry program.


is a tty PIN-Entry program.

Last updated on 2015-02-23 21:00:51 -0800