Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does this verify device integrity? #25

Open
schichtnudelauflauf opened this issue Feb 7, 2025 · 1 comment · May be fixed by #26
Open

How does this verify device integrity? #25

schichtnudelauflauf opened this issue Feb 7, 2025 · 1 comment · May be fixed by #26

Comments

@schichtnudelauflauf
Copy link

I fail to see how this proves to me, that a device was not tampered with during shipping?
Because this is what your lingo suggests.
From your description, this is a TOFU scheme that is intended to provide continuity from the first "verification" onwards.
This hinges on your fpga architecture being inside the physical object as described.
A faked device could emulate this behaviour.

Am I wrong?

@mchack-work
Copy link
Member

mchack-work commented Feb 20, 2025

It's correct that tkey-verification doesn't verify device integrity. The program doesn't verify the entire FPGA bitstream. It does, however, verify the Unique Device Secret part of the bitstream.

tkey-verification verifies that running a particular device app on the TKey gives the same identity on this particular TKey now as it did when we provisioned it. It also verifies that in the same part of the memory map as expected the same firmware is present. That's all it does. If that isn't clear from the README we should update it.

I think I made it pretty clear in this talk at sec-t:

https://www.youtube.com/watch?v=qWjj-yoz90M

@mchack-work mchack-work linked a pull request Feb 20, 2025 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants