Here's an updated post: http://verahill.blogspot.com.au/2013/02/341-upgradinginstalling-bankid-on-64.html -- see that one instead, in particularly if you're upgrading.
Note that you may have to compile your own nspluginwrapper:
and you will need to enable multiarch to install ia32-libs:
sudo dpkg --add-architecture i386 sudo apt-get update
Swedish banks and government institutions use bankid/nexus personal for electronic id verification. Sadly, it's a horrible solution -- it seems to be closed source, the bankid website is a POS which prevents me from downloading the 64 bit version claiming that it's not supported (I've used it for a few years now, so it's clearly bunkum).
Note that there's a FOSS alternative in Fribid (http://verahill.blogspot.se/2012/02/debian-testing-wheezy-64-fribid-as.html) which seems to be working perfectly -- and if you can use it, use it. The main limitation is that in practice you'll have to collect your certificate/ID with it, since newer versions of BankID saves the ID in an incompatible format. Like many foreigners, I don't have the opportunity to visit Sweden for the sole sake of picking up a new ID, so I'm stuck with BankID. But you may not be.
* A Swedish how-to is available here: http://ubuntu-se.org/wiki/NexusPersonal#Installation_p.C3.A5_64-bitarssystem
* Another, more recent how-to is here: http://popqvarnstrom.blogspot.com.au/2011/06/bankid-nexus-personal-on-ubuntu-1104-64.html
Note: I have never 'exported' my ID, but have always copied the ~/.personal directory between computers. The problem with exporting is that you are only allowed to do it once. The problem with Nexus allowing your to copy the file itself is that anyone with physical access to your computer can copy the key.
--START HERE --
Here's a summary of how to get it working on debian testing wheezy:
In theory you should install nexus personal from here:
I've got v 184.108.40.206 installed on a 64 bit system. The message on this page is a load of bollocks:
Whatever -- the good guys over at Arch supply a link:
EDIT: you can use this generic url instead https://install.bankid.com/Download?defaultFileId=Linux
tar -xvf BISP-220.127.116.1151.tar.gz
sudo sh install.18.104.22.16851.sh i
Installing BankID Security Application
ln: failed to create symbolic link `/usr/lib/firefox-addons/plugins': No such file or directory
WARNING: Failed installing plugin for Firefox 3. Manually add symlink to libplugins.so in your Firefox 3 plugin directory if this browser is to be used.
Since the plugin is 32 bit, you need to link it with nspluginwrapper, and you need 32 bit libs, so
sudo apt-get install nspluginwrapper ia32-libs
Also, as far as I can tell, you need iceweasel/firefox. Chrome/ium won't work.
sudo nspluginwrapper -i /usr/local/lib/personal/libplugins.so
Check to see if it's installed:
/usr/lib/mozilla/plugins/npwrapper.libplugins.soAnd visit the following page to make sure
Original plugin: /usr/local/lib/personal/libplugins.so
Plugin viewer: /usr/lib/nspluginwrapper/i386/linux/npviewer
Wrapper version string: 1.3.0
Or your bank.
Your key -- on a computer where you've used bankid before -- will be in ~/.personal -- don't bother trying to import or export it using the bankid/nexus personal programme (http://popqvarnstrom.blogspot.com.au/2011/06/bankid-nexus-personal-on-ubuntu-1104-64.html) since you're apparently only allowed to do that a certain number of times.
If you just plain copy the files, however, you can do it as many times as you want. I told you the programme is a POS. Anyway,
| |-- config
| | `-- Personal.cfg
| `-- store
| `-- Personal.cfg
Nexus Personal/BankID is installed in /usr/local/lib/personal/
Links to this page: