Install.pm
checks the distribution against /etc/issue
. It will fail if it is not suse
, enterprise
, or fedora
. That is a feature since you don't want to run the installer anyway.pcsc_scan
and etckdump
do not see the token.cardos-info
$ cardos-info Info : CardOS V4.2B (C) Siemens AG 1994-2005 Chip type: 124 Serial number: 26 04 f6 0f 12 1d Full prom dump: 33 66 00 22 9A 9A 9A 9A 7C FF 26 04 F6 0F 12 1D 3f."....|.&..... 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ................ OS Version: 200.9 (unknown Version) Current life cycle: 32 (administration) Security Status of current DF: Free memory : 1024 ATR Status: 0x0 ROM-ATR Packages installed: Ram size: 4, Eeprom size: 64, cpu type: 66, chip config: 63 Free eeprom memory: 37007 System keys: PackageLoadKey (version 0xfe, retries 10) System keys: StartKey (version 0xff, retries 10) Path to current DF: |
mozilla-firefox-2.0.0.4-1mdv2007.1
. After that, insertion and removal worked fine.pcsc_scan
) (optional, but recommended)/etc/reader.conf
/etc/init.d/pcscd
, if it existsThe Aladdin install script petoken
requires some modification to work on unsupported Linux systems. It also has a few quirks where if it fails you have to manually cleanup before running again. Here's how to do it manually. The following install also uses opt_depot
. Adjust file paths as required for your system.
The following commands are used in the distribution directory.
mv /etc/init.d/pcscd /etc/init.d/pcscd.backup
cp -p pcscd.startup.script /etc/init.d/pcscd
mkdir -p /usr/local/depot/etoken-3.60.19/lib
cp aksifdh.so.3-60.19 /usr/local/depot/etoken-3.60.19/lib/
pushd /usr/local/depot/etoken-3.60.19/lib; ln -s aksifdh.so.3-60.19 aksifdh.so; popd
mkdir -p /usr/local/depot/etoken-3.60.19/sbin
cp -p etokend /usr/local/depot/etoken-3.60.19/sbin
cp -p etokend.startup.script /etc/init.d/etokend
mkdir -p /etc/hotplug.d/usb; cp -p etoken /etc/hotplug.d/usb/etoken.hotplug
cp -p libetokendll.so.3-60.19 /usr/local/depot/etoken-3.60.19/lib/
pushd /usr/local/depot/etoken-3.60.19/lib; ln -s libetokendll.so.3-60.19 libetokendll.so; popd
cp -p libetpkcs11.so.3-60.19 /usr/local/depot/etoken-3.60.19/lib/
pushd /usr/local/depot/etoken-3.60.19/lib; ln -s libetpkcs11.so.3-60.19 libetpkcs11.so; popd
cp -p etsrvd /usr/local/depot/etoken-3.60.19/sbin/
cp -p etsrvd.startup.script /etc/init.d/etsrvd
/usr/lib/libpcsclite.so.0
mkdir -p /usr/local/depot/etoken-3.60.19/bin
cp -p etckdump /usr/local/depot/etoken-3.60.19/bin
cp -p etckinit /usr/local/depot/etoken-3.60.19/bin
/etc/ld.so.conf
contains /usr/local/lib
.etokend
/var/tmp/.etokend
socket should exist./proc/bus/usb
.select()
on /var/tmp/.etokend
clone()
itself when a token is added and opens /proc/bus/usb/<dev>
.pcscd
etsrvd
/var/tmp/.etsrvd
should exist./var/run/pcscd.pub
. (Use lsof
.)/etc/hotplug.d/usb/etoken.hotplug
DEVICE
and ACTION
to be set./var/tmp/.etokend
add
or remove
token and the DEVICE
environment variable.
Sep 25 15:48:50 analon pcscd: readerfactory.c:1093:RFInitializeReader() Attempting startup of AKS ifdh 00 00 using /usr/local/lib/aksifdh.so |
etoken.hotplug
takes care of things when a token is inserted.AKS ifdh
Sep 25 15:52:50 analon kernel: usb 4-2: new low speed USB device using uhci_hcd and address 9 |
etoken.hotplug
are a mod by Phil. You may not see them.
/usr/local/sbin/etsrvd: error while loading shared libraries: libpcsclite.so.0: cannot open shared object file: No such file or directory |
etckdump
$ etckdump --slot=0 |
$ etckdump --slot=0 --pin=XXXXXXXXXX |
analon:/etc/dynamic/user-scripts (2) Object #0: CKA_MODULUS_BITS size:4, 00 04 00 00 .... CKA_PUBLIC_EXPONENT size:3, 01 00 01 ... |
|