BankID + Gentoo

For some god forsaken reason, the working BankID java applet that my bank used (Which worked in any operating system that had java) was removed and replaced with some monstrosity that only worked in windows since it needed an external application. When a Linux version finally was released, only Ubuntu was the officially supported distro. Son of a bitch.

However I got it to work in my Gentoo installation with the following steps:

  • Get the latest version from http://install.bankid.com
  • Unpack it and open up the installation script (install-.sh)
  • Find the row that says #Install plugin for FF3. Edit the line under that to ln -s $INSTALL_DIR/personal/libplugins.so /usr/lib/nsbrowser/plugins
  • Make sure you have curl compiled with the gnutls and kerberos USE flags enabled
  • Create a symlink to your libcurl.so.4.1.1 called libcurl-gnutls.so.4 by running sudo ln -s /usr/lib/libcurl.so.4.1.1 /usr/lib/libcurl-gnutls.so.4
  • Install the BankID application by running the installation script
  • There you go. You should now be able to create new/edit/remove BankID’s in Gentoo Linux. Users of other “unsupported” distros can most likely follow these instructions with some modifications depending on their system.

    8 Responses to “BankID + Gentoo”

    1. Daniel Says:

      Seems like there is a minimum requirement for libstdc++ (and with that, gcc) too.

    2. Christian Says:

      Thanks for this. I’m trying to write an ebuild for the Gentoo Sunrise project to include BankID. Will let you know when it becomes available!

    3. Christian Says:

      Here’s an ebuild for your local overlay. However, it’s not totally working yet. Please send me feedback if it works for you.
      It installs the plugin, the command-line functions appear to work, but I haven’t been successful in making it work for the Opera browser.
      Let me know if it works on your browser, thanks!
      http://files.myopera.com/Zoominee/files/nexus_personal_SE-4.10.0.21-r1.ebuild

    4. Christian Says:

      My ebuild for the BankID plugin (nexus-personal) is now in the Sunrise User overlay.

    5. Christian Says:

      To install it:
      1. Follow the instructions on Sunrise Website to add that overlay to your Gentoo.
      2. Add a line to your /etc/portage/package.keywords:
      www-plugins/nexus_personal_SE-bin ~x86
      3. If you use firefox, epiphany, mozilla or seamonkey, make sure you have the USE flag set.
      4. emerge nexus_personal_SE-bin.

    6. Ibn Says:

      Hey! I was just looking for a way to file my taxes, and found your tip. Thanks!

      Oh, would you mind adding ~amd64 to the keywords?

    7. Ibn Says:

      Oops, I jumped the gun. Nexus does not like nspluginwrapper, so it looks like a no-go. :(

    8. Laederkeps Says:

      Thank you very much, Christian, this works great!

      If you get errors about libstdc++ or GLIBCXX not found, you need to install and/or enable (using gcc-config) a newer version of gcc, that helped.

    Leave a Reply