ecryptfs team mailing list archive
-
ecryptfs team
-
Mailing list archive
-
Message #00018
[Bug 283477] Re: ecryptfs-utils does not handle changing password
Start by retrieving the mount passphrase:
$ ecryptfs-unwrap-passphrase ~/.ecryptfs/wrapped-passphrase LOGIN_PASSWORD
If any errors occur, you're probably not giving the correct
LOGIN_PASSWORD. When you do, it will just display the MOUNT_PASSPHRASE
on standard out.
To access your data, you always can manually mount as root with the MOUNT_PASSPHRASE:
$ sudo mount -t ecryptfs ~/.Private /mnt
(3) passphrase
MOUNT_PASSPHRASE
(1) aes
(1) 16 bytes
(n) no plaintext passthrough
(yes) proceed with the mount as root
(yes) add to signature cache
Or, to mount as yourself, you can manually insert the MOUNT_PASSPHRASE into your kernel keyring and then mount with:
$ ecryptfs_insert_wrapped_passphrase_into_keyring ~/.ecryptfs/wrapped-passphrase LOGIN_PASSWORD
$ mount.ecryptfs_private
$ ls ~/Private
To fix this for your next boot, you may need to:
$ ecryptfs_rewrap_passphrase ~/.ecryptfs/wrapped-passphrase PREVIOUS_LOGIN_PASSWORD NEW_LOGIN_PASSWORD
The PAM password change module has been hooked by pam_ecryptfs, so all
of this should have happen automatically. Can you tell me any more
about how you worked did this, in case there's an actual bug here?
:-Dustin
** Changed in: ecryptfs-utils (Ubuntu)
Status: New => Incomplete
** Changed in: ecryptfs
Status: New => Incomplete
--
ecryptfs-utils does not handle changing password
https://bugs.launchpad.net/bugs/283477
You received this bug notification because you are a member of eCryptfs,
which is a direct subscriber.
Status in eCryptfs - Enterprise Cryptographic Filesystem: Incomplete
Status in “ecryptfs-utils” source package in Ubuntu: Incomplete
Bug description:
Binary package hint: ecryptfs-utils
I recently changed my login password via:
passwd defcon
changed password
rebooted
Logged in and I get no private directory
I then tried ecryptfs-rewrap-passphrase ~/.ecryptfs/wrapped-passphrase oldpass newpass and rebooted and still no go, what can I do to recover my data??
Thanks
I also get this error:
defcon@ion:~/.ecryptfs$ mount.ecryptfs_private
keyctl_search: Required key not available
Follow ups
References