specifications/trusted_computing_base/README.md
The trusted computing base (TCB) of each Diem validator is responsible for performing security critical operations and managing cryptographic keys. It is an optional component of Diem Core, designed to improve the security of Diem validators.
If the TCB of a Diem validator remains secure (i.e., uncompromised), it is able to ensure that the validator will not violate any safety properties in the network (e.g., forks). In practice, the TCB should be deployed in a separate environment from the rest of the system (e.g., using a different set of containers, or deployed on a different host).
The security properties offered by the TCB exclude issues of liveness; liveness may be violated if system components outside the TCB are compromised on a significant number of machines.
Overall, the TCB consists of four different components: