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), and for the common GTK and Qt toolkits.

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

This package is known to build and work properly using the gcc-5 compiler.

Package Information

PIN-Entry Dependencies


GTK+-2.24.28, libcap-2.24 with PAM, libsecret-0.18.2, and Qt-4.8.7

User Notes:

Installation of PIN-Entry

Install PIN-Entry by running the following commands:

CXXFLAGS=-std=c++11 ./configure --prefix=/usr &&

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

CXXFLAGS=-std=c++11: Fix a build problem with gcc-5.

--enable-pinentry-qt4: Use this switch if ypu wish to install pinentry-qt4. If both Qt-4.8.7 and Qt-5.5.0 are installed, use source setqt4, before starting. Also, you need to modify the configuration step, using CXX="g++ -std=c++11" MOC="$QT4DIR/bin/moc" ./configure ..., to fix building with gcc-5 and for Qt4 moc (Qt4 meta object compiler) detection.


Installed Programs: pinentry (symlink), pinentry-curses, pinentry-gnome3, 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 helper program.


is a GNOME-3 PIN-Entry helper program.


is a GTK+2 PIN-Entry program program.


is a Qt4 PIN-Entry helper program.


is a tty PIN-Entry helper program.

Last updated on 2015-07-03 19:49:11 +0000