ZFS Native Encryption by Tom Caputi
OpenZFS2 HN recommenders · recommended in 2 months, 2016-2022
14K views · 10 years ago · talk · dated
Tom Caputi presents the design of native encryption for ZFS at the OpenZFS Developer Summit, including design decisions and how authentication uses checksum fields.
Recommended whenever ZFS encryption comes up as the authoritative explanation of how it was added and its trade-offs at scale.
51:32Behind the Scenes of iOS Security
Black Hat
127K views • 10 years ago
24:20Satoshi Has No Clothes: Failures in On-Chain Privacy by Ian Miers (Devcon4)
Ethereum Foundation
5K views • 7 years ago
1:01:27ZFS: The Last Word in File Systems Part 1
Deirdré Straughan
19K views • 14 years ago
1:25:25OpenZFS Office Hours with Matt Ahrens
OpenZFS
0 views • 13 years ago
35:31June 2021 FreeBSD Developer Summit: Raid-Z Expansion
FreeBSD
4K views • 5 years ago
1:05:45LibreSSL with Bob Beck
Jason Tubnor
25K views • 12 years ago
49:16XFS: Recent and Future Adventures in Filesystem Scalability - Dave Chinner
Linux.conf.au 2012 -- Ballarat, Australia
29K views • 14 years ago
46:00Scaling ZFS for NVMe - Allan Jude - EuroBSDcon 2022
EuroBSDCon
14K views • 4 years ago
1:05:51LibreSSL: The first 30 days, and what the Future Holds
Andrea Ross
5K views • 12 years ago
44:29Behind the scenes of iOS and Mac Security
Black Hat
36K views • 6 years ago
40:42Lucas Cavalcanti & Edward Wible - Exploring four hidden superpowers of Datomic
ClojureTV
29K views • 11 years ago
48:02BlackHat USA 2011: SSL And The Future Of Authenticity
Christiaan008
95K views • 15 years ago
1:32:08Theory and Practice of Cryptography
Google TechTalks
73K views • 18 years ago
49:45seL4 Is Free – What Does This Mean For You?
Linux.conf.au 2015 -- Auckland, New Zealand
10K views • 11 years ago
58:36Advanced Topics in Programming Languages: A Lock-Free Hash Table
GoogleTalksArchive
29K views • 14 years ago
51:02An Introduction to SQLite
Google TechTalks
80K views • 19 years ago
46:22DEF CON 19 - Moxie Marlinspike - SSL And The Future Of Authenticity
DEFCONConference
11K views • 13 years ago
52:54Rust at speed — building a fast concurrent database
Jon Gjengset
225K views • 7 years ago
35:16Filesystem in Rust - Kent Overstreet
The Linux Foundation
124K views • 2 years ago
1:30:50Lecture 7: Introduction to Galois Fields for the AES by Christof Paar
Introduction to Cryptography by Christof Paar
278K views • 12 years ago
5 comments from 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 sorts of trade-offs necessary to do full-disk encryption at scale. [1]: ▶ this video
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
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 :/)
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
This is still geli+zfs, and not native zfs encryption that was recently presented in OpenZFS Developer Summit [0]. [0] ▶ this video