Table of Contents
Since version 1.3.90 GnuPG supports smart cards by default.
Please make sure that libusb is available prior to building GnuPG. It can be obtained from http://prdownloads.sourceforge.net/libusb. On Debian GNU/Linux a simple apt-get install libusb-dev
should be sufficient.
If you are not using an USB reader please also install libpcsclite and libpcsclite-dev. On Debian GNU/Linux a simple apt-get install libpcsclite libpcsclite-dev
should be sufficient.
If your reader is a native USB device and supports the CCID (Chip Card Interface Description) specification it is directly supported by GnuPG.
Most USB readers today still behave like serial readers. In this case you need the kernel module pl2303 to access the reader. This module is a "USB Serial Driver" which can be found under
-> -> -> in the 2.6 kernel configuration. This module makes sure that the proprietary reader protocol is translated to a standard protocol.Without an installation of GnuPG the OpenPGP card will be of little use. So, please, go ahead and install it.
GnuPG can be downloaded from http://www.gnupg.org/download/index.html. Please use the recent stable version.
After downloading and patching the sources GnuPG is installed with the usual ./configure
, make
, make install
. For further information please refer to the installation instructions shipped with GnuPG.
dh_make
and debuild
in the source directory. After that you can install it the usual way with dpkg -i gnupg-version.deb
If you are using the 1.9 branch of GnuPG and plan to use the PC/SC driver you should now install the software to make sure that the pcsc wrapper binary will be available at the right place.