Disk encryption primarily addresses two threat models: preventing data access if a device is stolen or lost, and making a device unusable if tampered with. This discussion focuses on the first model, aiming to keep data secret. Tamper-proofing systems are more complex, requiring consideration of hardware security.
On a NetBSD system, data can be categorized into system files (open-source software) and user-modified files. System files, such as the /bin/sh executable, are generally not considered sensitive as they are common across installations and often remain unmodified outside of upgrades. Many system daemons and user applications do not run as root, limiting their ability to modify core system directories.
Achieving "true" full disk encryption without specialized hardware is difficult because the operating system needs to load files to boot. This requires a mechanism for the user to enter a password or key before the OS is fully operational. NetBSD also stores metadata about encrypted partitions on the disk, such as information for generating a key from a password.
Unix systems rely on shared libraries; if these become unavailable, system functionality is impaired. Utilities in /rescue are designed to function without working shared libraries. Cryptographic algorithms standardized by the US government can be slow in software, leading to performance penalties. Modern CPUs often include hardware implementations for ciphers like AES, while alternatives like Adiantum exist for those without hardware support.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
This article discusses disk encryption on NetBSD, focusing on protecting data if a device is lost or stolen. It differentiates between system files and user-modified files, noting that system files generally do not contain sensitive information. The article also outlines challenges in implementing full disk encryption, such as the need for software to load before a password can be entered and potential performance penalties from software-based cryptographic algorithms.