~arges/ubuntu/precise/ecryptfs-utils/fix-lp1052038

  • Committer: Chris J Arges
  • Date: 2012-10-26 15:09:12 UTC
  • Revision ID: chris.j.arges@canonical.com-20121026150912-qxb36zfbs647qyau
[ Dustin Kirkland ]
* src/utils/mount.ecryptfs_private.c: LP: #1052038
  - fix race condition, which typically manifests itself with a user
    saying that their home directory is not accessible, or that their
    filenames are not decrypted
  - the root of the problem is that we were reading the signature file,
    ~/.ecryptfs/Private.sig, twice; in some cases, the first one succeeds,
    so the file encryption signature is read and key is loaded, but then
    some other process (usually from PAM, perhaps a cron job or a
    subsequent login) mounts the home directory before the filename
    encryption key is loaded;  thus, $HOME is mounted but filenames are
    not decrypted, so the second read of ~/.ecryptfs/Private.sig fails
    as that file is not found
  - the solution is to rework the internal fetch_sig() function and read
    one or both signatures within a single open/read/close operation of
    the file
Filename Latest Rev Last Changed Committer Comment Size
..
.pc 81 12 years ago Package Import Robot Add debian/patches/automount-fork-exit.patch (LP: Diff
debian 2 16 years ago Bazaar Package Importer * Initial release. * Repackaged upstream tarball w Diff
doc 1 16 years ago Bazaar Package Importer Import upstream version 15 Diff
m4 1.1.9 15 years ago Bazaar Package Importer Import upstream version 48 Diff
po 1.1.28 14 years ago Bazaar Package Importer Import upstream version 83 Diff
src 1 16 years ago Bazaar Package Importer Import upstream version 15 Diff
tests 1.1.41 12 years ago Package Import Robot Import upstream version 96 Diff
aclocal.m4 78 12 years ago Package Import Robot [ Dustin Kirkland ] * scripts/release.sh: - fix 64.1 KB Diff Download File
AUTHORS 34 15 years ago Bazaar Package Importer * Merge from debian unstable, remaining changes (D 535 bytes Diff Download File
ChangeLog 1.1.20 14 years ago Bazaar Package Importer Import upstream version 75 4 KB Diff Download File
File compile 1.1.28 14 years ago Bazaar Package Importer Import upstream version 83 3.6 KB Diff Download File
File config.guess 73 12 years ago Package Import Robot [ Marc Deslauriers ] * SECURITY UPDATE: privilege 43.4 KB Diff Download File
config.h.in 63 14 years ago Bazaar Package Importer [ David Planella ] * Makefile.am, configure.ac, de 3.1 KB Diff Download File
File config.sub 73 12 years ago Package Import Robot [ Marc Deslauriers ] * SECURITY UPDATE: privilege 34.3 KB Diff Download File
File configure 80 12 years ago Package Import Robot [ Dustin Kirkland ] * CONTRIBUTING: - added a ne 539 KB Diff Download File
configure.ac 80 12 years ago Package Import Robot [ Dustin Kirkland ] * CONTRIBUTING: - added a ne 10.3 KB Diff Download File
COPYING 1 16 years ago Bazaar Package Importer Import upstream version 15 17.5 KB Diff Download File
File depcomp 56 14 years ago Bazaar Package Importer Merged upstream release 18.1 KB Diff Download File
INSTALL 1 16 years ago Bazaar Package Importer Import upstream version 15 7.8 KB Diff Download File
File install-sh 56 14 years ago Bazaar Package Importer Merged upstream release 13.3 KB Diff Download File
File ltmain.sh 73 12 years ago Package Import Robot [ Marc Deslauriers ] * SECURITY UPDATE: privilege 276 KB Diff Download File
Makefile.am 1.1.41 12 years ago Package Import Robot Import upstream version 96 1 KB Diff Download File
Makefile.in 80 12 years ago Package Import Robot [ Dustin Kirkland ] * CONTRIBUTING: - added a ne 27.6 KB Diff Download File
File missing 1.1.24 14 years ago Bazaar Package Importer Import upstream version 79 11.1 KB Diff Download File
NEWS 34 15 years ago Bazaar Package Importer * Merge from debian unstable, remaining changes (D 1.1 KB Diff Download File
File py-compile 56 14 years ago Bazaar Package Importer Merged upstream release 4 KB Diff Download File
README 51 14 years ago Bazaar Package Importer [ Dustin Kirkland ] * src/utils/ecryptfs-setup-swa 12.2 KB Diff Download File
THANKS 1.1.41 12 years ago Package Import Robot Import upstream version 96 617 bytes Diff Download File