Trusted Execution Environment (TEE) support?

As new Jolla devices are rolling in, I was wondering do they have TEE (Trusted Execution Environment) support? And, is there any plans on integration to Sailfish side?

I’m asking this because of upcoming EU Digital Wallet and EU Business Wallet.

Their full specification actually required TEE functionality, due the fact that Qualified electronic Signature Creation Device spec has to be fulfilled. At the moment, no phone can fulfill that one. It would require EU audit of the TEE/secure enclave, and you can be sure that Apple and Samsung are not going to allow that.

So, there can be opportunity here, and probably also funding to implement.
Thoughts?

5 Likes

It would be pretty awesome if SFOS were the first phone to pass their audit.

4 Likes

This has been proposed before, e.g. here in 2017: [idea] SFOS Support for Secure Elements (SE) (or Trusted Execution Environment (TEE)) - together.jolla.com
I have never seen / heard a sailor (i.e. Jolla-employee) reacting or making any statement WRT this topic, but think one should keep asking, regardless.

MIght be a good question for the next meeting if you want an official answer.

3 Likes

I immediately get a ‘TPM’ feeling and want to run away screaming. So, in this case:

You replace the ‘owner’ of the enclave tech. Swap out Arm for Microsoft. Oh, how I will do all I can to disable that.

EDIT: not arm, even better: GlobalPlatform - Wikipedia AKA Visa Card. Oh, yeah.

EDIT: Wanted to cross link https://forum.sailfishos.org/t/wero-on-sailfish

the discussion of getting away from the visa / mastercard (mostly visa) monopoly for payments is directly related to who controlls the ‘Trusted’ env. Supporting TEE looks like it would UNDERMINE european efforts to get free of the Visa (pracitaclly) monopoly.

4 Likes

That would be an interesting pitch!

1 Like

As J2 will be based on a Mediatek platform, could this M-TEE provide the basis for a TEE, e.g. OP-TEE on SFOS?

See also the corresponding CC Certification Report.

IMHO Jolla must concentrate and remain that particular option for all those users who WILL find a way (one way or another) to opt out of the digital ID - surveillance panopticum, which the western Soviets are seeking for.

For all those normies, who want to comply, there is and there has been always the conventional IT solutions like Iphone and Android.

edit: if Jolla becomes like those, which most of its users are trying to escape from, then I’m done with it.
And I’m afraid I ain’t gonna be the only one who does choose to go to a framework, where the user remains boss and an almighty administrator of his very own device.

2 Likes

TEE in Sailfish could be built completely differently that in Android and IOS devices. API could be available for all developers, and you could monitor what is running - and disable processes you don’t want.

Well, not really. Since Sailfish sits on an Android hardware abstraction layer, communication with the TEE will be limited to doing it the Android way. That’s also the only thing that makes sense if you also have android support, or?

The whole point of a TEE is no NOT enable that.

You, the user, are the attacker (“unauthorized entity”) the TEE is designed to defend against.

It’s called “trusted” because Big Data/Media/Silicon… can trust that only they have control over it.

From the article linked above (editing and emphasis mine):

5 Likes

Then I wouldn’t even bother with such abrasive “tech” on my very own device and would patiently wait to the very last moment in order to see, what other working solutions may come out into the game.

I have to say that we can agree to disagree. TEE is not there to solely give digi giants or manufacturers an edge.

I was about a decade a ago in a research project with an unnamed phone manufacturer. We built a whole system, where app developer could leverage the TEE security, by developing an accompanying TEE-based service. It was really nice, you could use Android Studio for that. You had the TEE-side as a subproject, and whole thing would deploy to the phone as a single app as any.

Use cases were services like for example Signal, where you want the keys and ciphers to be safe.

Its too bad it stayed as a research project - but maybe with the upcoming new Jolla phone it could be the new reality?

So, What I’m trying to say here is that TEE does not have to be an evil Digi giant/government based crap, it can also enable new apps and new level of more hacking-proof services. What we want is transparency in TEE space. If EU wants a digi wallet to run in there - fine. Just be open about it.

4 Likes

For those interested, check out OP-TEE part of:

1 Like

Yes, my suggestion here would be that in the new Jolla Phone, we’d have OP-TEE and consider the programming environment, to something we were discussing back then.

As a side effect, perhaps we could have Alien Dalvik work better and safer, support most bank apps?

1 Like

Well I am normie…. I just wish we could stop using arguments like “I think you are in forum” or “I suggest you keep using android”. Very dismissive and unpolite. At least me the conversation has sounded like SFOS related.

Ps. I understand the first comment if somebody for example starts to take deep dive to world politics or something

8 Likes

Interesting and rather sad how easily things can turn into feuds. It’s not like he asked for a stereo jack here in the TEE thread :slight_smile:
There’s no harm if a TEE solution actually gets some traction in SFOS and sdk support. Say a TOH with the chip mentioned above by jgr.

It’s not like forcing anyone into anything.

1 Like

Very well - same question to you too - how many times have you’ve beed hacked as a normie?

Non, that I know about :slight_smile: But I don’t claim to be someone who would 100% even notice and know that for example my mother would never notice.