Abstract
This small article describes the installation and configuration of
OmniKey CardMan 6121 card read under
Slackware, which enables the usage of
InfoNotary's universal certificates for e-banking.
Getting started
Plug in the device to a USB port on your computer, after it's recognized by the kernel in the output of command lsusb you should find the following:
Bus 001 Device 028: ID 076b:6622 OmniKey AG CardMan 6121
Installation of device drivers
Manual installation
Download the driver archive and unpack it to a temporary directory, then run
the install script, for example in Slackware64 14.1:
# cd /tmp
# wget 'http://www.hidglobal.com/sites/hidglobal.com/files/drivers/ifdokccid_linux_x86_64-v4.0.5.4.tar.gz'
# tar -xvf ifdokccid_linux_x86_64-v4.0.5.4.tar.gz
# cd ifdokccid_linux_x86_64-v4.0.5.4
# ./install
Automatic installation
A package is provided by the
SlackPack repositories for different
Slackware versions called
pcsc-omnikay, so alternatively, you could use
slapt-get utility, configure SlackPack repositories and then just issue the following command:
# slapt-get --install pcsc-omnikey
Installation of necessary software
Manual installation
Download the packages into a temporary directory, obtain root privileges and then enter following commands to install them, for example in Slackware64 14.1:
# installpkg pcsc-lite-1.8.11-x86_64-1gds.txz
# installpkg opensc-0.14.0-x86_64-1gds.txz
Automatic installation
utility, configure SlackPack repositories and then just issue the following command:
# slapt-get --install pcsc-lite opensc
The PC/SC Lite daemon from the package comes bundled with a startup/shutdown script, so you could start it by just issueing the following command:
# /etc/rc.d/rc.pcscd start
If you want the daemon to start automatically with the system, then just add it to local initialization script like this:
# echo '/etc/rc.d/rc.pcscd start' >> /etc/rc.d/rc.local
Configuration of Firefox
Now that the driver and necessary software are installed
it remains only to configure Firefox to be able to communicate with the card read. This is done in the following way:
- Open Edit -> Preferences;
- In Firefox Preferences window navigate to Advanced, then to tab Certificates;
- Click on Security devices button;
- In window Device Manager that opens click on button Load on the right;
- Enter "OpenSC PKCS#11 Module" in Module Name and select
/usr/lib64/onepin-opensc-pkcs11.so file as Module filename, then
click OK;
After the module is loaded the window manager would display the information about the reader:
See also