📜 ⬆️ ⬇️

HowTo: Internet banking for legal entities using Aladdin eToken in Linux (Ubuntu)

UPD: Updated for Ubuntu 13.10 x64 SafenetAuthenticationClient client itself will have to ask Aladdin for technical support.

It so happened that I decided to organize myself as an independent developer and opened the PI. For a long time I was in trouble with choosing a bank for a current account, since I needed something as platform-independent as possible — I didn’t want to wind up Windows only for Internet banking, while going to a bank branch, of course, wasn’t considered in principle, and that’s more expensive. As a result, I stopped at PromSvyazBank, in the hope that they can get the encryption keys as files / on a regular flash drive, and not on eToken'e (it happens in Omsk). I even honestly tried to ring round the banks, on which I stopped and find out on which media the keys are given out from them, but the day was wasted — I could not get to the sane specialist in any bank. As a result, the key creation service in the selected bank turned out to be rather dreary. When generating keys, I tried to choose a flash drive as the carrier, rather than an eToken, but later I found out that in this bank the “main” signature can only be on eToken and for reports you can generate keys on a flash drive. In general, further guidance on how to use Internet banking with eToken under Ubuntu 12.04 x64 .

The manual actually repeats this with the exception of library versions and the fact that now everything is in the x64 version.

If your Internet bank uses a Java client (like mine), then I recommend tearing down all the free JVM options and installing the original version from Oracle . How to do this can be found here .
')
To begin, create a working folder, go to it and execute the points:

1. Preparation.

sudo apt-get install ia32-libs libhal1 opensc pcscd wget http://archive.ubuntu.com/ubuntu/pool/main/p/pcsc-lite/libpcsclite1_1.8.6-3ubuntu1b1_amd64.deb wget http://archive.ubuntu.com/ubuntu/pool/main/h/hal/libhal1_0.5.14-0ubuntu6_amd64.deb dpkg -x libpcsclite1_1.8.3-3ubuntu1_amd64.deb libpcsclite1-amd64 dpkg -x libhal1_0.5.14-0ubuntu6_amd64.deb libhal1-amd64 sudo cp libpcsclite1-amd64/lib/x86_64-linux-gnu/libpcsclite.so.1.0.0 /lib64/ sudo ln -s /lib64/libpcsclite.so.1.0.0 /lib64/libpcsclite.so.1 sudo mkdir /usr/lib64 sudo cp libhal1-amd64/usr/lib/libhal.so.1.0.0 /usr/lib64/ sudo ln -s /usr/lib64/libhal.so.1.0.0 /usr/lib64/libhal.so.1 sudo ln -s /usr/lib64/libhal.so.1 /usr/lib/ 


If later you still have problems installing SafenetAuthenticationClient - install the 32bit versions of the libraries:

 wget archive.ubuntu.com/ubuntu/pool/main/p/pcsc-lite/libpcsclite1_1.8.6-3ubuntu1b1_i386.deb wget archive.ubuntu.com/ubuntu/pool/main/h/hal/libhal1_0.5.14-0ubuntu6_i386.deb dpkg -x libpcsclite1_1.7.2-2ubuntu2_i386.deb libpcsclite1-i386 dpkg -x libhal1_0.5.14-0ubuntu6_i386.deb libhal1-i386 sudo cp libpcsclite1-i386/lib/i386-linux-gnu/libpcsclite.so.1.0.0 /lib32 sudo ln -s /lib32/libpcsclite.so.1.0.0 /lib32/libpcsclite.so.1 sudo cp libhal1-i386/usr/lib/libhal.so.1.0.0 /usr/lib32 sudo ln -s /usr/lib32/libhal.so.1.0.0 /usr/lib32/libhal.so.1 

thanks agel .

Alfa-Bank customers should also read this comment , thanks xmm !

2. Installing the service (driver).

Here, the first thing we swing client. The link is almost secret, because You can download a client only by losing tech support, but who needs it?

 wget http://www.secdiary.com/packages/pool/main/SafenetAuthenticationClient-8.0.5-0_amd64.deb sudo dpkg -i SafenetAuthenticationClient-8.0.5-0_amd64.deb sudo ln -s /usr/lib64/libeTPkcs11.so /usr/lib/ 

All is ready. You can check the work by inserting the dongle into USB (through the usb hub it worked for me already at this stage) and executing the command:

 pkcs11-tool --module /usr/lib64/libeTPkcs11.so -L 

The key must be listed. After I restarted the system, because when installing this asked the client.

Have a good job!

Source: https://habr.com/ru/post/145713/


All Articles