← Back to team overview

ecryptfs team mailing list archive

[Bug 283477] Re: ecryptfs-utils does not handle changing password

 

Problem also seen on a fresh 9.10 with ecryptfs-utils 81-0ubuntu3.
Password changed via command-line 'passwd'.

/var/log/auth.log

Nov 26 22:50:32 machine passwd[7196]: pam_unix(passwd:chauthtok): password changed for bob
Nov 26 22:50:32 machine gnome-keyring-daemon[7199]: Couldn't unlock login keyring with provided password
Nov 26 22:50:32 machine gnome-keyring-daemon[7199]: Failed to unlock login on startup
Nov 26 22:50:32 machine passwd[7196]: gkr-pam: couldn't change password for 'login' keyring: 1
Nov 26 22:50:33 machine passwd[7203]: Incorrect wrapping key for file [/home/bob/.ecryptfs/wrapped-passphrase]
Nov 26 22:50:33 machine passwd[7203]: Error attempting to unwrap passphrase; rc = [-5]

As explained in http://ecryptfs.sourceforge.net/ecryptfs-pam-doc.txt
this case should be handled whithout any problems.

-- 
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: Fix Released
Status in “ecryptfs-utils” package in Ubuntu: Fix Released

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



References