Skip to content

Setting up the Reader Driver and OpenSC

Philip Wendland edited this page Jul 31, 2016 · 1 revision

Getting the reader to work

Your reader is most likely PCSC-compliant. For Linux, there is an open source driver available, called pcsc-lite. Depending on your reader, you might also need to install the CCID driver. Note that these drivers are most likely available from your system's repositories.

To check whether your reader is being recognized, run

pcsc_scan

and look for the name of your reader.

Installing the correct version of OpenSC

As of March 2015, the IsoApplet driver has been included into OpenSC. OpenSC release 0.15.0 and newer includes the driver for the IsoApplet.

If you want to build nightly versions of OpenSC from source, follow the next steps. To get the source code, use the following instructions:

git clone https://github.com/OpenSC/OpenSC

Compiling OpenSC is as simple as bootstrap-configure-make. See this external link for more information.

Once OpenSC is installed, you should install the IsoApplet onto your smartcard. Running

opensc-tool -n

should show your reader name and "Javacard with IsoApplet".

Proceed with the installation of the IsoApplet and/or the initialization/personalization of the IsoApplet.