Difference between revisions of "Smartcard bankId eId"

Line 63: Line 63:
 
apt-get install -f
 
apt-get install -f
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
 +
 +
=BankId (community client)=
 +
 +
The official Linux BankId support is terrible! ... That the least we can say!...
 +
 +
Fortunately there is a community client available on '''http://www.fribid.se/'''
 +
 +
 +
==Automatic installation==
 +
 +
Add the new BankId repository:
 +
 +
<syntaxhighlight lang="bash">
 +
# Edit repositories list
 +
sudo vim /etc/apt/sources.list
 +
 +
# Add the new repository
 +
deb http://ppa.launchpad.net/samuellb/fribid/ubuntu trusty main
 +
 +
# Add repository key
 +
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C4A5A0B6
 +
 +
# update list of packages
 +
sudo apt-get update
 +
</syntaxhighlight>
 +
 +
 +
Install the client
 +
 +
<syntaxhighlight lang="bash">
 +
sudo apt-get install fribid
 +
</syntaxhighlight>
 +
 +
 +
 +
 +
==Manual installation==
 +
 +
 +
 +
  
  
Line 124: Line 167:
  
 
=Sources=
 
=Sources=
 +
 +
BankId Linux community:
 +
* http://www.fribid.se/  :-) Big thanks to them!
 +
 +
 +
* Excellent and complete forum thread: https://forums.mageia.org/en/viewtopic.php?f=41&t=4384
 +
  
 
Useful articles:
 
Useful articles:

Revision as of 09:49, 7 May 2015


BankId is the Swedish identification system. That's very powerful! :)

However BankId is not Linux friendly at all...


Linux drivers

Generic USB

First of all, some BankId card readers are not detected automatically...

To resolve that issue you should install libUSB:

apt-get install libusb-dev libusb++-dev


Generic smart-card readers

For BankId to work you need both PCSC and OpenSC drivers.

# PCSC driver
apt-get install pcscd
apt-get install libpcsclite1 libpcsclite-dev 
apt-get install libpcsc-perl pcsc-tools

# OpenSC driver
apt-get install pcscd opensc

# Security libraries
apt-get install libp11-dev pkcs11-data



Handelsbanken drivers

Get drivers

You need to download the Handelsbanken card reader drivers:


Installation

Install the drivers:

# 64 bits
dpkg -i SHB_Deb_1.0.2_64bit.deb
apt-get install -f


BankId (community client)

The official Linux BankId support is terrible! ... That the least we can say!...

Fortunately there is a community client available on http://www.fribid.se/


Automatic installation

Add the new BankId repository:

# Edit repositories list
sudo vim /etc/apt/sources.list

# Add the new repository
deb http://ppa.launchpad.net/samuellb/fribid/ubuntu trusty main

# Add repository key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C4A5A0B6

# update list of packages
sudo apt-get update


Install the client

sudo apt-get install fribid



Manual installation

BankId setup

!! Officially BankId is not supported on Linux anymore since 2015-01-01 !!

Following instructions are using a legacy client!


Get BankId package

Get the official Linux installation package: https://install.bankid.com/Download/All


Alternative: Download a copy from 2015-05-07: http://daxiongmao.eu/wiki_upload_files/drivers/BISP-4.19.1.11663.tar.gz


Installation

Requirements


Since BankId client hasn't been updated for a long time, you need to install old GTK packages.

apt-get install overlay-scrollbar-gtk2 unity-gtk2-module
apt-get install gtk2-engines-murrine:i386 libidn11:i386


BankId setup

mkdir BankId
mv BISP-4.19.1.11663.tar.gz BankId/
cd BankId
tar xzvf BISP-4.19.1.11663.tar.gz
cd BISP-4.19.1.11663

sudo ./install.4.XXXXX.sh i




Installation is now complete! You must reboot your computer



BankId usage

  • BankId shortcut is available in: /usr/share/applications/personal.desktop
  • BankId application is available at: /usr/local/bin/personal


Sources

BankId Linux community:



Useful articles: