ecryptfs team mailing list archive
-
ecryptfs team
-
Mailing list archive
-
Message #00142
[Bug 290064] Re: ecryptfs-setup-private accepts but cannot add to keyring a mount passphrase containing parentheses
Thanks for the followup.
Actually, I'm going to leave the bug open, but "Incomplete".
If you can produce another, second password (that doesn't give anything
away about your other password) that I can use to reproduce this
problem, I'll work on a fix.
Note the particulars of the printf builtin function in dash/bash. That
might help you figure out the problem. Using a double-quote could
probably introduce problems. I'll look at that.
Thanks,
:-Dustin
--
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: Invalid
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.
References