~/talk

fs-verity: Native File-based Authenticity

Talkat Linux Security Summit North America 2018 · 2018-08-27..08-28· [security]
links:none on file
links:none on file
slides:none on file

File-level authenticated hashing that behaves like DM-Verity but for individual read-only files: it appends a per-file Merkle tree plus a small descriptor to the file, written by userspace with fsverity_setup, then flips the fsverity bit in the inode to make the file read-only. Kernel code (ext4 and f2fs supported) verifies blocks on demand via hooked readpages, exposes the measurement via fsverity measure ioctl, disallows direct-IO, supports optional PKCS7 signatures and fscrypt, costs ~1/120 extra metadata for large files with CPU hashing overhead on low-end devices, and has upstream patches pending.

AI-written summary · about

  1. 0:00Introduction
  2. 1:02Background
  3. 1:25Outline
  4. 1:44Hash
  5. 3:18Firmware
  6. 3:46Dictionary structures
  7. 4:21IO errors
  8. 5:55Android verified boot
  9. 6:50DM Verity
  10. 8:24Partial disk authentication
  11. 9:25fsverity
  12. 10:36contents of a file
  13. 12:14DMVerde
  14. 12:50Data Fields
  15. 13:18File Measurement
  16. 14:07fsparity
  17. 15:12Verification
  18. 16:47File measurements
  19. 22:21Performance impacts
  20. 22:58Smaller files
  21. 23:53Performance
  22. 24:54Power consumption
  23. 25:48Delayed verification
  24. 27:38Forward error correction
  25. 28:18Protecting against a man on the disc
  26. 30:15attestation
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.