Comment 11 for bug 283477

Revision history for this message
Dustin Kirkland  (kirkland) 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