Skip to content

Check for eCryptfs cipher support at mount time.

Tim Sally ecryptfs lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1eCryptfs: check for eCryptfs cipher support at mountfs/ecryptfs/main.c+24 -01 reply
1/1eCryptfs: check for eCryptfs cipher support at mountfs/ecryptfs/main.c+13 -01 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/1] Check for eCryptfs cipher support at mount time.

eCryptfs will mount with any cipher supported by the crypto subsystem, even if the cipher is not supported by eCryptfs itself. An error will not occur until a write. This change checks for eCryptfs cipher support at mount time and will not mount the filesystem if the cipher is not supported.

The cipher name and blocksize are retrieved from ecryptfs_key_tfm because it will assign a default block size upon creation if none is specified in the mount options.

This issue originally reported by Tyler Hicks in 03/2009.
https://bugs.launchpad.net/ecryptfs/+bug/338914

Thanks,

Tim

Tim Sally (1):
eCryptfs: check for eCryptfs cipher support at mount

 fs/ecryptfs/main.c |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
Signature · 1 line
1.7.10.4