Expand description
Signed commands to a machine (#88), without I/O: a device seals a
command to the one-time key of a challenge the machine signed, and opens
the machine’s signed reply. The channel that carries them is
teter_client::command’s.
Structs§
- Challenge
- A challenge the machine signed.
Functions§
- check_
challenge - The challenge
nonceandkey, ifsignatureis machinemachine’s (whose public key ismachine_key) of them. - open_
reply - The outcome in machine
machine’s reply to the command bound tononce: checked against its signature bymachine_key, and opened withaccount. - seal_
command commandsigned byaccountformachineandchallenge, sealed to the challenge’s one-time key.