13.11.2014 Views

Smartcard quickstarter guide Why use smartcards? - GOOZE ...

Smartcard quickstarter guide Why use smartcards? - GOOZE ...

Smartcard quickstarter guide Why use smartcards? - GOOZE ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Smartcard</strong> <strong>quickstarter</strong> <strong>guide</strong><br />

Manual startup<br />

OpenSC startup is controlled by securityd daemon:<br />

$ securityd -h<br />

securityd: illegal option -- h<br />

Usage: securityd [-dwX]<br />

[-a authConfigFile] Authorization configuration file<br />

[-c tokencache] smartcard token cache directory<br />

[-e equivDatabase] path to code equivalence database<br />

[-N serviceName] MACH service name<br />

[-s off|on|conservative|aggressive] smartcard operation level<br />

[-t maxthreads] [-T threadTimeout] server thread control<br />

To start in manual mode, securityd daemon needs to be started with smarcard operation level "off":<br />

Edit the following file :<br />

/System/Library/LaunchDaemons/com.apple.securityd.plist<br />

And add the two last lines:<br />

<br />

/usr/sbin/securityd<br />

-i<br />

-s<br />

off<br />

To manually start pcscd daemon, type:<br />

$ sudo /usr/sbin/pcscd --foreground --debug<br />

Warning: typing "sudo pcscd --foreground --debug" under 32 bit architecture will not work. Make sure to type "sudo<br />

/usr/sbin/pcscd --foreground --debug".<br />

Source<br />

Many thanks to Ludovic Rousseau for pointing out these issues:<br />

Source: http://ludovicrousseau.blogspot.fr/2011/07/pcscd-debug-output-on-mac-os-... [28]<br />

Windows installation<br />

This section covers the following topics:<br />

Installation OpenSC for Windows.<br />

Installation of Feitian CSP drivers and tools.<br />

Low level initialization.<br />

WARNING: OpenSC and Feitian CSP drivers are incompatible with each other.<br />

If you install OpenSC, you will not be able to <strong>use</strong> Feitian tools and vice-versa.<br />

Copyright <strong>GOOZE</strong> 2010-2011 http://www.gooze.eu 16 / 63

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!