HackerTubewatch
Surprise me
Frame from ZFS Native Encryption by Tom Caputi Plays via YouTube's privacy-enhanced embed

ZFS Native Encryption by Tom Caputi

OpenZFS
Talks
YouTube
2 HN users recommended this talk2 months2016–2022 score 2
Years with an HN recommendation, 2007–2026

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

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

“check out this presentation on how encryption was bolted on ZFS” (HN, 2017)

2 recommendations · 3 citations · Talks · advanced · partly dated

5 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

@dchest May 2017 Recommends
on HN thread TFS: A file system built for performance, space efficiency, and scalability
Read more
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: [link] and I quote: "If you’re encrypting a filesystem and not disk blocks, still don’t use XTS! Filesystems have format-awareness and flexibility. Filesystems can do a much better job of encrypting a disk than simulated hardware encryption can." Edit: check out this presentation on how encryption was bolted on ZFS: [this video] (slides: [link] ) It's not perfect, but it provides data authentication by reusing checksum fields for storing MACs. Edit 2: also check out bcachefs encryption design doc: [link] (also not perfect, but uses proper AEAD — ChaCha20-Poly1305. I sent some questions and suggestions to the author, but received no reply :/)
How encryption was added to ZFS, with authentication via checksum fields
@drbawb Dec 2022 Recommends
on HN thread Apple advances user security with powerful new data protections
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 sorts of trade-offs necessary to do full-disk encryption at scale. [1]: [this video]
Covers trade-offs of encryption at scale in ZFS

Citations, criticism and jokes

@RJIb8RBYxzAMX9u Oct 2016 Cites it
on HN thread FreeBSD 11.0 Now Available
This is still geli+zfs, and not native zfs encryption that was recently presented in OpenZFS Developer Summit [0]. [0] [this video]
Native ZFS encryption presentation
@zxv Mar 2017 Cites it
on HN thread Silent Data Corruption Is Real
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: [this video] Conference: [link]
Presentation of upcoming native ZFS encryption
@wspeirs Jun 2017 Cites it
on HN thread Playing with ZFS encryption on Linux
I work with Tom at Datto. He presented all of his design decisions at the OpenZFS developer conference here: [link] Slides: [link] Video: [this video]
Tom Caputi's design decisions for ZFS encryption

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close