Installation of smart card reader and smart card drivers in Linux: Разлика между версии

От Infonotary
Направо към навигацията Направо към търсенето
Редакция без резюме
 
(Не са показани 7 междинни версии от 2 потребители)
Ред 1: Ред 1:
== Installing the driver for the reader ==
'''This page is not available!'''
 
<!--== Installing the driver for the reader ==


All readers, offered by InfoNotary EAD have drivers for Linux, which can be downloaded from the website of the manufacturer's - [http://www.hidglobal.com/drivers?field_brand_tid=24&product_id=3944&os=All OmniKey] or [http://www.acs.com.hk/index.php?pid=drivers&id=ACR38T ACS]. In some cases, these drivers can be installed directly through the packaging system of your distribution.
All readers, offered by InfoNotary EAD have drivers for Linux, which can be downloaded from the website of the manufacturer's - [http://www.hidglobal.com/drivers?field_brand_tid=24&product_id=3944&os=All OmniKey] or [http://www.acs.com.hk/index.php?pid=drivers&id=ACR38T ACS]. In some cases, these drivers can be installed directly through the packaging system of your distribution.
Ред 6: Ред 8:
Regardless of the model of your reader, you will need to install the package'' 'pcscd'''. This is the daemon through which programs work with the reader and smart card respectively. After installation of the new driver for the reader must restart pcscd. If you install drivers from the package, it will probably restart daemon.
Regardless of the model of your reader, you will need to install the package'' 'pcscd'''. This is the daemon through which programs work with the reader and smart card respectively. After installation of the new driver for the reader must restart pcscd. If you install drivers from the package, it will probably restart daemon.


[[Image:warning.jpg|32px]] In some distributions, together with the installation of pcscd installed and alternate demon Management readers -'' 'openct'''. For correct operation of the reader will have to deinstalrate or if it can not be done without removing and pcscd, forbid him to run.
[[Image:WarningYellow.png|32px]] In some distributions, together with the installation of pcscd installed and alternate demon Management readers -'' 'openct'''. For correct operation of the reader will have to deinstalrate or if it can not be done without removing and pcscd, forbid him to run.
<!--
 
You can check whether pcscd working with the command {{Шаблон:Console|ps ax &#124; grep pcscd &#124; grep -v "grep pcscd"}}, released from the terminal. Should display something like this: {{Шаблон:ConsoleOutput|3446 ?        Ssl    0:01 /usr/sbin/pcscd}}
If it shows nothing, so the demon does not work.
-->


=== Types of readers ===
=== Types of readers ===
Ред 74: Ред 73:
For this readers lsusb the result is:<pre>ID 072f:90cc Advanced Card Systems, Ltd ACR38 SmartCard Reader</pre>
For this readers lsusb the result is:<pre>ID 072f:90cc Advanced Card Systems, Ltd ACR38 SmartCard Reader</pre>


== Installing the drivers for the smart card ==
== Installing smart card drivers ==
 
[[Image:WarningYellow.png|32px]] According to what is the model of your card, you have to use different software. If the model of the card is „'''T&S DS/2048 (L)'''“, you have to install '''bit4id-ipki''' from folder  Install/Linux on CD or from [[Use repositories of InfoNotary | our repository]]. If the model is „'''CardOS V4.3B (C)'''“, you will have to install OpenSC.
 
To check smart card model you can use pcsc_scan. This program shows what reader and cards are plugged. In Debian and Ubuntu it is contained in package '''pcsc-tools'''. If it shows '''Siemens CardOS V4.3B''', you must use OpenSC. If it says '''Universita' Degli Studi di Torino (Infocert)''', you must use bit4id-ipki.


[[Image:warning.jpg|32px]] According to what is the model of your card, you have to use different software. If the model of the card is „'''T&S DS/2048 (L)'''“, you have to install '''bit4id-ipki''' from folder  Install/Linux on CD or from [[Use repositories of InfoNotary | our repository]]. If the model is „'''CardOS V4.3B (C)'''“, you will have to install OpenSC.
[[Image:WarningYellow.png|32px]] OpenSC 0.16 and later versions expect reader driver to provide information for hardware capabilities contrary to the PC / SC standard. If you are using OpenSC with OmniKey reader you must set maximum message size manually in configuration file. In section reader_driver pcsc you must uncomment max_send_size and max_recv_size and set bot variables to at least 300 bytes:


In order to define your smart card model:
    reader_driver pcsc {
        max_send_size = 1024;
        max_recv_size = 1024;


* Through pcsc_scan. This program shows what reader and cards are plugged. In Debian and Ubuntu she is contained in package '''pcsc-tools'''. If it shows '''Siemens CardOS V4.3B''', you must use OpenSC. If it says '''Universita' Degli Studi di Torino (Infocert)''', you must use bit4id-ipki.
More information is available in [https://github.com/OpenSC/OpenSC/issues/802 OpenSC issue] and relevant part of [http://pcscworkgroup.com/Download/Specifications/pcsc10_v2.02.09.pdf PC/SC specification].


== Installation test ==
== Installation check ==


If you have problem using your certificate, you can run the following program to identify it:
If you have problem using your certificate, you can run the following program to identify it:
Ред 92: Ред 97:
Reader and card should be connected to the computer when test program is started.
Reader and card should be connected to the computer when test program is started.


This program uses one of following packages to show its user interface - python-tk for Debian/Ubuntu, tkinter for Fedora/RedHat or zenity. If you do not have any of them installed, it will still work, but only from terminal.
This program uses one of following packages to show its user interface - python-tk for Debian/Ubuntu, tkinter for Fedora/RedHat or zenity. If you do not have any of them installed, it will still work, but only from terminal.-->

Текуща версия към 10:25, 22 юни 2022

This page is not available!