Install SafeNet eToken PRO on Ubuntu 16.04 LTS

Since I run Ubuntu on my workstation at work I need a working eToken, so every time I upgrade (follow LTS releases) I have to make sure the eToken works. Because some have reported the installation steps I have described for 14.04 are not working for 16.04 I have decided to update the steps for the latest LTS.

Download the new client software at:
http://www.proteq.com.br/download/sac/sac9.1_linux.zip

Unpack the source:

$ unzip sac9.1_linux.zip

Prepare the install:

$ mkdir temp ; sudo mount -o loop SAC_9_1_Linux.iso ./temp

Install:

$ dpkg -i temp/Installation/Standard/DEB/SafenetAuthenticationClient-9.1.7-0_amd64.deb

Done.

Install SafeNet eToken PRO on Ubuntu 14.04 LTS

Some time ago I wrote an installation guide on how to install the Aladdin eToken on Ubuntu 12.04 LTS. This information is somewhat outdated as most of us are using a more recent version of Ubuntu today. I still use the eToken at work on a Ubuntu 14.04 system, but for the software to work I ended up with a 32-bit installation.

With the help of Ionut D’s comment I managed to install the SafeNet eToken software on a 64-bit Ubuntu 14.04 system. I have documented the needed steps below.

$ sudo apt-get install pcscd libccid libqt4-core libqt4-gui hal-info

Download and install libhal1:
http://packages.ubuntu.com/uk/precise/amd64/libhal1/download

$ sudo dpkg -i libhal1_0.5.14-8_amd64.deb

Download and install libhal-storage1:
http://packages.ubuntu.com/uk/precise/amd64/libhal-storage1/download

$ sudo dpkg -i libhal-storage1_0.5.14-8_amd64.deb

Download, unzip and install SafenetAuthenticationClient-8.3:
http://www.proteq.com.br/download/sac/sac8.3_linux.zip

$ sudo dpkg -i SAC\ 8.3\ Linux/Installation/Standard/DEB/SafenetAuthenticationClient-8.3.34-0_amd64.deb

The installation of the software ran without any errors. Next thing is to insert your eToken and enter ‘safe’ in Dash to open the client gui and verify your eToken device is recognized.

safenet-software-in-dash

Install Aladdin eToken on Ubuntu 12.04 LTS

Today I did a new install on my workstation at work going from Ubuntu 10.04 LTS to Ubuntu 12.04 LTS. I am using a Aladdin eToken which comes with proprietary software. Because the previous version of the software was outdated and the documentation stated not to work on newer kernels I needed to install the latest SafeNet Client Authentication package to support this eToken.

Install dependencies:

$ sudo apt-get install pcscd libccid libhal1 opensc

Install the eToken software:

$ sudo dpkg -i SafenetAuthenticationClient-8.1.0-4_i386.deb
Selecting previously unselected package safenetauthenticationclient.
(Reading database ... 143516 files and directories currently installed.)
Unpacking safenetauthenticationclient (from SafenetAuthenticationClient-8.1.0-4_i386.deb) ...
Setting up safenetauthenticationclient (8.1.0-4) ...
Adding Token security provider....done
Please reboot to run Token PKI service.
SafeNet Authentication Client installation completed.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

Because ‘/etc/ld.so.conf.d/wwwwetoken-ld.conf’ was empty the PKIMonitor program in the Ubuntu startup applications did not start at boot. I needed to add ‘/usr/lib/eToken’ to it.

The new startup method for pcscd did not work for me. It is described on this page of the author. I commented out the exit 0 in ‘/etc/init.d/pcscd’ on line 43.