ZFS Native Encryption by Tom Caputi

Channel:OpenZFS · Length:49:43 · Published:2016-10-10 · Views:13633

Watch on YouTube

Summary

Tom Caputi presents the design of native encryption for ZFS at the OpenZFS Developer Summit, including design decisions and how authentication uses checksum fields.

Why HN recommends it

Recommended whenever ZFS encryption comes up as the authoritative explanation of how it was added and its trade-offs at scale.

check out this presentation on how encryption was bolted on ZFS — HN, 2017

Databases & storage · Cryptography

Subtitles (excerpt)

um so next we're going to have Tom caputi talking to us about a very exciting feature which is uh Native encryption in ZFS hi everybody uh I'm Tom caputi and today I'm going to be talking about something I've been working on for the last nine months or so uh which is basically adding encryption at rest into ZFS uh so basically I'm going to start out with an overview of the implementation of you know what you're going to see as a user what you can kind of expect from you know Assist admin's uh point of view and then I'm going to kind of build up the uh encryption implementation as we go through the presentation so you can kind of get an idea of how it works at the Block Level so first of all what is encryption from a really basic 40,000 foot view um basically we want to prevent somebody known as the attacker uh we want to prevent them from accessing data that belongs to to us data that we're considering private permissions are not good enough to protect against this because no matter what um a root user can always change the permissions on pretty much anybody's stuff uh so if you have files or directories you know if you don't trust the root user on your system you can't really do anything to protect your data from them um kernel bugs have routinely uh

On Hacker News

The problem is that a stream cipher is going to have some per-object uniqueness (a salt, IV, etc.), so by design even if you feed it related input blocks you will get different output blocks. This is, of course, antithetical to deduplication: so you need to check/store the hash of the input before it goes through the cipher. The presentation about ZFS' native encryption[1] covers many of these so… — drbawb, 2022-12
On the contrary, it makes it suitable for file systems! File systems are not block devices, they are data structures on top of block devices — it's the job of these data structures to keep stuff, such as data, inodes, and... keys, and IVs, and MACs, checksums, etc. TFS uses Speck in XEX mode (edit: I just realized you're the author, so you already know that :). tptacek wrote a nice post about it:… — dchest, 2017-05
I work with Tom at Datto. He presented all of his design decisions at the OpenZFS developer conference here: [LINK] Slides: [LINK] Video: [VIDEO] — wspeirs, 2017-06
Native ZFS encryption may become available soon. It is pending code review: [LINK] There was a presentation of this by Tom Caputi at the most recent OpenZFS Developer Summit. Slides: [LINK] Video: [VIDEO] Conference: [LINK] — zxv, 2017-03
This is still geli+zfs, and not native zfs encryption that was recently presented in OpenZFS Developer Summit [0]. [0] [VIDEO] — RJIb8RBYxzAMX9u, 2016-10

Related videos