Open kerneis-anssi opened 2 years ago
This is due to the fact that virtual TPMs does not ships EK certificate, and I din't checked for it.
Please keep your mkosi.output somewhere so we can investigate this, is there a way you can send it to me ?
Confirmed that it crashes even with a clean build.
When testing PR #7, I get the following error in the testbed, running the server in
--enroll
mode and the latest client on a Pixel 4a:The last message I see on the Android side is
Getting EkPub and EkCert
.This does not happen when running the server outside of the testbed. My guess is that this comes from the fact that I don't have clean build of the testbed, so my server and client are out-of-sync.
However, the server should not crash, even if the client sends garbage data. We should investigate this crash and makes sure the server handles the situation properly.