Skip to content

eCryptfs: Support multiple keys per inode

Michael Halcrow lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8eCryptfs: Add key list structure; search keyringfs/ecryptfs/crypto.c fs/ecryptfs/ecryptfs_kernel.h fs/ecryptfs/keystore.c +1 more+742 -4012 replies
2/8eCryptfs: Use list_for_each_entry_safe() when wiping auth toksfs/ecryptfs/keystore.c+4 -110 replies
3/8eCryptfs: kmem_cache objects for multiple keys; init/exit functionsfs/ecryptfs/main.c+31 -80 replies
4/8eCryptfs: Fix Tag 1 parsing codefs/ecryptfs/keystore.c+33 -452 replies
5/8eCryptfs: Fix Tag 3 parsing codefs/ecryptfs/keystore.c+35 -540 replies
6/8eCryptfs: Fix Tag 11 parsing codefs/ecryptfs/keystore.c+27 -490 replies
7/8eCryptfs: Fix Tag 11 writing codefs/ecryptfs/keystore.c+22 -170 replies
8/8eCryptfs: Update comment and debug statementfs/ecryptfs/crypto.c fs/ecryptfs/debug.c+0 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] eCryptfs: Support multiple keys per inode

This series of patches to eCryptfs introduces support for associating multiple keys with individual files. When mounting, eCryptfs will register one key for each key signature/identifier specified by an ecryptfs_sig= mount option. These keys will all be used to encrypt the FEK for each eCryptfs inode. This patch set also adds support for searching the user's keyring for keys when opening existing files; this allows the user to add keys to his keyring at any time, and eCryptfs will use those keys to open files protected by those keys.