lawik

lawik

Nerves Core Team

ARM TrustZone secure execution for embedded projects

I don’t know if anyone else has worked with ARM TrustZone and the BEAM. I’d love to hear more if any of you have. Otherwise I’ll share notes in this thread.

@amclain and I have both moved towards implementing something with TrustZone from different directions. He brought a lot more to the table since he knows a lot more about embedded development. I primarily bring enthusiasm.

Some might have seen NervesKey which is a library for using an ATECC508 or 608 series secure element in a specific way. A thing it doesn’t do super well is manage secrets and it is a slow and inefficient little thing. Very practical for device certificates but it has several limitations when you go beyond that. Eventually I will have the recording of my NervesConf talk on this.

TrustZone is baked into the ARM CPU and is a way to run securely privileged code with separation from the regular world. It depends on having good hardware on the specific board as well to achieve an actually secure implementation. But used correctly it will allow secure storage of secrets, it will be a lot faster than NervesKey for auth and it has a lot of additional potential functionality.

To know more what level we are talking about, this Stack Overflow answer was pretty solid:

Anyone familiar with TrustZone :tm: ?

Where Next?

Popular in Discussions Top

PragTob
Hey everyone, this has been on my mind for some time and I’d love your input on it! TLDR: I feel like maps are superioer for storing and...
New
AstonJ
I’ve just started the Phoenix part of the utterly brilliant online course by @pragdave. On generating the Phoenix app he uses the --no-ec...
New
MarioFlach
Hello, I want to share a project I’ve been working on for a while: https://github.com/almightycouch/gitgud Background Some time ago I ...
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 40165 209
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
Fl4m3Ph03n1x
Background A few days ago I was listening to The future of Elixir from Elixir Talks, with Dave Thomas (@pragdave ) and Brian Mitchell. I...
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New

Other popular topics Top

Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3271 131117 1222
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

We're in Beta

About us Mission Statement