Sailfish payment apps Work Group - Europe

Thank you for your help with this matter! I really hope we get OP working again!

Isn’t Graphene describing that? How to do attestation without Google’s Play integrity API by using Androids hardware attestation API?

I haven’t yet been able to figure out of this api is available on Sailfish (my phone is yet to be shipped), but I would try to get that to work as that’s also the route that works with non-Google Androids like GrapheneOS and /e/os.

Cool! Is there a deadline?

We could do a technical & “political” brief which your friend could use. There are important numbers concerning amount of Sailfish OS users, and the Jolla company history which could spark interest and build trust.

Drafting it would be a smart actionpoint for the volunteer “Sailfish payment app group”. What do you think @lumen ?

I could be mistaken, but I believe the hardware attestation that GOS users point to is based on the fact that they are using Google Pixel hardware. Since Google makes Android, Pixel phones has become the benchmark to which all android phones are compared. Thus there is a way to attest that the software is running on a “secure” device, due to the hardware of Pixel phones. The Jolla phone would naturally not pass such Android hardware checks. Please do correct me if I am mistaken on this, as I’m not that technical.

No immediate deadline so no need to make something rushed :slightly_smiling_face:

Using the Pixels, does makes Graphene more secure as it can use memory tagging (MTE). But that’s not what attestation is doing, it will check the signing key of the bootloader. That’s why Graphene shares the pubic SSH key of there signing key, so app users can validate that. This does have a downside, as some users want to be able to compile there own and sign their own bootloader. But that will fail attestation.

The standard hardware attestation API can be used to verify the authenticity/integrity of the hardware, firmware, OS and the app running on it. It provides a verified boot key fingerprint for the OS for permitting secure aftermarket operating system.

That’s why I’m currious what calling this attestation API will result on on Sailfish.

How’s the dialogue going with Walt? I spoke to Cole as we live in the same city, and he was very interested in grabbing a coffee when I get my Jolla (September II) :slight_smile: he mentioned some challenging decisions that the core team needed to make for Walt to work?

I ping @lumen if he might have any inside info what that could mean

@Paludan, There were some discussions about exactly that (between me and Cole).
I don’t want to post the discussion here on forum, because I have not asked for permission from Cole - but I can send you his reply as direct message if you are anyway gonna grab a coffee with him :slightly_smiling_face:

Fingers crossed for the Walt option :crossed_fingers:

Incoming Jolla owner here. I just reached out to MobilePay’s engineering team to understand the blockers. I thought it might be interesting for this thread.

They stated they are not opposed in principle to non-Google devices, but of course are currently bound by bank compliance requirements for Google Play Integrity and Play Services for push.

However, they also mentioned they are exploring Android Hardware Key Attestation as an alternative — which I gather is the same mechanism discussed earlier in this thread. Nothing specific yet, but they recognise an increasing expectation for alternatives.

The main hurdle they mentioned is scalability: they cannot individually approve every vendor (Jolla, Volla, Murena, etc.) and need to trust providers’ security update cycles. Doesn’t this align with some of the things that Unified Attestation aims to address?

Odd how quite a few European banks somehow manage to let their apps run with zero attestation of sort. Hell with some banks, the app doesn’t even care if the device is rooted.

The secret is, of course, attestation isn’t a legal requirement of any sort. Unless Finland or wherever this is happening legislated a requirement to commandeer personal property in the name of “security.” Hopefully initiatives like Wolt or other apps will slowly destroy this attestation stuff. Probably not, though.

Edit: But I guess this maybe concerns mobile payments specifically. Perhaps different set of regulations which are just as evil if not moreso than the regular ones.

Hello and welcome! I think you did exactly right move, the more we can signal the need for them to reconsider their technical choices the better.

Indeed. I also hope that the Walt initiative might show the way for other solutions.

I reached a Danish engineer from MobilePay/Vipps as I live in Denmark, but my impression is that their answer is also relevant for users in other Vipps countries: Sweden, Norway and Finland. I also think that if somehow Wero will work in the future for SFOS, then partner payment systems like Vipps in the Nordic countries and other places will perhaps follow (I think they are working on a way to transfer money between wero, Vipps and other systems).

In Finland, authentication to many public services goes through the bank. Some banks have also been making authebtication without app more cumbersome.

Even if you don’t do banking at all on the phone you can still be greatly inconvenienced if you can’t authenticate with the bank on the phone.

Exactly this. I’ve been wondering what is this “instance” somewhere that “stipulates” that banks “must” have attestation in their apps.. :thinking:

At the same time when I log into my bank via Firefox on my Ubuntu, there is zero attestation in place and not a single bank sees this as a security problem.. :thinking:

In fact, the issue is that banks are looking to ensure security: “I want to be certain that what my user sees is authentic”; this is particularly important when making transfers. On the web, the bank has full control over its website, whereas on the mobile app, without the certificate, it cannot be certain that what the app displays hasn’t been altered before being shown to the user.
There’s a Mastodon thread about this (in French)

EDIT: Add quote

How is that different? In an app you can do two legged SSL and see if the cert is what you expect, but that’s not we we’re hitting here. Also, in an webpage your content could also have changed (something with Man in the middle attacks).

Also, the linked mastodon message doesn’t make any sense in this context to me: FIDO is safe, and also a proposed alternative as part of PSD3/PSR requirements.

So I don’t really get what you’re trying to see here :slight_smile:

Isn’t compliance just a set of rules about what and not how, and isn’t it up to the bank to translate these what’s to how’s?

Besides that, you can perfectly use push on Android without Google Play Services. A lot of FOSS apps still do that, as then no data has to pass Google. The only down side is that, depending on the setup, it costs a bit more battery power from the phone. But there’s no hard requirement to use GPS for this, in the early Android days this was the only way you could have push :slight_smile:

Hi team! Apologies for not keeping up with the convo here!

I’m wondering what the best way for me to help here is (or if that’s even being requested, apologies if this sounds arrogant).

Right now, there are two significant challenges Walt needs from Jolla in order get Walt to work without issue:

1.. An NFC bridge into AppSupport that carries HCE, so an Android HostApduService in the container receives the terminal’s APDUs, including with the screen off and locked. Reader mode alone isn’t enough.

2. A hardware-backed keystore in the container: a KeyMint proxy to the SoC’s TEE that produces standard Android key attestation under a Jolla-published verified-boot key. Our vendor’s backend already keeps a per-OS store of such keys (GrapheneOS’s are going in now), so once Jolla emits that certificate the ask on the payments side is small. Without it, the container looks like a rooted phone to every payment SDK, and no scheme accepts that. Sony Xperias are out either way (unlocked bootloader); only Jolla’s own hardware could qualify

Note, I had to get Claude’s help on those two bullet points because I don’t understand Jolla and SFOS enough and don’t have quite enough time to deep dive on it. So if Claude misunderstood, please let me know!

Edit:

Also, just want to say that it would be suuuper awesome if Walt could work on SFOS. I really really like the project as a whole. Y’all are doing wonderful work.

Maybe in conjunction with the hardware switch to enable the secure element and temporarily enabling some special “safe mode”.

Thank you Cole for keeping us updated!