Skip to content

2025

Leveraging LUKS to Add (Almost) Native Encryption Key Slots to ZFS

Have you ever wanted to encrypt a ZFS pool, and have the option to use multiple keys, including per-user passphrases to unlock it? For those that have used LUKS in the past, this seems like a trivial feature: simply have each user add a password to a keyslot, and add a backup key for if you forget the password or want friction-free setup when a device is connected to a trusted system, and you're off to the races. For an advanced filesystem like OpenZFS, you'd assume it'd be easy too, ...right?

Unfortunately, after a bit of documentation hunting and Googling, you'll realise that this isn't yet a feature in ZFS. In the rest of this (quite short, and more braindump than anything) post, I'll show you how to setup LUKS-like keyslots for your ZFS pools, which doesn't address the root issue but is definitely much easier than filing a PR in the openzfs project, and means you no longer have to re-enter keys for your pools after a reboot.

Home Assistant Voice Preview Edition: The Open-Source Game Changer We've Been Waiting For?

HA Voice Preview Edition Box and PCB
Nabu Casa's take on a voice assistant, how does it stand up to the rest of the crowd?

It's been just over a week since the Home Assistant Voice Preview Edition arrived, and I've been testing it out to see how well it performs and how it holds up to the Amazon Alexa ecosystem. As expected, the platform has got a long way to go before it's fully mature and on-par with Alexa, requiring not only an instance of Home Assistant running, but several APIs setup (either locally or in the cloud) to get performance which somewhat rivals the current competition.

I think it's important to note that this is not meant as a replacement for Alexa or Google Home quite yet, and this initial experience will likely be buggy and have quite a few teething issues, compared to the current commercial solutions. This post is intended to give my initial thoughts, and a long-term review is quite a way away yet.