| 1 |
PINEntry |
| 2 |
--------- |
| 3 |
|
| 4 |
This is a collection of PIN or passphrase entry dialogs which |
| 5 |
utilize the Assuan protocol as specified in the Libassuan manual. |
| 6 |
|
| 7 |
There are programs for different toolkits available. For all GUIs it |
| 8 |
is automatically detected which modules can be built, but it can also |
| 9 |
be requested explicitly. |
| 10 |
|
| 11 |
GUI OPTION DEPENDENCIES |
| 12 |
-------------------------------------------------------------------------- |
| 13 |
GTK+ V2.0 --enable-pinentry-gtk2 Gimp Toolkit Library, Version 2.0 |
| 14 |
eg. libgtk-x11-2.0 and libglib-2.0 |
| 15 |
GNOME --enable-pinentry-gnome GNOME |
| 16 |
Qt --enable-pinentry-qt Qt (> 4.4.0) |
| 17 |
TQt --enable-pinentry-tqt Trinity Qt |
| 18 |
Enlightenment --enable-pinentry-efl EFL (>= 1.18) |
| 19 |
FLTK --enable-pinentry-fltk Fast Light Toolkit (>= 1.3) |
| 20 |
Curses --enable-pinentry-curses Curses library, for example ncurses |
| 21 |
TTY --enable-pinentry-tty Simple TTY version, no dependencies |
| 22 |
|
| 23 |
The GTK+, GNOME, and Qt pinentries can fall back to curses mode. The |
| 24 |
option to enable this is --enable-fallback-curses, but this is also |
| 25 |
detected automatically in the same way --enable-pinentry-curses is. |
| 26 |
The fallback to curses also works if --disable-pinentry-curses is |
| 27 |
specified. So to disable linking to curses completely you have to |
| 28 |
pass --disable-fallback-curses to the configure script as well. |
| 29 |
|
| 30 |
Examples: |
| 31 |
* To only build the GTK+ pinentry with curses support: |
| 32 |
./configure --enable-pinentry-gtk2 --enable-fallback-curses \ |
| 33 |
--disable-pinentry-curses --disable-pinentry-qt |
| 34 |
|
| 35 |
* To build the Qt pinentry, and the other pinentries if they are |
| 36 |
supported: |
| 37 |
./configure --enable-pinentry-qt |
| 38 |
|
| 39 |
* To build everything that is supported (complete auto-detection): |
| 40 |
./configure |
| 41 |
|
| 42 |
Some of the code is taken from Robert Bihlmeyer's Quintuple-Agent. |
| 43 |
For security reasons, all internationalization has been removed. The |
| 44 |
client is expected to tell the PIN entry the text strings to be |
| 45 |
displayed. |
| 46 |
|
| 47 |
|
| 48 |
Curses Pinentry |
| 49 |
--------------- |
| 50 |
|
| 51 |
The curses pinentry supports colors if the terminal does. The colors |
| 52 |
can be specified by the --colors=FG,BG,SO option, which sets the |
| 53 |
foreground, background and standout colors respectively. The standout |
| 54 |
color is used for error messages. Colors can be named by any of |
| 55 |
"black", "red", "green", "yellow", "blue", "magenta", "cyan" and |
| 56 |
"white". The foreground and standout color can be prefixed by |
| 57 |
"bright-", "bright", "bold-" and "bold", and any of these prefixes has |
| 58 |
the same effect of making the color bolder or brighter. Two special |
| 59 |
color names are defined as well: "default" chooses the default color, |
| 60 |
and "none" disables use of colors. The name "none" is only meaningful |
| 61 |
for the standout color and in this case a reversed effect is used for |
| 62 |
error messages. For the other colors, disabling colors means the same |
| 63 |
as using the defaults. The default colors are as follows: |
| 64 |
|
| 65 |
Foreground: Terminal default |
| 66 |
Background: Terminal default |
| 67 |
Standout: Bright red |
| 68 |
|
| 69 |
Note that color support is limited by the capabilities of the display |
| 70 |
terminal. Some color combinations can be very difficult to read, and |
| 71 |
please know that colors are perceived differently by different people. |