Thanks for the bug report.

I just tested this, using a user named "foo", with password of "(foo)".

The ecryptfs-setup-private works to completion.

I am then able to log out, and log back in with password "(foo)".  My
private directory mounts fine.

There are other things that can cause ecryptfs-add-passphrase to fail.
The most common problem is when the passphrase is already in your
keyring.

Perhaps you can try running ecryptfs-setup-private again, but this time,
ensure that your keyring is cleared first.

You can display your keyring with "keyutils show", and clear it with
"keyutils clear @u"

:-Dustin

** Changed in: ecryptfs-utils (Ubuntu)
       Status: New => Incomplete

-- 
ecryptfs-setup-private accepts but cannot add to keyring a mount passphrase 
containing parentheses
https://bugs.launchpad.net/bugs/290064
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in “ecryptfs-utils” source package in Ubuntu: Incomplete

Bug description:
Binary package hint: ecryptfs-utils

~$ lsb_release -rd
Description:    Ubuntu 8.10
Release:        8.10

$ apt-cache policy ecryptfs-utils 
ecryptfs-utils:
  Installed: 53-1ubuntu11

Trying to set up a ~/Private with a mount passphrase containing any parentheses 
( "(",")" ) will initially be accepted but the script will fail on trying to 
add the passphrase to the keyring:

# Add the passphrase to current keyring
# On subsequent logins, this should be handled by "pam_ecryptfs.so unwrap"
response=`printf "$MOUNTPASS" | ecryptfs-add-passphrase -`
if [ $? -ne 0 ]; then
        error "Could not add passphrase to the current keyring"
fi

This has worked previously.

_______________________________________________
Mailing list: https://launchpad.net/~ecryptfs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ecryptfs
More help   : https://help.launchpad.net/ListHelp

Reply via email to