r/NetBSD • • 15d ago

Disk encryption on NetBSD - achieving secrecy

https://netbsd.org/~nia/disk-encrypt/
20 Upvotes

1 comment sorted by

4

u/0xKaishakunin 15d ago edited 15d ago

Back in 2.99 I created a wild hack where /boot/ lived on a CF card and had to be inserted into my X24 to boot the system. So no one could tamper with the boot integrity.

I also encrypted the CGD header on the CF card with the 3des crypt included in the minimal rescue system. Or was it the master passwd file?

I even bought an 128MB USB watch to carry my /boot around :-X

It was a totally bonkers setup.

Nowadays I run CachyOS and have nailed it down with TPM2 and secure and attested boot for LUKS2, waiting for UKI to get more usable to switch over to it.

I also used Matt Blaze' CFS for 15 years and was able to restore my NetBSD /home backups made with dump(1) in 2000. I only had to install 3.0 in a virtual machine to decrypt the CFS files.

CFS was my gateway drug into cryptography back in 1997. And now I am here, almost 30 years later still giving talks on cryptographic filesystems :-X