** Changed in: ecryptfs-utils (Ubuntu)
Assignee: (unassigned) => Dustin Kirkland (kirkland)
--
After moving home directory to different computer ecryptfs-mount-private
reports error
https://bugs.launchpad.net/bugs/322123
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:
STEPS TO REPRODUCE:
1) You need to have an installation of Ubuntu 9.04 and 8.10 with the same
username but different login passphrases. When you set up your private
directory on 9.04 be sure to use a different mount passphrase then your login
passphrase.
2) Migrate /home directory from a computer running 9.04 Alpha 3 to a computer
running 8.10
3) Install ecryptfs-utils
4) run ecryptfs-mount-private
5) error is produced:
Error attempting to unwrap passphrase and insert into the user session keyring;
rc = [-5]. Check the system log for more information from libecryptfs.
WORKAROUND:
By editing the ecryptfs-mount-private script slightly, and executing it, it
asks for the login passphrase (for the first 9.04 computer) and mounts the
~/Private directory. I attached a diff between the edited version and the
original version.
TERMINAL OUTPUT:
kompu...@ubuntu:~$ ecryptfs-mount-private
Enter your login passphrase:
Unable to read salt value from user's .ecryptfsrc file; using default
Error attempting to unwrap passphrase and insert into the user session keyring;
rc = [-5]. Check the system log for more information from libecryptfs.
kompu...@ubuntu:~$ keyctl show
Session Keyring
-3 --alswrv 1001 -1 keyring: _uid_ses.1001
853123054 --alswrv 1001 -1 \_ keyring: _uid.1001
kompu...@ubuntu:~$ ./ecryptfs-mount-private
Enter your login passphrase:
Unable to read salt value from user's .ecryptfsrc file; using default
Inserted auth tok with sig [2144fec175f64989] into the user session keyring
kompu...@ubuntu:~$ keyctl show
Session Keyring
-3 --alswrv 1001 -1 keyring: _uid_ses.1001
853123054 --alswrv 1001 -1 \_ keyring: _uid.1001
986493151 --alswrv 1001 1001 \_ user: 2144cef175f69499
Dustin, there is no need to make a change, this is simply here as a record of
the issue and the discussion we had.
_______________________________________________
Mailing list: https://launchpad.net/~ecryptfs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ecryptfs
More help : https://help.launchpad.net/ListHelp