Comment 15 for bug 283477

Revision history for this message
Dustin Kirkland  (kirkland) wrote : Re: [Bug 283477] Re: ecryptfs-utils does not handle changing password

The code generating the error message you see looks like this:

    response=`ecryptfs-add-passphrase "$MOUNTPASS"`
    if [ $? -ne 0 ]; then
            error "Could not add passphrase to the current keyring"
    fi

Also, note the following from the manpage:
       Be sure to properly escape your parameters according to your
shell's special character nuances, and also surround the parameters by
double quotes, if necessary.

Are you using a mount passphrase of your choosing, or are you having
ecryptfs choose a random one for you?

:-Dustin