ecryptfs team mailing list archive
-
ecryptfs team
-
Mailing list archive
-
Message #01168
Re: [Bug 402222] Re: Encrypted Private Directory Not Mounted at Logon
The bug is in commit 407, this part of the patch and hunk.
I'm testing a fix that changes this patch...
=== modified file 'src/libecryptfs/key_management.c'
--- src/libecryptfs/key_management.c 2009-07-17 05:32:26 +0000
+++ src/libecryptfs/key_management.c 2009-07-17 07:32:40 +0000
@@ -583,23 +583,25 @@
/* If the kernel supports filename encryption, add the associated
* filename encryption key to the keyring as well
*/
- if (ecryptfs_get_version(&version) == 0 &&
+ if (ecryptfs_get_version(&version) != 0 ||
ecryptfs_supports_filename_encryption(version)) {
if ((rc = ecryptfs_add_passphrase_key_to_keyring(
auth_tok_sig,
decrypted_passphrase,
- ECRYPTFS_DEFAULT_SALT_FNEK_HEX))) {
+ ECRYPTFS_DEFAULT_SALT_FNEK_HEX)) < 0) {
syslog(LOG_ERR,
"Error attempting to add filename encryption key to "
"user session keyring; rc = [%d]\n", rc);
+ goto out;
}
}
if ((rc = ecryptfs_add_passphrase_key_to_keyring(auth_tok_sig,
decrypted_passphrase,
- salt))) {
+ salt)) < 0) {
syslog(LOG_ERR, "Error attempting to add passphrase key to "
"user session keyring; rc = [%d]\n", rc);
- }
+ } else
+ rc = 0;
out:
return rc;
}
--
Encrypted Private Directory Not Mounted at Logon
https://bugs.launchpad.net/bugs/402222
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.
Status in “ecryptfs-utils” package in Ubuntu: In Progress
Bug description:
Binary package hint: ecryptfs-utils
When logging in, a user's encrypted private directory is no longer automatically mounted.
As a workaround, ecryptfs-mount-private works to mount the directory. If user's entire home directory is encrypted, this is a pretty big issue as user must drop to tty at GDM to mount the directory before returning to graphical logon and proceeding to log in to session.
ProblemType: Bug
Architecture: i386
Date: Tue Jul 21 09:42:28 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: wl
Package: ecryptfs-utils 76-0ubuntu2
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-3.19-generic
SourcePackage: ecryptfs-utils
Uname: Linux 2.6.31-3-generic i686
References