Howto: Installing BankID for Firefox 5.0 on Linux Mandriva 2011.0 64bit

  1. Download the latest BankId version for Linux Ubuntu from BankID and save it for example to your home directory. This one we will use for Mandriva 2011.0 64bit installation
  2. Unpack it:
    [josif@localhost ~]$ tar -xvf BISP-4.18.1.10899.tar.gz
  3. Cd into the created directory (note that another directory name “lang” has been created outside too, but that is ok) and run install script as root:
    [josif@localhost ~]$ cd BISP-4.18.1.10899
    [josif@localhost BISP-4.18.1.10899]$ su
    Password:
    [root@localhost BISP-4.18.1.10899]# ./install.4.18.1.10899.sh i
    Installing BankID Security Application
    ln: misslyckades att skapa symbolisk länk ”/usr/lib/firefox-addons/plugins”: Filen eller katalogen finns inte
    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.
    Installation complete.

    As you can see above, some problems were reported: install script couldn’t install the plugin as firefox 5 on 64bit system has plugins elsewhere (i.e. /usr/lib64/mozilla/plugins). We will fix that in the new step.
  4. Fix the symbolic link and install the plugin by hand using nspluginwrapper:
    [root@localhost BISP-4.18.1.10899]# ln -s /usr/local/lib/personal/libplugins.so /usr/lib64/mozilla/plugins/libplugins.so
    [root@localhost BISP-4.18.1.10899]# nspluginwrapper -i /usr/lib64/mozilla/plugins/libplugins.so
    [root@localhost BISP-4.18.1.10899]# nspluginwrapper -l
    /usr/lib64/mozilla/plugins/npwrapper.libplugins.so
    Original plugin: /usr/lib64/mozilla/plugins/libplugins.so
    Plugin viewer: /usr/lib/nspluginwrapper/i386/linux/npviewer
    Wrapper version string: 1.4.2-1
  5. Install some missing 32-bit libraries:
    [root@localhost josif]# urpmi libidn11
    rsync://ftp.sunet.se/Mandrakelinux/official/2011/i586/media/main/release/libidn11-1.22-1-mdv2011.0.i586.rpm
    installerar libidn11-1.22-1-mdv2011.0.i586.rpm från /var/cache/urpmi/rpms
    Förbereder... ############################################
    1/1: libidn11 ############################################
    [root@localhost personal]# urpmi libgcrypt11
    För att tillfredsställa beroenden kommer följande paket att installeras:
    Paket Version Release Dist DEpoch Arkitektur
    (media "Main32 (Official2011.0-3)")
    libgcrypt11 1.5.0 1 mdv 2011.0 i586
    libgpg-error0 1.10 2 mdv 2011.0 i586
    libpth20 2.0.7 9 mdv 2011.0 i586
    714KB mera disk-utrymme kommer att bli använt.
    Fortsätt installationen av 3 paket? (J/n) J
    rsync://ftp.sunet.se/Mandrakelinux/official/2011/i586/media/main/release/libpth20-2.0.7-9-mdv2011.0.i586.rpm
    rsync://ftp.sunet.se/Mandrakelinux/official/2011/i586/media/main/release/libgpg-error0-1.10-2-mdv2011.0.i586.rpm
    rsync://ftp.sunet.se/Mandrakelinux/official/2011/i586/media/main/release/libgcrypt11-1.5.0-1-mdv2011.0.i586.rpm
    installerar libpth20-2.0.7-9-mdv2011.0.i586.rpm libgpg-error0-1.10-2-mdv2011.0.i586.rpm libgcrypt11-1.5.0-1-mdv2011.0.i586.rpm från /var/cache/urpmi/rpms
    Förbereder... ############################################
    1/3: libgpg-error0 ############################################
    2/3: libpth20 ############################################
    3/3: libgcrypt11 ############################################

When this is done, you should be able to proceed with creation or import of your existing certificate.

This entry was posted in in english and tagged , , , , , . Bookmark the permalink.

1 Response to Howto: Installing BankID for Firefox 5.0 on Linux Mandriva 2011.0 64bit

  1. Sasha says:

    I just wanted to add that there is an open source alternative to BankID, called FriBID, that supports Linux:
    FriBID website

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.