ext4 encryption patches
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest20 patches 6 repliesIn review
- v122 patches 21 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/20 | ext4 crypto: add ext4_mpage_readpages()fs/ fs/ fs/ +1 more | +271 | 0 replies | |
| 2/20 | ext4 crypto: reserve codepoints used by the ext4 encryption featurefs/ | +19 | 0 replies | |
| 3/20 | ext4 crypto: add ext4 encryption Kconfigfs/ | +17 | 0 replies | |
| 4/20 | ext4 crypto: export ext4_empty_dir()fs/ fs/ | +7 | 0 replies | |
| 5/20 | ext4 crypto: add encryption xattr supportfs/ | +3 | 0 replies | |
| 6/20 | ext4 crypto: add encryption policy and password salt supportfs/ fs/ fs/ +2 more | +306 | 0 replies | |
| 7/20 | ext4 crypto: add ext4 encryption facilitiesfs/ fs/ fs/ +3 more | +623 | 0 replies | |
| 8/20 | ext4 crypto: add encryption key management facilitiesfs/ fs/ fs/ +1 more | +179 | 6 replies | |
| 9/20 | ext4 crypto: validate context consistency on lookupfs/ | +7 | 0 replies | |
| 10/20 | ext4 crypto: inherit encryption policies on inode and directory createfs/ | +16 | 0 replies | |
| 11/20 | ext4 crypto: implement the ext4 encryption write pathfs/ fs/ fs/ +1 more | +164 | 0 replies | |
| 12/20 | ext4 crypto: implement the ext4 decryption read pathfs/ fs/ fs/ | +90 | 0 replies | |
| 13/20 | ext4 crypto: filename encryption facilitiesfs/ fs/ fs/ +2 more | +779 | 0 replies | |
| 14/20 | ext4 crypto: teach ext4_htree_store_dirent() to store decrypted filenamesfs/ fs/ fs/ +1 more | +35 | 0 replies | |
| 15/20 | ext4 crypto: insert encrypted filenames into a leaf directory blockfs/ fs/ fs/ | +79 | 0 replies | |
| 16/20 | ext4 crypto: partial update to namei.c for fname cryptofs/ | +101 | 0 replies | |
| 17/20 | ext4 crypto: filename encryption modificationsfs/ | +204 | 0 replies | |
| 18/20 | ext4 crypto: enable filename encryptionfs/ fs/ | +67 | 0 replies | |
| 19/20 | ext4 crypto: Add symlink encryptionfs/ fs/ fs/ +2 more | +191 | 0 replies | |
| 20/20 | ext4 crypto: enable encryption feature flagfs/ fs/ fs/ +3 more | +79 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH-v2 00/20] ext4 encryption patches
Changes since the last version of the patches
* Filename encryption now uses ciphertext stealing mode, which is more space efficient
* Fixed a bug when deleting encrypted htree directories w/o the key available
* Cleaned up comments, copyrights, and whitespace
* The encryption feature is not advertised via /sys/fs/ext4/features
* Remove unneeded Kconfig dependencies (CTR, SHA1, SHA512, and HMAC)
* Cleaned up and refactored the file name and data path crypto code
* Support encrypted fast symlinks
* Lots of other cleanups suggested by reviewers (thanks, all!)
Note: this version of the patches requires e2fsprogs commit v1.42.12-522-ga672190 or newer.
Michael Halcrow (13):
ext4 crypto: export ext4_empty_dir()
ext4 crypto: add encryption xattr support
ext4 crypto: add encryption policy and password salt support ext4 crypto: add ext4 encryption facilities
ext4 crypto: add encryption key management facilities
ext4 crypto: inherit encryption policies on inode and directory create ext4 crypto: implement the ext4 encryption write path
ext4 crypto: implement the ext4 decryption read path
ext4 crypto: filename encryption facilities
ext4 crypto: insert encrypted filenames into a leaf directory block ext4 crypto: partial update to namei.c for fname crypto ext4 crypto: filename encryption modifications
ext4 crypto: enable filename encryption
Theodore Ts'o (7):
ext4 crypto: add ext4_mpage_readpages()
ext4 crypto: reserve codepoints used by the ext4 encryption feature ext4 crypto: add ext4 encryption Kconfig
ext4 crypto: validate context consistency on lookup
ext4 crypto: teach ext4_htree_store_dirent() to store decrypted
filenames
ext4 crypto: Add symlink encryption
ext4 crypto: enable encryption feature flag
fs/ext4/Kconfig | 17 ++ fs/ext4/Makefile | 4 +- fs/ext4/crypto.c | 500 ++++++++++++++++++++++++++++++++++ fs/ext4/crypto_fname.c | 709 ++++++++++++++++++++++++++++++++++++++++++++++++ fs/ext4/crypto_key.c | 165 +++++++++++ fs/ext4/crypto_policy.c | 183 +++++++++++++ fs/ext4/dir.c | 79 ++++-- fs/ext4/ext4.h | 177 +++++++++++- fs/ext4/ext4_crypto.h | 147 ++++++++++ fs/ext4/extents.c | 6 + fs/ext4/file.c | 19 +- fs/ext4/ialloc.c | 27 +- fs/ext4/inline.c | 14 +- fs/ext4/inode.c | 130 ++++++++- fs/ext4/ioctl.c | 85 ++++++ fs/ext4/namei.c | 563 ++++++++++++++++++++++++++++++++------ fs/ext4/page-io.c | 46 +++- fs/ext4/readpage.c | 328 ++++++++++++++++++++++ fs/ext4/super.c | 37 ++- fs/ext4/symlink.c | 109 +++++++- fs/ext4/xattr.h | 3 + 21 files changed, 3211 insertions(+), 137 deletions(-) create mode 100644 fs/ext4/crypto.c create mode 100644 fs/ext4/crypto_fname.c create mode 100644 fs/ext4/crypto_key.c create mode 100644 fs/ext4/crypto_policy.c create mode 100644 fs/ext4/ext4_crypto.h create mode 100644 fs/ext4/readpage.c
Signature · 1 line
2.3.0