oxidecomputer / hubris

A lightweight, memory-protected, message-passing kernel for deeply embedded systems.
Mozilla Public License 2.0
2.96k stars 169 forks source link

Add key-based tech port unlocking #1859

Closed mkeeter closed 1 month ago

mkeeter commented 1 month ago

Hubris counterpart to https://github.com/oxidecomputer/management-gateway-service/pull/274; see that PR or RFD 492 § Sketch of an unlock policy for more details.

We use the new SpRot::lifecycle_state function to decide whether to send UnlockChallenge::Trivial or UnlockChallenge::EcdsaSha2Nistp256.

(opening as a draft pending testing)