← Back to team overview

ecryptfs team mailing list archive

Re: [Bug 308249] Re: Input/output error with eCryptfs on Hardy Heron 8.04.1

 

Looks like the first echo didn't actually write encrypted data.
There's a lot of things that could have gone wrong with this.  For one
thing, if you were in the ~/ directory when you did these tests, that
probably wouldn't work.

After performing the mount, and the unmount, try 'cat /proc/mounts' to
make sure that the mounts succeeded.

More generally, I really don't recommend ecryptfs in Hardy.  It's far
more mature in Intrepid.


:-Dustin

-- 
Input/output error with eCryptfs on Hardy Heron 8.04.1
https://bugs.launchpad.net/bugs/308249
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in “ecryptfs-utils” source package in Ubuntu: New

Bug description:
Binary package hint: ecryptfs-utils

When configuring an eCryptfs directory as specified in http://ecryptfs.sourceforge.net/README, I cannot decrypt the stored files any more after unmounting / mounting the directory:

$ echo hello > ~/Secret/test.txt
$ cat ~/Secret/test.txt
hello
$ umount ~/Secret
$ mount -i ~/Secret
$ cat ~/Secret/test.txt
cat: /home/vlc/Secret/test.txt: Input/output error

The following errors can be found in the system log:

> The lower file appears to be a non-encrypted eCryptfs file; this is not supported in this version of the eCryptfs kernel module
> Error attempting to read the [user.ecryptfs] xattr from the lower file; return value = [4294967201]
> Valid eCryptfs headers not found in file header region or xattr region
> Attempt to read file that is not in a valid eCryptfs format, and plaintext passthrough mode is not enabled; returning -EIO

Ubuntu version: 8.04.1
ecryptfs-utils version: 38-2

Attached in file ecryptfs.txt please find the exact steps I executed to configure the eCryptfs directory.



References