We have moved to a new Sailfish OS Forum. Please start new discussions there.
19

BankID and Swish (swedish users)

asked 2014-08-20 18:44:24 +0200

mike7b4 gravatar image

updated 2018-06-12 13:02:09 +0200

Mohjive gravatar image

There is way more important stuff really is needed on Jolla for swedish users atleast:

One is bankid/swish for online payment in sweden but we probadly should forget about an native app. However I heard bankid android app from google store works. But to me it's really not a good choice because I to lazy tweak my device to get google play to work:( Also I am not sure its really is allowed could google simply just lock devices out if to many is using this this way?

I also tried those download sites available but did not succed. So question is if we could get the banks to upload the app on http://harbour.jolla.com? but that makes me wonder:

  1. How many swedish are there using Jolla?

  2. Can some swedish users confirm that bankid and swish really works on Jolla?

I raise those questions since it would be very intresting to know how many swedish users have Jolla. The more the better chance get the app uploaded at jolla harbour store also.

This is actualized now, since Finansiell Id-teknik (the company behind the BankId applications) has announced that they will drop the Android version that Alien Dalvik currently (including Sailfish X 2.2) implements. With Swish and Mobilt BankID so tightly coupled and almost being a must-have in Sweden today, this is a big issue (for us Swedes).

edit retag flag offensive close delete

Comments

I tried BankID on my Jolla a couple of months ago (downloaded with APK-downloader from Google Play) but I wasn't able to get it to work so I uninstalled it and haven't tried it again since...

paperboy ( 2014-08-20 19:37:11 +0200 )edit

i haven´t tried bank id on my jolla phone since i use laptop/tablet for my banking needs but i could try installing it from google play to see if it works.

viskari ( 2014-08-20 21:05:58 +0200 )edit

I am not Swedish but I use local android apps without the Google Play hack. All you need to do is copy the link to your Android app from the Play Store into this website http://apps.evozi.com/apk-downloader/ No credentials needed.

Maximilian1st ( 2014-08-21 10:22:39 +0200 )edit
2

I DOES work with mobile bankid, but just for a while. After unknown time it seems as though the certificate becomes invalid or so. There is an error code shown. After that issuing a new bankid will get it working again, but only for a while, perhaps a day or so.

I don't know what's going on with that, perhaps some Jolla dev could shed some light over the alien dalvik and what kind of issues may arise in secure applications like this.

It seems to work, but only to some degree. That's what bugs me the most, it feels like only some details prevents this from working just fine.

Larswad ( 2014-08-21 10:31:46 +0200 )edit

mike7b4: Installing the play store is very simple and you should not feel that is a demanding thing to do. Its a one time operation and then you have it.

Larswad ( 2014-08-21 10:34:33 +0200 )edit

5 Answers

Sort by » oldest newest most voted
10

answered 2019-04-25 22:14:00 +0200

or3x gravatar image

Updated answer for Xperia XA2 on Sailfish 3.0.2.8:

Yes, both BankID and Swish work after some extra steps.

To get it to work, you need to install MicroG as a replacement for Google Play Services. One way to do this (I know there are other guides to do it, but this is fairly easy and worked for me) is:

My BankId is warning about missing play services and sometimes also missing network, but it works anyway... However, to activate the BankID, the QR-code scanner built into the app did not work for me, so I had to do the following hack:

  • Scan the QR code using a separate QR-code scanner app.
  • Open the resulting URL in Firefox (android app) and click the "open in app button" to trigger bankID opening the link
  • Continue the activation and hope you were quick enough for the QR code not to expire...
edit flag offensive delete publish link more

Comments

Tested, works for me too :)

attah ( 2019-04-25 22:26:02 +0200 )edit

It works equally well without micro-g. Easiest activation is to request the bank-id through android bank app on the device then you don't need the qr-code procedure since it simply opens the url in browser directly.

ljo ( 2019-04-25 23:30:36 +0200 )edit

ljo: what bank app would that be? I've tried with skandiabankens without any luck.

anasyntes ( 2019-04-28 10:00:26 +0200 )edit

ok, I got it. Worked with Skandiabanken as well. Thanks to all of you for providing invaluable info about bank-id. It's a PITA with that one...

anasyntes ( 2019-04-29 09:05:15 +0200 )edit

Broken with the latest versions of MicroG (BankID connects forever), see https://github.com/microg/android_packages_apps_GmsCore/issues/824 Installing an older version fixes the issue. Tested on 3.1 with system app replacement privileges granted (although that isn't required, maybe someone wants to know if it breaks something).

attah ( 2019-07-25 17:46:14 +0200 )edit
5

answered 2020-03-24 20:27:57 +0200

attah gravatar image

updated 2020-05-22 18:03:09 +0200

Update 2020-05-22:

The latest version of BankID, 7.17.0.73 at time of writing, appears to ship its own QR code reader, so the workaround below is no longer required. For me the update went smoothly, YMMV, and all that.

Update 2020-03-24:

(Valid for new Android runtime, tested on Xperia 10 running 3.2.1.20)

Warning: on 3.3, Aliendalvik-control will prevent the Android runtime from starting (at least if it is kept during the upgrade?). See here for details: https://together.jolla.com/question/224218/aliendalvik-doesnt-work-after-update/

As many of us have noticed, BankID has broken external QR Readers. This appears unintentional, and also seems to affect actual Android devices. Fortunately apps on the same device works very similarly to what scanning a QR code should do, and i was able to get a log from using Swish.

Not sure what the installation instructions will be with this, or if it even works. Refer to answer by @or3x, but see below for QR code reading. Look here for how to install MicroG, if needed, and maybe use Aurora store instead of Yalp.

To enable forwarding of scanned QR codes to BankID:

  1. Make sure you have the latest CodeReader from Jolla Store (so that it can open arbitrary URIs)
  2. Install Aliendalvik Control (so that Sailfish apps have some way of sending Intents to the Android container)
  3. Create the file /usr/share/applications/bid.desktop with the following content:
    [Desktop Entry]
    Type=Application
    Name=BankID Scheme Handler
    NoDisplay=true
    Exec=bash -c 'dbus-send --system --print-reply --dest=org.coderus.aliendalvikcontrol / org.coderus.aliendalvikcontrol.componentActivity "string:com.bankid.bus" "string:" "string:${0}&redirect=null"' %u
    MimeType=x-scheme-handler/bankid;

...and finally devel-su update-desktop-database

Now you should be able to scan log-in QR codes with CodeReader and when you press the open-icon, it will invoke BankID with the correct parameters, allowing you to sign in. I haven't dared to try with enrollment, i.e. un-enrolling first. If you do, please report back.

I make no promises about the longevity or security of this solution, but it works for me. Please review the solution and form your own opinion about if it is for you.

edit flag offensive delete publish link more

Comments

Thank you! This worked well for me even without installing MicroG.

bob-182 ( 2020-03-25 19:29:27 +0200 )edit

@bob-182: Did you test enrollment? (or did you already have it installed from before?)

attah ( 2020-03-25 19:54:35 +0200 )edit

@attah No, I had it already installed from before.

bob-182 ( 2020-03-25 20:01:25 +0200 )edit
1

Thanks so much for this. Now a was finally able to log into me bank on my computer with mobilt BandID. It works well for me as well :D

abc123 ( 2020-03-28 18:17:00 +0200 )edit

@bob-182 How did you use BankID without MicroG.

abc123 ( 2020-03-28 18:28:20 +0200 )edit
3

answered 2017-04-13 22:20:56 +0200

_ _ _ _ T A _ _ _ _ gravatar image

updated 2017-04-13 22:31:24 +0200

Let me ask, perhaps a stupid, but important question: when you are a bank clients and BankID & Swish are obligatory I suppose, then why simply not to ask/demand them to create a native Sailfish client? they will not find out that on themselves, only on your requests! I think Android apps for this purposes has not been created "by accidental unknown individuals", but somehow on bank request by a trusted software company. Jolla and/or TJC/devs can provide some help, SDK allows to use emulated Sailfish (so they don't need a physical device to write such software), harbour.jolla.com shop or a bank site can allow download for free for all, you can provide betatests (what in fact you do with that Android apps with Alien Dalvik builtin your mobile) - so it is technically possible to create a native Sailkfish client using as base some code perhaps from an Android client, especially when it would be in C++. Especially when those apps are for Android and Windows then a bank software IMHO must not to discriminate Sailfish users. I think you have right to demand such a software, so you can kindly ask in bank "who is responsible for that software (there must be a way for claims)" and ask with eg a disc with last SKD or at last listed links where to find SDK and how to write a Sailfish software. Even if they would refuse you for the first time (as nobody like additional work), I suppose after next one and next one, especially put in form of claim in written "for lucking service for me as a client", and after providing them tools - I think a native Sailfish apps/clients will appear either to download from a bank site or jolla store site. If that works for Android, why that would not to work for Sailfish? Simple keep asking or demanding for legitimate rights of user/consumer/citizen.

You can also provide us a text of such a claim in Sweedish and email address of bank director or helpdesk and we can send them some more kind requests for Sailfish OS native client, at last I will.

My above question and thoughts are motivated by my believe that finally for such actions in bank a native client is really needed, and this can be done when somebody with enough authority will take such decision. And it will be significantly easier when you will provide them needed tool - Sailfish SDK - without no way, and they will not find it themselves I think. It will not happen "itself", only on demand.

edit flag offensive delete publish link more

Comments

1

First of all, your reply is really a comment, not an answer. Please consider this.

Secondly I understand where you're coming from, but when neither Windows Mobile or BB10 has a native app it's hard to expect one for a smaller platform as Sailfish. While an app could share some code between platforms there are always platform specific parts, which add to maintenance and development cost. When the banks have a solution that reaches 99% or more of their users it's hard to motivate these added costs.

Another, and in my opinion better, approach would be to make them open the protocols of their apps, so that the community can make the apps.

Mohjive ( 2017-04-14 08:53:59 +0200 )edit
1

@Mohjive That will never happen. The bigger banks are more than happy with their monopoly. Just try to move your money to a smaller bank with better terms and conditions... and find yourself locked out of most official and societal services in Swedish society. Just because you can't get an BankID.

eson ( 2017-04-14 09:38:18 +0200 )edit
1

@eson: perhaps it seems impossible, but I think opening the protocols are more probable than convincing the banks to release an app for some of the major two mobile platforms.

Or maybe we get a community backport (for linux in general and then for Sailfish) I actually used the previous solution under linux (even on my N900), when it existed as a native application, without an issue.

Mohjive ( 2017-04-15 09:20:00 +0200 )edit
1

Due to fears about security I doubt in opening protocols ever, less probable then convincing bank to create another client. Even if anybody in bank would want to open then supervisors including BOD will not let "just for every case". But "previous solution under linux" sounds more promising, and seems to be a proof this is possible IMHO.

_ _ _ _ T A _ _ _ _ ( 2017-04-17 00:21:20 +0200 )edit
1

It just has came to my mind that when BankID is needed for operations etc. and if a country is EU country then upon of "freedom to move/flow capitals" a bank can't deny you as that would mean it is breaking some fundamental laws I suppose. EU really makes life easier (when don't do something just contrary ;-) ) So if I am right bank can't refuse to serve a services, also because a bank is a professional institution.

_ _ _ _ T A _ _ _ _ ( 2017-04-19 16:47:31 +0200 )edit
2

answered 2014-09-02 13:47:48 +0200

Larswad gravatar image

updated 2014-09-02 13:48:58 +0200

Someone let me know if I'm wrong. But since several of us has confirmed that 'bankid' (and consequently most or all apps that accepts signing from bankid) now works fine with the Jolla, I guess I'll make this an answer to it so that we can at least temporarily say the question has been answered. It might be raised again if google or bankid change the security requirements.

Yes, Swedish 'bankid' works (for now) on Tahkalampi 1.0.8.19!

edit flag offensive delete publish link more

Comments

I can confirm, no crashes in BankID since last update. (it worked pretty well even before but only if I started the BankID app before the, in my case, Swedbank app.

JS ( 2014-09-03 16:20:39 +0200 )edit

Not for me... it crashes. Tried an reboot but still crashes. BankID v6.1.70 and Jolla v1.0.8.19.

shellkr ( 2014-09-19 03:24:59 +0200 )edit

I have a journalctl log snipped here http://ix.io/ep0

shellkr ( 2014-09-19 23:43:10 +0200 )edit

After an upgrade to a newer version of BankID it now works... not sure why... but it does.

shellkr ( 2014-10-12 06:25:34 +0200 )edit

So, how do you wake it work properly? Do you need to install "Google Store" first and then BankID app? Or what is the procedure? Thanks.

tridy ( 2018-08-22 16:50:44 +0200 )edit
2

answered 2017-04-11 22:39:05 +0200

spidernik84 gravatar image

updated 2017-04-11 22:39:56 +0200

Answer as of today April 2017:

BankID: works so far, nags about play store

Swish: does not work, the app does not start at all

Note: I do not have play store installed :)

edit flag offensive delete publish link more

Comments

1

BankID and Swish both works for me. I have play store installed.

The only issue I have had so far is that the Alien Dalvik doesn't launch BankID correctly from within another app, say Swish or my bank's android app, when already launched from app grid. In these cases I have to close BankID and then it works from Swish again.

Mohjive ( 2017-04-12 10:04:49 +0200 )edit

That's indeed the case, thank you. It is a bit better but nags me with a "google services have stopped" in most of the android applications.. I'd rather do without all those additional packages. I can't see why they included the store as a dependency, the swish app seems to be self contained. Anyway, it is not sailfish's fault but swish's fault.

spidernik84 ( 2017-05-19 11:30:19 +0200 )edit

I've asked the company that makes bankid, and they say that the reason why BankID uses google play services is to be able to send out notification that a new BankID token is created.

gmelchett ( 2018-01-18 21:13:51 +0200 )edit
Login/Signup to Answer

Question tools

Follow
11 followers

Stats

Asked: 2014-08-20 18:44:24 +0200

Seen: 4,000 times

Last updated: May 22 '20