ecryptfs team mailing list archive
-
ecryptfs team
-
Mailing list archive
-
Message #01491
[Bug 455709] Re: "mounting eCryptfs: [-2] No such file or directory" when trying to mount encrypted home
Still doesn't work, with the same errors.
root@beuno-laptop:/mnt# mount -t ecryptfs -o rw,relatime,ecryptfs_fnek_sig=XXXXXXXXX,ecryptfs_sig=YYYYYYYYY,ecryptfs_cipher=aes,ecryptfs_key_bytes=16 /media/59619bec-a6cf-4fc1-9a7a-9a992cd31ce8/home/beuno/.Private /mnt/hdext
Passphrase:
Enable plaintext passthrough (y/n) [n]: n
Attempting to mount with the following options:
ecryptfs_unlink_sigs
ecryptfs_fnek_sig=a521ad46fa60c9c7
ecryptfs_key_bytes=16
ecryptfs_cipher=aes
ecryptfs_sig=a521ad46fa60c9c7
Mounted eCryptfs
root@beuno-laptop:/mnt# ls hdext/
ls: cannot access hdext/Pictures: No such file or directory
ls: cannot access hdext/mysqlcc: No such file or directory
ls: cannot access hdext/installed-software: No such file or directory
ls: cannot access hdext/Videos: No such file or directory
ls: cannot access hdext/Ubuntu One: No such file or directory
ls: cannot access hdext/pentacorp: No such file or directory
ls: cannot access hdext/Desktop: No such file or directory
ls: cannot access hdext/agile_usability.pdf: No such file or directory
ls: cannot access hdext/Dropbox: No such file or directory
ls: cannot access hdext/martin: No such file or directory
ls: cannot access hdext/debian: No such file or directory
I wonder if there's anything odd with the passphrase. I can use either the output of ecryptfs-unwrap-passphrase or my users' log in password (which was the same one on that HD).
--
"mounting eCryptfs: [-2] No such file or directory" when trying to mount encrypted home
https://bugs.launchpad.net/bugs/455709
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.
Status in “ecryptfs-utils” package in Ubuntu: Confirmed
Bug description:
Binary package hint: ecryptfs-utils
When trying to mount my encrypted home from an external disc, doing the following command:
mount -t ecryptfs -o ecryptfs_sig=<FIRST_SIG>,ecryptfs_fnek_sig=<SECOND_SIG>,ecryptfs_cipher=aes,ecryptfs_key_bytes=16 SRC_DIR TARGET_DIR
I get "mounting eCryptfs: [-2] No such file or directory"
The current workaround is:
- sudo su -
- keyctl clear @u
- keyctl list @u
(should be empty)
- ecryptfs-insert-wrapped-passphrase-into-keyring /path/to/your/wrapped-passphrase
- keyctl list @u
- mount.ecryptfs /path/to/your/encrypted/data /mnt/your/mount/dir
(it will first prompt you for a passphrase)
Open another terminal and run:
- ecryptfs-unwrap-passphrase /path/to/your/wrapped-passphrase
- copy and paste that long/random passphrase back into your other terminal, where you're doing the mount, this is your mount passphrase
- select (aes, 16, no passthrough)
- select yes for filename encryption
- in your other terminal, tail -n1 /path/to/your/Private.sig
- this is your fnek sig
- copy and paste this into your mount window
- Enter
You should have it mounted, but maybe not something you should use reliably.
ProblemType: Bug
Architecture: i386
Date: Mon Oct 19 16:03:06 2009
DistroRelease: Ubuntu 9.10
Package: ecryptfs-utils 81-0ubuntu2
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: ecryptfs-utils
Uname: Linux 2.6.31-14-generic i686
Follow ups
References