← Back to team overview

ecryptfs team mailing list archive

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

 

ok I just moved .ecryptfs and .Private to another directory to reinstall
ecryptfs private
ecryptfs-setup-private
defcon@ion:~$ ecryptfs-setup-private
Enter your login passphrase:
Enter your login passphrase (again):
Enter your mount passphrase [leave blank to generate one]:
Enter your mount passphrase (again):

************************************************************************
YOU SHOULD RECORD YOUR MOUNT PASSPHRASE AND STORE IN A SAFE LOCATION:
THIS WILL BE REQUIRED IF YOU NEED TO RECOVER YOUR DATA AT A LATER TIME.
************************************************************************

Unable to read salt value from user's .ecryptfsrc file; using default
ERROR: Could not add passphrase to the current keyring
defcon@ion:~$


On Wed, Oct 15, 2008 at 7:52 AM, Dustin Kirkland
<dustin.kirkland@xxxxxxxxx>wrote:

> Your problems begin here:
>  * Error attempting to unwrap passphrase and insert into the user session
> keyring; rc = [-5]
>
> If ecryptfs cannot unwrap the passphrase, it cannot perform the mount
> and you will not be able to read your data.
>
> Looking at the system log, it says:
>  * ion ecryptfs-insert-wrapped-passphrase-into-keyring: Incorrect wrapping
> key for file [/home/defcon/.ecryptfs/wrapped-passphrase]
>
> This means that you're trying to unwrap the mount passphrase with the
> wrong login password.  You might try both your current, and your new
> password, or any other that you might have used.
>
> When you can unwrap your mount passphrase successfully, you should be
> able to perform the mount.
>
> In the case that you are not able to unwrap your passphrase, you should
> have recorded it somewhere.  If you setup your Encrypted Private Directory
> in the installer, there was an installation screen that said:
>
>   There is no way to recover this passphrase if you lose it. To avoid
>    losing data, you should normally write down the passphrase and keep it
>    in a safe place separate from this computer.
>    .
>    Your new encryption passphrase is as follows:
>    ${PASSPHRASE}
>    Please write this down and store it separately from this computer.
>
> Or, if you used 'ecryptfs-setup-private' to setup your ~/Private
> directory, it said:
>
>    ************************************************************************
>    YOU SHOULD RECORD THIS MOUNT PASSPHRASE AND STORE IN A SAFE LOCATION:
>    ${PASSPHRASE}
>    THIS WILL BE REQUIRED IF YOU NEED TO RECOVER YOUR DATA AT A LATER TIME.
>    ************************************************************************
>
>
> :-Dustin
>
> --
> ecryptfs-utils does not handle changing password
> https://bugs.launchpad.net/bugs/283477
> You received this bug notification because you are a direct subscriber
> of the bug.
>

-- 
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