Hide Forgot
Description of problem: When try to mount an directory with file name encryption, the option is still ignored. Version-Release number of selected component (if applicable): ecryptfs-utils-75-5.el5_7.2 How reproducible: every time Steps to Reproduce: 1. mkdir /tmp/testdir 2. mount -t ecryptfs -o ecryptfs_enable_filename_crypto=y,ecryptfs_passthrough=no,key=passphrase,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs /tmp/testdir /tmp/testdir 3. mount (will show): /tmp/testdir on /tmp/testdir type ecryptfs (rw,ecryptfs_sig=d395309aaad4de06,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs) 4. echo "This is a test" > /tmp/testdir/test 5. umount /tmp/testdir 6. ls /tmp/testdir (will show): test Actual results: The file content is encrypted, but not the file name self. Expected results: The file content and the file name to be encrypted. Additional info:
kernel in RHEL-5 does not support file name encryption: # modprobe ecryptfs # cat /sys/fs/ecryptfs/version 119 File name encryption support flag is 0x100 = 256 So there is no bug, ecryptfs kernel module present in rhel5 does not support this. Changing component to kernel.
eCryptfs is a tech preview offering in RHEL5. We appreciate your testing and feedback; this bug is an RFE for expanded functionality in the tech preview offering. We don't currently plan any significant enhancements to eCryptfs features in RHEL5. If this is an important requirement for your RHEL deployment, please communicate that request through your RHEL support channels. Closing WONTFIX for now. Thanks, -Eric