Tuesday, October 22, 2013

BankID with card reader on Ubuntu 13.10 64-bit

I made a guide for this for Ubuntu 13.04, but after installing it for Ubuntu 13.10, I found there were some differences (and difficulties for that matter), so I thought I'd write one for 13.10 as well.

The main difference is that ia32-libs is no longer available, which makes it much harder to figure out dependancies.

There is a lot of good information on the Ubuntu wiki for Nexus Personal, but since it tries to encompass everything, I find it a little difficult to follow. It's a good resource for debugging though.

The card reader that I have is a Digipass 920, so if you are using something else, you may need to change out the driver for the one appropriate for you device.

Do keep in mind that the BankID application will not be automatically updated. If you need to update to a new version you'll have to download and install it again as described below.
  • Get the BankID application from https://install.bankid.com/Download?defaultFileId=Linux (the website blocks 64-bit Linux from the "regular" download procedure, so if you're downloading from that you need to use this direct link)
  • Unzip the application
  • Open a terminal and go to the directory that you unzipped the application to, and type in the following command (Please note that the version number will change):
    • sudo ./install. i
  • Install the needed packages (pcscd:i386 is the driver, in case you need a different one)
    • sudo apt-get install nspluginwrapper pcscd:i386 pkcs11-data:i386 libstdc++6:i386 libidn11:i386
    • There will be quite a few dependancies (mostly for nspluginwrapper), just accept them
  • Go back to the terminal and give the following command:
    • sudo nspluginwrapper -i /usr/local/lib/personal/libplugins.so
  • Start/restart Firefox, go to Tools -> Addons and check that you can see Nexus Personal under Plugins
  • Give it a try, it should now work

Update: Confirmed to work also on Linux Mint 17, i.e. it should also work on Ubuntu 14.04.


  1. Thanks for the guide, works like a charm!

  2. This worked well. Thanks a lot!

  3. Worked almost perfectly! A fact worth mentioning in the end is that it might be a good idea to install a user agent spoofer like "User Agent Switcher" addon in order to trick a web site that you are on a 32-bit linux system. Otherwise you will not be able to proceed to authentication. At least that was the case for me.

  4. Interesting idea to use a user agent spoofer. I haven't found that I need it though. The only site that I know actually checks if you system is 32- or 64-bits is BandID's own, when you run the "test". I guess there might be some sites that check, which I don't use, in which case that would be a solution.

    So thanks, I'll remember this if I ever find I need it.

  5. BankID is removing support for linux in the next version so bank-id is going to be microsoft land

  6. Thanks, I had it installed and running but it wasn't being picked up by my browser, didn't know I had to use nspluginwrapper. Thanks a million!

  7. No easy thing for a linux nube. Thanks a million. Got it going. Andreas