Linux should work fine, and is tested all the time. Serial support needs nothing special (only the serial driver for your serial device), but usb support on linux has a few requirements:
usbfs /proc/bus/usb usbfs defaults 0 0
(replace "usbfs" with "usbdevfs" for linux kernel 2.4.* - will work on kernel 2.6.* too)
configure && gmake && gmake install should do what you need. Create /var/run/openct and run openct-control init.
Currently the BSD code was only written for FreeBSD, so you need to set symlinks to your ugen*.00 devices:
cd /dev ln -s ugen0.00 ugen0 ln -s ugen1.00 ugen1
Also edit openct.conf and disable hotplug, as you can't poll ugen devices on OpenBSD to find out whether or not a device was unplugged.
Also recompile your kernel with UGEN_DEBUG'ing.
Erase and key generation works so far, but openssl does not: the openssl shell exits after the engine load command for some unknown reason. Note you need to specify the engine shared object file as *.so.0.0 (on linux it is simply *.so).
Also OpenBSC has a hotplugd, but so far it does not support usb devices. So you need to run
openct-control shutdown openct-control init
every time you add or remove a usb crypto token.
OpenBSD has bash in /usr/local/bin, the OpenSC regression tests search for it in /bin/bash, you can solve this with a symlink.
Now OpenBSD Current (2005-07-20) passes all OpenSC regression tests with an Aladdin eToken PRO.
Other tokens however did not work, these problems need to be investigated, as well as how to get it to work without UGEN_DEBUG.
OpenCT should work, but this wasn't tested for sometime. Latest OpenCT seems to not find libusb, we are working on it.
Latest OpenCT supports Solaris fine and was tested to work.
Sunray including client/server architecture was recently added to OpenCT and 0.6.5 once release should work fine. Till then please use a snapshot or svn trunk checkout.
Some Linux Distributions already include OpenCT and thus you can simply install the packages included with the distribution. Here is an overview:
For GNU/Linux users the best solution is, if the distribution already includes recent packages of OpenSC. Here is a survey of recent distributions. If you have additional infomation, please add it.
Debian woody (old stable) | does not contain OpenCT packages |
Debian sarge (stable) | OpenCT 0.6.4 included |
Debian sid (development) | OpenCT 0.6-5 included |
Fedora Core 3 | OpenCT 0.6.5 included |
Fedora Core 4 | OpenCT 0.6.5 included |
Gentoo Portage | OpenCT 0.6.5 in dev-libs/openct |
Mandrake | OpenCT 0.1.0 in contrib |
Novell/SUSE LINUX Enterprise Server 9 for x86 | OpenCT 0.1.0 included |
OpenPKG | not included |
Rock Linux | OpenCT 0.6.2 included |
OpenSuse? 10.0 Beta 1 | OpenCT 0.6.5 included |
Suse 9.3 | OpenCT 0.6.2 included |
Suse 9.2 | OpenCT 0.5.0 included |
Suse 9.1 | OpenCT 0.1.0 included |
ATrpms lists some RPM based distributions.
Other operating systems:
NetBSD | not included |
FreeBSD | part of port collection |
OpenBSD | not included |
fink / Mac OS X | not included |