Go to file
openKylinBot f13f078092 changed debian/source/format to native 2022-05-14 02:41:27 +08:00
build-aux Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
curses Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
debian changed debian/source/format to native 2022-05-14 02:41:27 +08:00
doc Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
emacs Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
fltk Fix format string errors in fltk pinentry 2022-05-14 02:41:27 +08:00
gnome3 gnome3: correctly detect when no GNOME screenlock exists 2022-05-14 02:41:27 +08:00
gtk+-2 gtk2: When X11 input grabbing fails, try again over ~0.4 seconds. 2022-05-14 02:41:27 +08:00
m4 Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
pinentry Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
qt qt: Fix use of dangling pointer in QApplication 2022-05-14 02:41:27 +08:00
secmem Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
tqt Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
tty Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
w32 Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
AUTHORS Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
COPYING Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
ChangeLog Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
ChangeLog-old Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
INSTALL Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
Makefile.am Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
Makefile.in Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
NEWS Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
README Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
README.GIT Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
THANKS Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
TODO Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
VERSION Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
acinclude.m4 Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
aclocal.m4 Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
autogen.rc Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
autogen.sh avoid self-describing as a beta 2022-05-14 02:41:27 +08:00
config.h.in Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
configure Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
configure.ac avoid self-describing as a beta 2022-05-14 02:41:27 +08:00
depcomp Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
install-sh Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
missing Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00
mkinstalldirs Import Upstream version 1.1.0 2022-05-14 02:41:26 +08:00

README

PINEntry
---------

This is a collection of PIN or passphrase entry dialogs which
utilize the Assuan protocol as specified in the Libassuan manual.

There are programs for different toolkits available.  For all GUIs it
is automatically detected which modules can be built, but it can also
be requested explicitly.

GUI		OPTION			 DEPENDENCIES
--------------------------------------------------------------------------
GTK+ V2.0	--enable-pinentry-gtk2	 Gimp Toolkit Library, Version 2.0
					 eg. libgtk-x11-2.0 and libglib-2.0
GNOME           --enable-pinentry-gnome  GNOME
Qt		--enable-pinentry-qt	 Qt (> 4.4.0)
Curses		--enable-pinentry-curses Curses library, for example ncurses
TTY		--enable-pinentry-tty	 Simple TTY version, no dependencies

The GTK+, GNOME, and Qt pinentries can fall back to curses mode.  The
option to enable this is --enable-fallback-curses, but this is also
detected automatically in the same way --enable-pinentry-curses is.
The fallback to curses also works if --disable-pinentry-curses is
specified.  So to disable linking to curses completely you have to
pass --disable-fallback-curses to the configure script as well.

Examples:
* To only build the GTK+ pinentry with curses support:
./configure --enable-pinentry-gtk2 --enable-fallback-curses \
	--disable-pinentry-curses --disable-pinentry-qt

* To build the Qt pinentry, and the other pinentries if they are
  supported:
./configure --enable-pinentry-qt

* To build everything that is supported (complete auto-detection):
./configure

Some of the code is taken from Robert Bihlmeyer's Quintuple-Agent.
For security reasons, all internationalization has been removed.  The
client is expected to tell the PIN entry the text strings to be
displayed.


Curses Pinentry
---------------

The curses pinentry supports colors if the terminal does.  The colors
can be specified by the --colors=FG,BG,SO option, which sets the
foreground, background and standout colors respectively.  The standout
color is used for error messages.  Colors can be named by any of
"black", "red", "green", "yellow", "blue", "magenta", "cyan" and
"white".  The foreground and standout color can be prefixed by
"bright-", "bright", "bold-" and "bold", and any of these prefixes has
the same effect of making the color bolder or brighter.  Two special
color names are defined as well: "default" chooses the default color,
and "none" disables use of colors.  The name "none" is only meaningful
for the standout color and in this case a reversed effect is used for
error messages.  For the other colors, disabling colors means the same
as using the defaults.  The default colors are as follows:

	Foreground:	Terminal default
	Background:	Terminal default
	Standout:	Bright red

Note that color support is limited by the capabilities of the display
terminal.  Some color combinations can be very difficult to read, and
please know that colors are perceived differently by different people.