Skip to content
0:00 / 0:00

#zfs#encryption#openzfs

ZFS Native Encryption by Tom Caputi

OpenZFS

4.2K subscribers • 1 video on Hallway

YouTube
  • Recommended by 2 people: 2 on Hacker News.
  • A classic. People kept recommending it from 2017 to 2022.
  • Presented by Tom Caputi, software engineer at Datto

Advanced. Deep dive for people who know the field.

13K views10 years ago2 recommendations

Systems programmingSecurityOperating systemsCryptography

Tom Caputi presents the design, implementation, and cryptographic trade-offs of native encryption in the ZFS file system.

The uploader added no description.

Why it's here

2 people recommend this

What people say. Recommended for its deep dive into the design decisions and cryptographic challenges of implementing native filesystem encryption.

dcheston Hacker News • Recommends

On “TFS: A file system built for performance, space efficiency, and scalability”

…cek 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: link to 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 :/)…

drbawbon Hacker News • Recommends

On “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 encryption1 covers many of these sorts of trade-offs necessary to do full-disk encryption at scale. 1: link to this video

RJIb8RBYxzAMX9uon Hacker News • Mentions

On “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 link to this video

zxvon Hacker News • Mentions

On “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: link to this video Conference: link

wspeirson Hacker News • Mentions

On “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: link to this video