oxidecomputer / dice-util

utilities for cert template generation and manufacturing / certifying DeviceIds
Mozilla Public License 2.0
7 stars 3 forks source link

dice-mfg: restore the `liveness` command #204

Closed flihp closed 4 months ago

flihp commented 4 months ago

A while back we implemented a liveness check before each command gets executed largely because I kept wasting time getting confused by failures that a liveness check would have solved. Once this was done the liveness command was redundant and I removed it. I'm looking at facade now and I'm realizing that they used the liveness command. The in-built liveness check doesn't really help in the facade case because the mfg software needs to differentiate between a failure of the liveness check and a failure in the platform identity programming and certification process.

The easiest thing to do is to just restore the liveness command.

flihp commented 4 months ago

this was dropped in favor of just using the ping command in facade