Disk encryption on NetBSD - achieving secrecy

Table of Contents

Threat models

These are two threat models for which disk encryption is the answer:

  1. The device is stolen or lost and its contents must remain secret.
  2. The device is tampered with, and all attempts at tampering must render it unusable.

Right now, we will focus on the first threat model. It is very difficult to build a tamper-proof system, and you need to worry about tamper-proofing your hardware, depending on what kind of actor is a realistic threat.

If we want to keep data on the system secret, we must first consider which data is worth protecting. On a NetBSD system, our data can be grouped into two broad categories: