Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Aladdin SafeNet eToken 5100 driver instalation [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
jacques20081971
n00b
n00b


Joined: 10 Sep 2021
Posts: 3

PostPosted: Wed Mar 12, 2025 11:47 am    Post subject: Aladdin SafeNet eToken 5100 driver instalation [solved] Reply with quote

This is a guide for install Aladdin 5100 USB token on Gentoo. Aladdin 5100 is an USB A3 token popula in Brazil. OpenSC can acces the hardware but not the certificate, which demmands Aladdin's proprietary library (libeTPkcs11.so) to be open. Safnet provide .deb .rpm packages for the driver, but as far as I know, no ebuilds. So, here is a way to make things go on Gentoo...

1) emerge dev-libs/opensc
2) emerge sys-apps/usbutils
3) Download SafeNetAuthenticationClient-9.1_Linux_Ubuntu-RedHat(32-64bits).zip. This is the hard part, once 5100 Aladdin is an old token and the new drivers doesn't work with it.
4) unzip SafeNetAuthenticationClient-9.1_Linux_Ubuntu-RedHat(32-64bits).zip.
5) ar x SafenetAuthenticationClient-BR-10.0.37-0_i386.deb
6) tar -xvf data.tar.xz
7) cd ./lib
8) ls

Quote:
libcardosTokenEngine.so.10 libeToken.so.10 libetvTokenEngine.so.10.0.37 libIDPrimeTokenEngine.so.10.0.37 libSACLog.so.10.0.37 udev
libcardosTokenEngine.so.10.0.37 libeToken.so.10.0 libIDPrimePKCS11.so.10 libiKeyTokenEngine.so.10 libSACUI.so.10
libeTokenHID.so.10 libeToken.so.10.0.37 libIDPrimePKCS11.so.10.0.37 libiKeyTokenEngine.so.10.0.37 libSACUI.so.10.0
libeTokenHID.so.10.0.37 libetvTokenEngine.so.10 libIDPrimeTokenEngine.so.10 libSACLog.so.10 libSACUI.so.10.0.37


9) cp libeToken.so.10.0.37 libSACUI.so.10.0.37 /lib
10) cd /lib
11) ln -s libeToken.so.10.0.37 libeToken.so
12) ln -s libeToken.so.10.0.37 libeToken.so.10
13) ln -s libSACUI.so.10.0.37 libSACUI.so
14) ln -s libSACUI.so.10.0.37 libSACUI.so.10
15) cd /usr/lib64
16) ln -s /lib/libeToken.so.10.0.37 libeToken.so
17) ln -s /lib/libeToken.so.10.0.37 libeToken.so.10
18) ln -s /lib/libeToken.so.10.0.37 libeTPkcs11.so
19) env-update && source /etc/profile
20) rc-update add pcscd default
21) /etc/init.d/pcscd start
22) Insert USB Aladin token
23) lsusb

Bus 001 Device 007: ID 0529:0620 Aladdin Knowledge Systems Token JC

24) opensc-tool -n

Quote:
Using reader with a card: SafeNet eToken 5100 [Main Interface] 00 00
Unsupported card


25) pkcs11-tool --module /usr/lib64/libeTPkcs11.so -O

Quote:
Using slot 0 with a present token (0x0)
Public Key Object; RSA 2048 bits
label:
Usage: encrypt, verify, verifyRecover, wrap
Access: local
...

9) Now, just configure firefox
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23184

PostPosted: Wed Mar 12, 2025 1:33 pm    Post subject: Reply with quote

Moved to Unsupported Software, for multiple reasons:
  • It involves software not packaged as an ebuild
  • It instructs the user to write files into a system-wide directory outside of Portage's control
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum