OpenSC Installer for Mac OS X
Table of Contents
NB! The following is work in progress! Last updated on 14.09.2010 (based on r4719).
Scope
The goal of OpenSC installer is to integrate with the platform as closely as possible and to provide support for PKCS#11 and native CDSA/Keychain applications on Mac OS X 10.5 and newer. OpenSC installs itself to the default /Library/OpenSC folder, symlinks to command line utilities are created into /usr/local/bin. There are no GUI applications but compatible personalized smart cards (see CardPersonalization) show up in /Applications/Utilities/Keychain Access.app (because of OpenSC.tokend, installed to /System/Library/Security/tokend/OpenSC.tokend).
Mac OS X 10.6 (Snow Leopard)
The package is built for i386 and x86_64 and contains:
- OpenSC 0.12.0 tree
- OpenSC.tokend 0.12.0 tree
System OpenSSL (0.9.8l) is used.
Mac OS X 10.5 (Leopard)
The package is built for i386 and ppc7400 and contains:
- OpenSC 0.12.0 tree
- OpenSC.tokend 0.12.0 tree
System OpenSSL (0.9.7l) is used. NB! This version of OpenSSL does not support dynamic loading (DSO_DLFCN), so it is not possible to use it with engine_pkcs11!
How to uninstall ?
Run in Terminal.app:
sudo /usr/local/bin/opensc-uninstall
Known issues
- No good documentation
- Websites with re-negotiation are known to cause troubles in Safari
- On 10.5 engine_pkcs11 can not be used because of the old OpenSSL
- opensc.conf handling needs improvement
Building the installer
Building requires OS X10.6.4 with Developer Tools (Xcode 3.2.3) installed. Requires fink or macports with docbook-xsl, xsltproc, autoconf, automake and libtool2:
fink install docbook-xsl libxslt-bin autoconf2.6 automake1.11 libtool2
Then fetch the "official git mirror of OpenSC" (you can also use SVN but dependancies like OpenSC.tokend are anyway fetched from github):
git clone git://github.com/martinpaljak/OpenSC.git cd OpenSC ./MacOSX/build # Builds 10.6 installer ./MacOSX/build 10.5 # Builds 10.5 installer
Example:
$ time ./MacOSX/build 10.5 # build output removed created: /Users/martin/buildtest/OpenSC/OpenSC-10.5.dmg real 4m31.994s user 1m51.501s sys 0m38.020s $ time ./MacOSX/build # build output removed ..................................... created: /Users/martin/buildtest/OpenSC/OpenSC-10.6.dmg real 2m21.883s user 2m18.951s sys 0m41.993s
Old versions
The previous (now deprecated) Mac OS X distribution SCA is also still available.
Attachments
-
OpenSC_Installer_screenshot.png
(178.8 KB) - added by martin
3 months ago.
