ZFS Native Encryption by Tom Caputi
Channel:OpenZFS · Length:49:43 · Published:2016-10-10 · Views:13633
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
- Lexical Scanning in Go - Rob Pike · GoogleFOSSSydney · 51:17
- "Testing Distributed Systems w/ Deterministic Simulation" by Will Wilson · Strange Loop Conference · 40:20
- Behind the Scenes of iOS Security · Black Hat · 51:31
- The Value of Values with Rich Hickey · InfoQ · 31:43
- Why Electronic Voting Is Still A Bad Idea · Tom Scott · 12:00
- But how does bitcoin actually work? · 3Blue1Brown · 25:15
- AWS re:Invent 2018: Amazon DynamoDB Deep Dive: Advanced Design Patterns for DynamoDB (DAT401) · Amazon Web Services · 59:56
- "Turning the database inside out with Apache Samza" by Martin Kleppmann · Strange Loop Conference · 47:42
- Diffie-Hellman Key Exchange · Art of the Problem · 8:38
- BlackHat USA 2011: SSL And The Future Of Authenticity · Christiaan008 · 48:01
- Conflict Resolution for Eventual Consistency • Martin Kleppmann • GOTO 2016 · GOTO Conferences · 51:35
- Blockchains Are a Bad Idea (James Mickens) · HBS Digital Initiative · 14:34
- Line Goes Up – The Problem With NFTs · Folding Ideas · 2:18:23
- 01 - Course Introduction & Relational Model (CMU Databases Systems / Fall 2019) · CMU Database Group · 1:06:44
- Theory and Practice of Cryptography · Google TechTalks · 1:32:07
- Why Electronic Voting is a BAD Idea - Computerphile · Computerphile · 8:21