Technology

Disk encryption on NetBSD: achieving secrecy

NetBSD developer Nia Alarie has written a guide on how to set up a NetBSD system with disk encryption that’s quite useful for those of us who deeply care about such a level of security. On top of that, the guide is also interesting if you just want to learn a bit more about how NetBSD works.

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

The device is stolen or lost and its contents must remain secret.

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.

↫ Nia Alarie

The guide is written for sparc64, but should work on more mainstream architectures just as well. A guide written by a NetBSD developer is obviously going to employ some exotic or weird hardware. As is tradition.

netbsddisk encryptionsecurityguidesdevelopers

This summary is from OS News, published Nov 15, 2026. NewsFusion links to the original reporting and groups related coverage.

Open Source app icon

Find more in the app

Keep reading in Open Source

Get every Open Source story as it breaks, follow the topics you care about, and get alerts the moment something big happens. Free on iPhone and Android.

  • Breaking-news alerts
  • Follow topics & teams
  • Related coverage grouped by AI