Smartcard quickstarter guide Why use smartcards? - GOOZE ...
Smartcard quickstarter guide Why use smartcards? - GOOZE ...
Smartcard quickstarter guide Why use smartcards? - GOOZE ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Smartcard</strong> <strong>quickstarter</strong> <strong>guide</strong><br />
$ make<br />
$ make install<br />
Restart pcscd daemon for changes to take effect:<br />
$ /etc/init.d/pcscd restart<br />
libp11 installation under GNU/Linux<br />
Libp11 [17] is a library on top of PKCS#11 API. It allows to <strong>use</strong> OpenSSL and other tools with <strong>smartcards</strong>. It will make your life<br />
easier when using <strong>smartcards</strong>.<br />
Installation from binaries<br />
$ apt-get install libp11-2 libengine-pkcs11-openssl<br />
Installation from source<br />
Download libp11 source code:<br />
http://www.opensc-project.org/files/libp11 [18]<br />
$ tar xfvz libp11.tar.gz<br />
$ cd libp11<br />
$ ./configure --prefix=/usr<br />
$ make<br />
$ make install<br />
Using the library is explained later in the <strong>guide</strong>.<br />
libmtp disconnection bug<br />
libmtp is a library <strong>use</strong>d to communicate with MTP (Media Transfer Protocol) devices.<br />
libmtp triggers from udev upon insertion of a USB device.<br />
The problem<br />
Some <strong>use</strong>rs reported that libmtp might interfere with OpenSC and disconnect the smartcard reader or the USB token. The utility<br />
mtp-probe would be responsible.<br />
This bug seems to affect all smartcard readers and USB tokens under GNU/Linux.<br />
The solution<br />
Until this bug is fixed, please remove mtp-probe.<br />
Under Debian GNU/Linux:<br />
$ apt-get remove libmtp-runtime<br />
Removing mtp-probe fixed this issue completely.<br />
Copyright <strong>GOOZE</strong> 2010-2011 http://www.gooze.eu 8 / 63