Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: ecryptfs-utils

ecryptfs-utils (111-0ubuntu5) artful; urgency=medium [ Alberto Pianon ] * debian/patches/swapfile-support.patch: Fix swapfile support. (LP: #1670336) - src/utils/ecryptfs-setup-swap: revise script for a world with swapfiles. - src/utils/ecryptfs-setup-swap: make sure we can restart ecryptfs with systemd. -- Mathieu Trudel-Lapierre <cyphermox@ubuntu.com> Mon, 25 Sep 2017 13:31:22 -0400 ecryptfs-utils (111-0ubuntu4) yakkety; urgency=medium * Drop the hard-coded libnss3-1d dependency. -- Matthias Klose <doko@ubuntu.com> Tue, 13 Sep 2016 11:34:34 +0200 ecryptfs-utils (111-0ubuntu3) yakkety; urgency=medium * No-change rebuild for NSS. -- Matthias Klose <doko@ubuntu.com> Tue, 13 Sep 2016 09:34:49 +0200 ecryptfs-utils (111-0ubuntu2) yakkety; urgency=medium * SECURITY UPDATE: Information exposure via unencrypted swap partitions. The swap partition was not configured to use encryption when GPT partitioning was in use on NVMe and MMC drives. - debian/patches/CVE-2016-6224.patch: Properly handle the formatting of the path to swap partitions on NVMe and MMC drives so that they're correctly marked as not to be automatically mounted by systemd. Based on upstream patch from Jason Gerard DeRose. (LP: #1597154) - debian/ecryptfs-utils.postinst: Fix any unencrypted GPT swap partitions that have mistakenly remained marked as auto mount. This should only modify the swap partitions on systems that ecryptfs-setup-swap has been used on. (LP: #1447282, LP: #1597154) - CVE-2016-6224 -- Tyler Hicks <tyhicks@canonical.com> Thu, 14 Jul 2016 18:48:53 -0500 ecryptfs-utils (111-0ubuntu1) xenial; urgency=medium * src/utils/ecryptfs-setup-private: LP: #1328689 - fix a long standing bug, where setting up an encrypted private, encrypted home, or migrating to an encrypted home did not work correctly over ssh sessions - the root cause of the bug is some complexity in the handling of user keyrings and session keyrings - the long term solution would be to correctly use session keyrings - the short term solution is to continue linking user and session keyrings * xenial -- Dustin Kirkland <kirkland@ubuntu.com> Fri, 26 Feb 2016 17:58:16 -0600 ecryptfs-utils (110) xenial; urgency=medium [ Tyler Hicks ] * Remove unnecessary dependencies in the Debian packaging (LP: #1548975) - debian/control: Remove opencryptoki from ecryptfs-utils Suggests and libopencryptoki-dev from libecryptfs-dev Depends as openCryptoki is not a dependency of eCryptfs. - debian/rules: Remove openCryptoki related logic since it was not being used and is no longer needed - debian/control: Remove libtspi-dev from libecryptfs-dev Depends since --disable-tspi is passed to the configure script - debian/control: Remove libpkcs11-helper1-dev from libecryptfs-dev Depends since --disable-pkcs11-helper is passed to the configure script - debian/control: Remove libgpg-error-dev and libgpgme11-dev from libecryptfs-dev Depends since --disable-gpg is passed to the configure script - debian/control: Remove libgcrypt11-dev from Build-Depends and libecryptfs-dev Depends since --enable-nss is passed to the configure script to use NSS instead of Libgcrypt - debian/control: Remove libkeyutils-dev and libpam0g-dev from libecryptfs-dev Depends since these are build-time dependencies and not run-time dependencies -- Dustin Kirkland <kirkland@ubuntu.com> Tue, 23 Feb 2016 17:33:10 -0500 ecryptfs-utils (109) xenial; urgency=medium [ Maikel ] * doc/manpage/ecryptfs-migrate-home.8: Fix typos in man page (LP: #1518787) [ Kylie McClain ] * src/utils/mount.ecryptfs.c, src/utils/mount.ecryptfs_private.c: Fix build issues on musl libc (LP: #1514625) [ Colin Ian King ] * src/daemon/main.c: - Static analysis with Clang's scan-build shows that we can potentially overflow the input buffer if the input is equal or more than the buffer size. Need to guard against this by: 1. Only reading in input_size - 1 chars 2. Checking earlier on to see if input_size is value to insure that we read in at least 1 char [ Tyler Hicks ] * src/utils/mount.ecryptfs_private.c: - Refuse to mount over non-standard filesystems. Mounting over certain types filesystems is a red flag that the user is doing something devious, such as mounting over the /proc/self symlink target with malicious content in order to confuse programs that may attempt to parse those files. (LP: #1530566) -- Dustin Kirkland <kirkland@ubuntu.com> Fri, 22 Jan 2016 10:07:42 -0600 ecryptfs-utils (108) vivid; urgency=medium [ Martin Pitt ] * src/utils/ecryptfs-setup-swap: - Add setup-swap-check-links.patch: When commenting out existing swap, also consider device symlinks like /dev/mapper/ubuntu--vg-swap_1 or /dev/disks/by-uuid/ into account. Fixes broken cryptswap under LVM and manual setups. (LP: #1453738) * src/utils/ecryptfs-setup-swap, debian/ecryptfs-utils.postinst: - On upgrade, uncomment underlying unencrypted swap partitions that are referred to by a device link when crypttab and fstab have a "cryptswap*" device referring to them. * debian/control, debian/libecryptfs0.install, debian/libecryptfs0.links, debian/libecryptfs0.shlibs: - Rename libecryptfs0 to libecryptfs1 and adjust the packaging. It has actually shipped libecryptfs.so.1 since at least trusty. Add C/R/P: libecryptfs0 for smoother upgrades, this needs to be kept until after 16.04 LTS. [ Tyler Hicks ] * src/utils/mount.ecryptfs_private.c: Implement proper option parsing to restore the -f option when unmounting and display a helpful usage message (LP: #1454388) * src/utils/mount.ecryptfs_private.c: Add an option, -d, to umount.ecryptfs_private to treat the situation where the encrypted private session counter is nonzero, after decrementing it, as a non-error situation. No error message is printed to stderr and the exit status is 0. * src/pam_ecryptfs/pam_ecryptfs.c: Use the new umount.ecryptfs_private '-d' option to silence the error message that was printed to stderr when the encrypted private session counter is nonzero after being decremented. (LP: #1454319) * src/utils/ecryptfs-umount-private: Return 1 if umount.ecryptfs_private encounters an error. The ecryptfs-umount-private script was previously returning 0 even when umount.ecryptfs_private exited upon error. * debian/control: Fix 'Please add dh-python package to Build-Depends' build warning [ Dustin Kirkland ] * debian/libecryptfs1.install, debian/libecryptfs1.links, debian/libecryptfs1.shlibs: - fix ftbfs, add missing files -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 06 Aug 2015 12:49:20 -0500 ecryptfs-utils (107) utopic; urgency=medium [ Dustin Kirkland ] * scripts/release.sh: - a few more release script improvements, build the source package for the Ubuntu development distro * debian/control: - build depend on distro-info, which we use in our release script [ Tyler Hicks ] * src/libecryptfs/key_management.c: - Fix a regression when reading version 1 wrapped passphrase files. A return code indicating success was always returned even when an error was encountered. The impact is low since the error situation is still caught when validating either the wrapping password's signature or the wrapped passphrase's signature. Thanks to László Böszörményi for catching this mistake. - Reject empty passphrases passed into ecryptfs_wrap_passphrase() * src/libecryptfs/main.c: - Reject empty wrapping passphrases passed into generate_passphrase_sig() -- Dustin Kirkland <kirkland@ubuntu.com> Fri, 27 Mar 2015 17:52:59 -0500 ecryptfs-utils (106) utopic; urgency=medium [ Dustin Kirkland and Martin Pitt ] * debian/ecryptfs-utils.postinst: LP: #953875 - detect and clean up after nonexisting cryptswap devices [ Tyler Hicks ] * tests/userspace/Makefile.am: Fix the 'make check' failure present in the ecryptfs-utils-105 release tarball. The failure was due to the automake file not specifying that some data files should be distributed as part of the v1-to-v2-wrapped-passphrase test, causing the test to fail due to the missing files. [ Dustin Kirkland ] * scripts/release.sh: - ensure that we try a binary build as part of the release process - make sure we're in the original working directory when we release - remove the -x option, too noisy -- Dustin Kirkland <kirkland@ubuntu.com> Wed, 11 Mar 2015 18:38:12 -0500 ecryptfs-utils (105) utopic; urgency=low [ Dustin Kirkland ] * doc/manpage/ecryptfs.7: LP: #1267640 - fix inconsistency in man page for passphrase_passwd_file format * doc/manpage/ecryptfs-setup-private.1, src/utils/ecryptfs-setup- private, src/utils/ecryptfs-setup-swap: LP: #1420424 - use /dev/random rather than /dev/urandom for long lived keys * src/utils/ecryptfs-setup-private: - use /dev/urandom for our testing, as we read a lot of info * src/utils/ecryptfs-setup-swap: LP: #953875, #1086140 - fix a whitespace bug in a grep, that might cause us to not comment out the old swap space in /etc/fstab - offset the start of the encrypted swap space by 1KB, which ensures that we don't overwrite the UUID label on the header of the partition - use the aes-xts block cipher, and plain64 initialization vector, which are current best practice here - fixed a grammar nitpick [ Colin King ] * src/libecryptfs/key_management.c, src/utils/mount.ecryptfs.c: - A couple of minor fixes: Fix a memory leak and handle out of memory error, as found by using cppcheck. * src/utils/mount.ecryptfs.c - fix potential double free on yesno if get_string_stdin exits early without allocating a new buffer and we free yesno on the exit clean up path. * src/libecryptfs/cmd_ln_parser.c - remove redundant if / goto statement that does nothing. [ Anders Kaseorg ] * src/pam_ecryptfs/pam_ecryptfs.c: exit (not return) from forked child on error (LP: #1323421) [ Tyler Hicks ] * Introduce the version 2 wrapped-passphrase file format. It adds the ability to combine a randomly generated salt with the wrapping password (typically, a user's login password) prior to performing key strengthening. The version 2 file format is considered to be a intermediate step in strengthening the wrapped-passphrase files of existing encrypted home/private users. Support for reading/writing version 2 wrapped-passphrase files and transparent migration, through pam_ecryptfs, from version 1 to version 2 files is considered safe enough to backport to stable distro releases. The libecryptfs ABI around wrapped-passphrase file handling is not broken. - CVE-2014-9687 * Run wrap-unwrap.sh test as part of the make check target. * Add a new test, called v1-to-v2-wrapped-passphrase.sh, which is suitable for the make check target and verifies v1 to v2 wrapped-passphrase file migration. * Create a temporary file when creating a new wrapped-passphrase file and copy it to its final destination after the file has been fully synced to disk (LP: #1020902) -- Dustin Kirkland <kirkland@ubuntu.com> Wed, 11 Mar 2015 10:34:03 -0500 ecryptfs-utils (104) saucy; urgency=low [ Colin King ] * src/libecryptfs/ecryptfs-stat.c, tests/kernel/extend-file- random/test.c, tests/kernel/inode-race-stat/test.c, tests/kernel/trunc-file/test.c: - Fixed some 32 bit build warnings * src/libecryptfs/decision_graph.c, src/libecryptfs/key_management.c, src/libecryptfs/main.c, src/libecryptfs/module_mgr.c, src/utils/io.c, src/utils/mount.ecryptfs_private.c, tests/kernel/inotify/test.c, tests/kernel/trunc-file/test.c, tests/userspace/wrap-unwrap/test.c: - Fixed a pile of minor bugs (memory leaks, unclosed file descriptors, etc.) mostly in error paths * src/key_mod/ecryptfs_key_mod_passphrase.c, src/libecryptfs/main.c, src/pam_ecryptfs/pam_ecryptfs.c: - more Coverity fixes, memory leak, error checking, etc. [ Nobuto MURATA ] * fix an empty update-notifier window (LP: #1107650) - changes made in Rev.758 was incomplete [ Tyler Hicks ] * doc/manpage/ecryptfs.7: - adjust man page text to avoid confusion about whether the interactive mount helper takes a capital 'N' for the answer to y/n questions (LP: #1130460) * src/utils/ecryptfs_rewrap_passphrase.c: - Handle errors when interactively reading the new wrapping passphrase and the confirmation from stdin. Fixes a segfault (invalid memory read) in ecryptfs-rewrap-passphrase if there was an error while reading either of these passphrases. * configure.ac: - Set AM_CPPFLAGS to always include config.h as the first include file. Some .c files correctly included config.h before anything else. The majority of .c files got this wrong by including it after other header files, including it multiple times, or not including it at all. Including it in the AM_CPPFLAGS should solve these problems and keep future mistakes from happening in new source files. - Enable large file support (LFS) through the use of the AC_SYS_LARGEFILE autoconf macro. ecryptfs-utils has been well tested with LFS enabled because ecryptfs-utils is being built with '-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' in Debian-based distros. This is mainly needed for some of the in-tree regression tests but ecryptfs-utils, in general, should be built with LFS enabled. * debian/rules: - Don't append '-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' to the CFLAGS now that the upstream build enables LFS * tests/userspace/lfs.sh, tests/userspace/lfs/test.c: - Add a test to verify that LFS is enabled. This test is run under the make check target. * tests/kernel/enospc/test.c: - Fix test failures on 32 bit architectures due to large file sizes overflowing data types [ Dustin Kirkland ] * src/utils/ecryptfs-setup-swap: LP: #1172014 - write crypttab entry using UUID * src/utils/ecryptfs-recover-private: LP: #1028532 - error out, if we fail to mount the private data correctly [ Colin King and Dustin Kirkland ] * configure.ac, src/daemon/main.c, src/libecryptfs/cmd_ln_parser.c, src/libecryptfs/decision_graph.c, src/utils/mount.ecryptfs.c, tests/kernel/trunc-file/test.c: - remove some dead code, fix some minor issues raised by Coverity -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 23 Jan 2014 16:46:02 -0600 ecryptfs-utils (103) quantal; urgency=low [ Tyler Hicks ] * debian/rules: - Use dpkg-buildflags to inject distro compiler hardening flags into the build. This also fixes the hardening-no-fortify-functions lintian warnings. [ Dustin Kirkland ] * doc/manpage/ecryptfs-add-passphrase.1, doc/manpage/ecryptfsd.8, doc/manpage/ecryptfs-find.1, doc/manpage/ecryptfs-generate-tpm- key.1, doc/manpage/ecryptfs-insert-wrapped-passphrase-into- keyring.1, doc/manpage/ecryptfs-manager.8, doc/manpage/ecryptfs- migrate-home.8, doc/manpage/ecryptfs-mount-private.1, doc/manpage/ecryptfs-recover-private.1, doc/manpage/ecryptfs-rewrap- passphrase.1, doc/manpage/ecryptfs-rewrite-file.1, doc/manpage/ecryptfs-setup-private.1, doc/manpage/ecryptfs-setup- swap.1, doc/manpage/ecryptfs-stat.1, doc/manpage/ecryptfs-umount- private.1, doc/manpage/ecryptfs-unwrap-passphrase.1, doc/manpage/ecryptfs-verify.1, doc/manpage/ecryptfs-wrap- passphrase.1, doc/manpage/Makefile.am, doc/manpage/mount.ecryptfs.8, doc/manpage/mount.ecryptfs_private.1, doc/manpage/pam_ecryptfs.8, doc/manpage/umount.ecryptfs.8, doc/manpage/umount.ecryptfs_private.1, src/desktop/ecryptfs-find => src/utils/ecryptfs-find, src/desktop/Makefile.am, src/utils/Makefile.am: - add 3 new manpages, for ecryptfs-find, ecryptfs-verify, and ecryptfs-migrate-home - Add SEE ALSO section to manpages which were missing it - Mention "Debian and Ubuntu" in license location - move the ecryptfs-find utility to the proper location in src/utils * src/utils/Makefile.am: - fix broken build * debian/ecryptfs-utils.links: - link no longer needed for ecryptfs-find [ Colin King ] * === added directory tests/kernel/mmap-bmap, === added directory tests/kernel/xattr, tests/kernel/link.sh, tests/kernel/Makefile.am, tests/kernel/mknod.sh, tests/kernel/mmap-bmap.sh, tests/kernel/mmap- bmap/test.c, tests/kernel/tests.rc, tests/kernel/xattr.sh, tests/kernel/xattr/test.c: - ran the current eCryptfs tests on 3.8-rc4 with kernel gcov enabled and spotted a few trivial areas where it would be useful to up the test coverage on the code - so here are a few very simple additional tests to exercise eCryptfs a little further -- Dustin Kirkland <kirkland@ubuntu.com> Fri, 25 Jan 2013 12:57:51 -0600 ecryptfs-utils (102) quantal; urgency=low [ Dustin Kirkland ] * debian/control: - bump standards, no change [ Tyler Hicks ] * autogen.sh, scripts/release.sh, Makefile.am: - Break out the autoreconf and intltoolize commands from release.sh into an executable autogen.sh - Use the --copy option when invoking intltoolize - Include the new autogen.sh script in the release tarball * debian/rules, debian/control: - Use dh-autoreconf so that upstream sources can easily be used to build packages for all the stable Ubuntu releases in the ecryptfs-utils daily build PPA - Override the dh_autoreconf target by running the autogen.sh script - Drop Build-Depends on autotools-dev since dh-autoreconf is a superset of autotools-dev - Drop Build-Depends on autoconf, automake, and libtool since dh-autoreconf depends on all of these packages * m4/ac_python_devel.m4: - Fix FTBFS in Raring Ringtail due to multiarch Python. Be sure to include platform specific Python include directions in SWIG_PYTHON_CPPFLAGS. * src/utils/mount.ecryptfs_private.c: - Fix conditionals when checking whether to remove authentication tokens from the kernel keyring upon umount. This conditional was incorrectly modified in ecryptfs-utils-101, yet the authentication tokens still seem to be removed from the kernel keyring so it isn't clear if there was actually a user-facing regression. - Pass the FEKEK sig, rather than the FNEK sig, to ecryptfs_private_is_mounted() - Restore behavior of not printing error messages to syslog when unmounting and keys cannot be found in the kernel keyring. - Restore behavior of printing a useful error message about ecryptfs-mount-private when mounting and keys cannot be found in the kernel keyring - Fix memory leak and clean up free()'s in an error path - Use pointer assignment tests, rather than strlen(), to determine which key signatures were fetched * src/daemon/main.c, src/include/ecryptfs.h, src/libecryptfs/{Makefile.am,messaging.c,miscdev.c,netlink.c,sysfs.c}, doc/manpage/ecryptfsd.8, doc/design_doc/ecryptfs_design_doc_v0_2.tex: - Remove netlink messaging interface support - Netlink messaging support was superceded by the miscdev interface (/dev/ecryptfs) in upstream kernel version 2.6.26 in July, 2008 - Netlink messaging support was completely removed from the upstream kernel starting with version 2.6.32 in December, 2009 * src/jprobes/*, scripts/delete-cruft.sh: - Remove all jprobes code, as I don't use jprobes to debug eCryptfs kernel issues and I don't like the idea of maintaining these jprobes outside of the kernel tree * src/escrow/*: - Remove all escrow code, as it isn't used or maintained * tests/kernel/llseek.sh, tests/kernel/llseek/test.c, tests/userspace/wrap-unwrap.sh, tests/userspace/wrap-unwrap/test.c: - Migrate some old testcases over to the modern test framework * tests/lib/etl_funcs.sh: - Update etl_create_test_dir() to allow a parent directory to be specified when creating the directory * src/testcases: - Delete old testcases that were either too basic, covered by more extensive tests in the modern test framework, or just didn't work [ Nobuto MURATA ] * src/desktop/ecryptfs-record-passphrase: -- Dustin Kirkland <kirkland@ubuntu.com> Tue, 22 Jan 2013 16:02:24 -0600 ecryptfs-utils (101) quantal; urgency=low [ Eric Lammerts ] * src/libecryptfs/sysfs.c: LP: #1007880 - Handle NULL mnt pointer when sysfs is not mounted [ Tyler Hicks ] * src/utils/ecryptfs-migrate-home: LP: #1026180 - Correct minor misspelling * src/utils/ecryptfs-recover-private: LP: #1004082 - Fix option parsing when --rw is specified * src/utils/ecryptfs-recover-private: LP: #1028923 - Simplify success message to prevent incorrectly reporting that a read-only mount was performed when the --rw option is specified * tests/lib/etl_func.sh: - Add test library function to return a lower path from an upper path, based on inode numbers * tests/kernel/mmap-close.sh, tests/kernel/mmap-close/test.c: - Add regression test for open->mmap()->close()->dirty memory->munmap() pattern * tests/kernel/lp-561129.sh: - Add test for checking that a pre-existing target inode is properly evicted after a rename * tests/README: - Add documentation on the steps to take when adding new test cases [ Colin King ] * tests/kernel/lp-911507.sh: - Add test case for initializing empty lower files during open() * tests/kernel/lp-872905.sh: - Add test case to check for proper unlinking of lower files when lower file initialization fails * src/key_mod/ecryptfs_key_mod_openssl.c, src/key_mod/ecryptfs_key_mod_pkcs11_helper.c, src/libecryptfs/key_management.c, src/utils/mount.ecryptfs_private.c, src/utils/umount.ecryptfs.c: - address some issues raised by smatch static analysis - fix some memory leaks with frees - fix some pointer refs and derefs - fix some comment typos [ Dustin Kirkland ] * src/libecryptfs/key_management.c: - silence pam error message when errno == EACCES + "Error attempting to parse .ecryptfsrc file; rc = [-13]" * 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 - free memory used by char **sig on failure * debian/copyright: - fix lintian warning -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 25 Oct 2012 16:12:36 -0500 ecryptfs-utils (100) precise; urgency=low [ Tyler Hicks ] * src/pam_ecryptfs/pam_ecryptfs.c, src/libecryptfs/key_management.c: LP: #1024476 - fix regression introduced in ecryptfs-utils-99 when Encrypted Home/Private is in use and the eCryptfs kernel code is compiled as a module - drop check for kernel filename encryption support in pam_ecryptfs, as appropriate privileges to load the eCryptfs kernel module may not be available and filename encryption has been supported since 2.6.29 - always add filename encryption key to the kernel keyring from pam_mount [ Colin King ] * tests/kernel/inode-race-stat/test.c: - limit number of forks based on fd limits * tests/kernel/enospc.sh, tests/kernel/enospc/test.c, tests/kernel/Makefile.am, tests/kernel/tests.rc: - add test case for ENOSPC [ Tim Harder ] * m4/ac_python_devel.m4: LP: #1029217 - proplery save and restore CPPFLAGS and LIBS when python support is enabled -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 02 Aug 2012 16:33:22 -0500 ecryptfs-utils (99) quantal; urgency=low [ Dustin Kirkland ] * debian/ecryptfs-utils.postinst: LP: #936093 - ensure desktop file is executable [ Wesley Wiedenmeier ] * src/utils/mount.ecryptfs.c: LP: #329264 - remove old hack, that worked around a temporary kernel regression; ensure that all mount memory is mlocked [ Sebastian Krahmer ] * src/pam_ecryptfs/pam_ecryptfs.c: LP: #732614 - drop group privileges in the same places that user privileges are dropped - check return status of setresuid() calls and return if they fail - drop privileges before checking for the existence of ~/.ecryptfs/auto-mount to prevent possible file existence leakage by a symlink to a path that typically would not be searchable by the user - drop privileges before reading salt from the rc file to prevent the leakage of root's salt and, more importantly, using the incorrect salt - discovered, independently, by Vasiliy Kulikov and Sebastian Krahmer * src/pam_ecryptfs/pam_ecryptfs.c: LP: #1020904 - after dropping privileges, clear the environment before executing the private eCryptfs mount helper - discovered by Sebastian Krahmer * src/utils/mount.ecryptfs_private.c: LP: #1020904 - do not allow private eCryptfs mount aliases to contain ".." characters as a preventative measure against a crafted file path being used as an alias - force the MS_NOSUID mount flag to protect against user controlled lower filesystems, such as an auto mounted USB drive, that may contain a setuid-root binary + CVE-2012-3409 - force the MS_NODEV mount flag - after dropping privileges, clear the environment before executing umount - discovered by Sebastian Krahmer [ Tyler Hicks ] * src/libecryptfs/key_management.c: LP: #732614 - zero statically declared buffers to prevent the leakage of stack contents in the case of a short file read - discovered by Vasiliy Kulikov * src/libecryptfs/module_mgr.c, src/pam_ecryptfs/pam_ecryptfs.c: - fix compiler warnings -- Dustin Kirkland <kirkland@ubuntu.com> Fri, 13 Jul 2012 11:21:53 -0500 ecryptfs-utils (98) quantal; urgency=low [ Dustin Kirkland ] * debian/ecryptfs-utils.prerm: - drop the pre-removal ERRORs down to WARNINGs - these have caused a ton of trouble; whatever is causing ecryptfs-utils to be marked for removal should be fixed; but ecryptfs exiting 1 seems to be causing more trouble than it's worth - LP: #871021, #812270, #988960, #990630, #995381, #1010961 * doc/ecryptfs-faq.html: - update the frequently asked questions, which haven't seen much attention in a while now - drop a few references to sourceforge * doc/ecryptfs-pam-doc.txt, doc/manpage/fr/ecryptfs-add-passphrase.1, doc/manpage/fr/ecryptfs-generate-tpm-key.1, doc/manpage/fr/ecryptfs- insert-wrapped-passphrase-into-keyring.1, doc/manpage/fr/ecryptfs- mount-private.1, doc/manpage/fr/ecryptfs-rewrap-passphrase.1, doc/manpage/fr/ecryptfs-setup-private.1, doc/manpage/fr/ecryptfs- umount-private.1, doc/manpage/fr/ecryptfs-unwrap-passphrase.1, doc/manpage/fr/ecryptfs-wrap-passphrase.1, doc/manpage/fr/ecryptfs- zombie-kill.1, doc/manpage/fr/ecryptfs-zombie-list.1, doc/sourceforge_webpage/ecryptfs-article.pdf, doc/sourceforge_webpage/ecryptfs_design_doc_v0_1.pdf, doc/sourceforge_webpage/ecryptfs-faq.html, doc/sourceforge_webpage/ecryptfs-key-diagram-356.png, doc/sourceforge_webpage/ecryptfs-key-diagram-640.png, doc/sourceforge_webpage/ecryptfs-pageuptodate-call-graph.png, doc/sourceforge_webpage/ecryptfs-pam-doc.txt, doc/sourceforge_webpage/ecryptfs.pdf, doc/sourceforge_webpage/index.html, doc/sourceforge_webpage/README, === removed directory doc/manpage/fr, === removed directory doc/sourceforge_webpage, rpm/ecryptfs-utils.spec: - remove some deprecated documentation - fish it out of bzr, if we ever need it again, but let's quit publishing it in our release tarballs -- Dustin Kirkland <kirkland@ubuntu.com> Sun, 24 Jun 2012 11:41:27 -0500 ecryptfs-utils (97) quantal; urgency=low [ Kees Cook ] * src/pam_ecryptfs/pam_ecryptfs.c: LP: #938326 - exit, rather than return to prevent duplicate processes [ Andreas Raster ] * src/desktop/ecryptfs-find: - $mounts was quoted once too often [ George Wilson ] * src/key_mod/ecryptfs_key_mod_openssl.c, src/key_mod/ecryptfs_key_mod_pkcs11_helper.c, src/key_mod/ecryptfs_key_mod_tspi.c: LP: #937331 - IBM would like to grant a license exception for key modules that require linking to OpenSSL. The change should make the modules shippable by Linux distributions [ Dustin Kirkland ] * debian/copyright: - note the GPLv2 SSL exception granted by IBM for the key modules * debian/control, debian/copyright, doc/manpage/ecryptfs.7, doc/manpage/ecryptfs-add-passphrase.1, doc/manpage/ecryptfsd.8, doc/manpage/ecryptfs-generate-tpm-key.1, doc/manpage/ecryptfs- insert-wrapped-passphrase-into-keyring.1, doc/manpage/ecryptfs- manager.8, doc/manpage/ecryptfs-mount-private.1, doc/manpage/ecryptfs-recover-private.1, doc/manpage/ecryptfs-rewrap- passphrase.1, doc/manpage/ecryptfs-rewrite-file.1, doc/manpage/ecryptfs-setup-private.1, doc/manpage/ecryptfs-setup- swap.1, doc/manpage/ecryptfs-stat.1, doc/manpage/ecryptfs-umount- private.1, doc/manpage/ecryptfs-unwrap-passphrase.1, doc/manpage/ecryptfs-wrap-passphrase.1, doc/manpage/mount.ecryptfs.8, doc/manpage/mount.ecryptfs_private.1, doc/manpage/pam_ecryptfs.8, doc/manpage/umount.ecryptfs.8, doc/manpage/umount.ecryptfs_private.1, README, src/utils/mount.ecryptfs.c: - use the new ecryptfs.org website where appropriate * debian/control: - update to suggest zescrow-client [ Sergio Peña ] * src/libecryptfs/cipher_list.c: LP: #922821 - add the new name of the blowfish cipher (linux >= 3.2) * src/include/ecryptfs.h, src/libecryptfs/main.c, src/utils/mount.ecryptfs.c: LP: #917509 - use execl() to mount ecryptfs - this allows us to support any arbitrary mount options in /etc/fstab [ Tyler Hicks ] * doc/manpage/ecryptfs.7: - Remove the note saying that the passphrase and openssl key modules are available by default. That's true upstream but not always true in distro builds. * tests/run_tests.sh: - Make upper and lower mount point arguments optional by automatically creating directories in /tmp by default. - Make it possible to run only userspace tests without having to specify unused mount information - Accept a comma-separated list of lower filesystems to test on and loop through all kernel tests for each lower filesystem - Accept a comma-separated list of tests to run * tests/lib/etl_funcs.sh: - Unset $ETL_DISK just before etl_remove_disk() successfully returns * tests/userspace/Makefile.am: - Also build 'make check' tests when building with --enable-tests * include/ecryptfs.h, libecryptfs/Makefile.am, libecryptfs/cipher_list.c, libecryptfs/module_mgr.c, utils/io.h: LP: #994813 - remove overly complicated implementation to detect what ciphers are supported by the currently running kernel's crypto api - prompt for the entire supported cipher list, if the user selects a cipher that their kernel doesn't support, the mount will fail and the kernel will write an error message to the syslog * src/libecryptfs/module_mgr.c: - Use correct blowfish block size when displaying supported ciphers to the user * tests/kernel/lp-1009207.sh, tests/kernel/Makefile.am, tests/kernel/tests.rc: - Add simple test case for incorrect handling of umask and default POSIX ACL masks * tests/kernel/lp-994247.sh, tests/kernel/lp-994247/test.c, tests/kernel/Makefile.am, tests/kernel/tests.rc: - Add test case for incorrect handling of open /dev/ecryptfs file descriptors that are passed or inherited by other processes [ Colin King ] * tests/lib/etl_funcs.sh: - etl_lumount() should use DST rather than SRC dir so it can run on Lucid - use file system appropriate mkfs force flag - cater for correct ext2 default mount flags * tests/kernel/lp-509180.sh, tests/kernel/lp-509180/test.c: - test for trailing garbage at end of files * tests/kernel/lp-524919.sh, tests/kernel/lp-524919/test.c: - test case for checking lstat/readlink size * tests/kernel/lp-870326.sh, tests/kernel/lp-870326/test.c: - test case for open(), mmap(), close(), modify mmap'd region * tests/kernel/lp-469664.sh: - test case for lsattr * tests/kernel/lp-613873.sh: - test case for stat modify time * tests/kernel/lp-745836.sh: - test case for clearing ECRYPTFS_NEW_FILE flag during truncate * tests/lib/etl_funcs.sh, tests/kernel/extend-file-random.sh, tests/kernel/trunc-file.sh (LP: #1007159): - Add test library function for estimating available space in lower fs - Use new library function in tests that need to create large files [ Colin Watson ] * src/utils/ecryptfs-setup-swap: Skip /dev/zram* swap devices LP: #979350 [ Serge Hallyn ] * src/utils/mount.ecryptfs_private.c: - EoL fixes -- Dustin Kirkland <kirkland@ubuntu.com> Fri, 15 Jun 2012 09:32:48 -0500 ecryptfs-utils (96) oneiric; urgency=low [ Dustin Kirkland ] * CONTRIBUTING: - added a new file to describe how to contribute to ecryptfs * === added directory img/old, img/old/ecryptfs_14.png, img/old/ecryptfs_192.png, img/old/ecryptfs_64.png: - saving the old logos/branding for posterity * debian/copyright, img/COPYING: - added CC-by-SA 3.0 license - use the text version * img/ecryptfs_14.png, img/ecryptfs_192.png, img/ecryptfs_64.png: - added scaled copies of images used for Launchpad.net branding * src/utils/ecryptfs-recover-private: LP: #847505 - add an option to allow user to enter the mount passphrase, in case they've recorded that, but forgotten their login passphrase * src/libecryptfs/sysfs.c: LP: #802197 - default sysfs to /sys, if not found in /etc/mtab - it seems that reading /etc/mtab for this is outdated - ensure that ecryptfs works even if there is no sysfs entry in /etc/mtab * src/key_mod/ecryptfs_key_mod_tspi.c: LP: #462225 - fix TPM and string_to_uuid 64bits issue - thanks to Janos for the patch [ Tyler Hicks ] * CONTRIBUTING: - clarified how to contribute to the ecryptfs kernel module * tests/lib/etl_funcs.sh: - created eCryptfs test library of bash functions for use in test cases and test harnesses * test/etl_add_passphrase_key_to_keyring.c: - created a C helper program to allow bash scripts to interface to the libecryptfs function that adds passphrase-based keys to the kernel keyring * tests/kernel/tests.rc, tests/userspace/tests.rc: - created a test case category files for test harnesses to source when running testcases of a certain category (destructive, safe, etc.) * tests/run_tests.sh: - created a test harness to run eCryptfs test cases * tests/kernel/miscdev-bad-count.sh, tests/kernel/miscdev-bad-count/test.c: - created test case for miscdev issue reported to mailing list * tests/kernel/lp-885744.sh: - created test case for pathconf bug * tests/kernel/lp-926292.sh: - created test case for checking stale inode attrs after setxattr * tests/new.sh: - created new test case template to copy from * tests/userspace/verify-passphrase-sig.sh, tests/userspace/verify-passphrase-sig/test.c: - created test case, for make check, to test the creation of passphrase-based fekeks and signatures * configure.ac, Makefile.am, tests/Makefile.am, tests/lib/Makefile.am, tests/kernel/Makefile.am, tests/userspace/Makefile.am: - updated and created autoconf/automake files to build the new tests directory - added make check target [ Eddie Garcia ] * img/*: LP: #907131 - contributing a new set of logos and branding under the CC-by-SA3.0 license [ Colin King ] * tests/kernel/extend-file-random.sh, tests/kernel/extend-file-random/test.c: - Test to randomly extend file size, read/write + unlink * tests/kernel/trunc-file.sh, tests/kernel/trunc-file/test.c: - Test to exercise file truncation * tests/kernel/directory-concurrent.sh, tests/kernel/directory-concurrent/test.c: - test for directory creation/deletion races with multiple processes * tests/kernel/file-concurrent.sh, tests/kernel/file-concurrent/test.c: - test for file creation/truncation/unlink races with multiple processes * tests/kernel/inotify.sh, tests/kernel/inotify/test.c: - test for proper inotify support * tests/kernel/mmap-dir.sh, tests/kernel/mmap-dir/test.c: - test that directory files cannot be mmap'ed * tests/kernel/read-dir.sh, tests/kernel/read-dir/test.c: - test that read() on directory files returns the right error * tests/kernel/setattr-flush-dirty.sh: - test that the modified timestamp isn't clobbered in writeback * tests/kernel/inode-race-stat.sh, tests/kernel/inode-race-stat/test.c: - test for inode initialization race condition -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 16 Feb 2012 14:23:18 -0600 ecryptfs-utils (95) oneiric; urgency=low [ Serge Hallyn ] * fix infinite loop on arm: fgetc returns an int, and -1 at end of options. Arm makes char unsigned. (LP: #884407) [ Dustin Kirkland ] * debian/compat, debian/control, debian/ecryptfs-utils.install, debian/ecryptfs-utils.lintian-overrides, debian/libecryptfs0.install, debian/libecryptfs-dev.install, debian/lintian/ecryptfs-utils, debian/python-ecryptfs.install, debian/rules, debian/source/options, doc/ecryptfs-pam-doc.txt, doc/manpage/ecryptfs-setup-private.1, lintian/ecryptfs-utils, === removed directory debian/lintian: - merge a bunch of packaging changes from Debian's Daniel Baumann - fixes LP: #800647 * scripts/release.sh: - minor release fixes -- Dustin Kirkland <kirkland@ubuntu.com> Wed, 14 Dec 2011 14:21:34 -0600 ecryptfs-utils (94) released; urgency=low [ Dustin Kirkland ] * scripts/release.sh: - fix release script - bump ubuntu release * doc/manpage/ecryptfs-recover-private.1, src/utils/ecryptfs-migrate- home (properties changed: -x to +x), src/utils/ecryptfs-recover- private: - add a --rw option for ecryptfs-recover-private * src/utils/ecryptfs-migrate-home: LP: #820416 - show progress on rsync * debian/ecryptfs-utils.ecryptfs-utils-restore.upstart, debian/ecryptfs-utils.ecryptfs-utils-save.upstart, src/utils/ecryptfs-migrate-home, src/utils/ecryptfs-setup-private: LP: #883238 - remove 2 upstart scripts, which attempted to "save" users who didn't login after migrating their home; instead, we now require the root user to enter user passwords at migration time * debian/copyright, debian/ecryptfs-utils.ecryptfs-utils- restore.upstart, debian/ecryptfs-utils.ecryptfs-utils-save.upstart, doc/manpage/ecryptfs.7, doc/manpage/ecryptfs-add-passphrase.1, doc/manpage/ecryptfs-generate-tpm-key.1, doc/manpage/ecryptfs- insert-wrapped-passphrase-into-keyring.1, doc/manpage/ecryptfs- mount-private.1, doc/manpage/ecryptfs-recover-private.1, doc/manpage/ecryptfs-rewrap-passphrase.1, doc/manpage/ecryptfs- rewrite-file.1, doc/manpage/ecryptfs-setup-private.1, doc/manpage/ecryptfs-setup-swap.1, doc/manpage/ecryptfs-stat.1, doc/manpage/ecryptfs-umount-private.1, doc/manpage/ecryptfs-unwrap- passphrase.1, doc/manpage/ecryptfs-wrap-passphrase.1, doc/manpage/fr/ecryptfs-add-passphrase.1, doc/manpage/fr/ecryptfs- generate-tpm-key.1, doc/manpage/fr/ecryptfs-insert-wrapped- passphrase-into-keyring.1, doc/manpage/fr/ecryptfs-mount-private.1, doc/manpage/fr/ecryptfs-rewrap-passphrase.1, doc/manpage/fr/ecryptfs-setup-private.1, doc/manpage/fr/ecryptfs- umount-private.1, doc/manpage/fr/ecryptfs-unwrap-passphrase.1, doc/manpage/fr/ecryptfs-wrap-passphrase.1, doc/manpage/fr/ecryptfs- zombie-kill.1, doc/manpage/fr/ecryptfs-zombie-list.1, doc/manpage/mount.ecryptfs_private.1, doc/manpage/pam_ecryptfs.8, doc/manpage/umount.ecryptfs.8, doc/manpage/umount.ecryptfs_private.1, src/pam_ecryptfs/pam_ecryptfs.c, src/utils/ecryptfs_add_passphrase.c, src/utils/ecryptfs_insert_wrapped_passphrase_into_keyring.c, src/utils/ecryptfs-migrate-home, src/utils/ecryptfs-mount-private, src/utils/ecryptfs-recover-private, src/utils/ecryptfs_rewrap_passphrase.c, src/utils/ecryptfs-rewrite- file, src/utils/ecryptfs-setup-private, src/utils/ecryptfs-setup- swap, src/utils/ecryptfs-umount-private, src/utils/ecryptfs_unwrap_passphrase.c, src/utils/ecryptfs_wrap_passphrase.c: - update some email addresses, moving kirkland@canonical.com -> kirkland@ubuntu.com (which I can still read) * src/libecryptfs/key_management.c: LP: #715066 - fix 2 places where we were handling ecryptfs_add_passphrase_key_to_keyring() inconsistently - if we're trying to add a key to the keyring, and it's already there, treat that as "success" * debian/control: - ecryptfs-setup-swap is strongly recommended, which depends on cryptsetup; so promote cryptsetup from suggests -> recommends [ Stephan Ritscher and Tyler Hicks ] * src/libecryptfs/cmd_ln_parser.c: LP: #683535 - fix passphrase_passwd_fd for pipes - handle memory allocation failures - free memory in error paths [ Arfrever Frehtes Taifersar Arahesis ] * configure.ac: LP: #893327 - no need to check for python, if --disable-pywrap is passed -- Dustin Kirkland <dustin.kirkland@gazzang.com> Thu, 27 Oct 2011 10:58:47 -0500 ecryptfs-utils (93) oneiric; urgency=low * src/utils/ecryptfs-verify, src/utils/Makefile.am: - add an ecryptfs-verify utility, LP: #845738 * src/testcases/write-read.sh: - added a write/read test utility * doc/manpage/ecryptfs-mount-private.1, doc/manpage/ecryptfs-setup- private.1, doc/manpage/mount.ecryptfs_private.1, doc/manpage/umount.ecryptfs_private.1: LP: #882267 - remove inaccurate documentation about being a member of the ecryptfs group * src/utils/ecryptfs-setup-private: LP: #882314 - fix preseeded encrypted home Ubuntu installations (thanks Timo!) -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 27 Oct 2011 10:58:36 -0500 ecryptfs-utils (92) oneiric; urgency=low * src/libecryptfs/key_management.c: LP: #725862 - fix nasty bug affecting users who do *not* encrypt filenames; the first login works, but on logout, only one key gets cleaned out; subsequent logins do not insert the necessary key due to an early "goto out"; this fix needs to be SRU'd * debian/rules: LP: #586281 - fix perms on desktop mount file * src/pam_ecryptfs/pam_ecryptfs.c: LP: #838471 - rework syslogging to be less noisy and note pam_ecryptfs -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 01 Sep 2011 16:25:03 -0500 ecryptfs-utils (91) oneiric; urgency=low [ Diego E. "Flameeyes" Pettenò ] * configure.ac: - fix reliance on nss-config, which hinders cross-compilation [ Marc Deslauriers ] * src/utils/mount.ecryptfs_private.c: * SECURITY UPDATE: wrong mtab ownership and permissions (LP: #830850) - debian/patches/CVE-2011-3145.patch: also set gid and umask before updating mtab in src/utils/mount.ecryptfs_private.c. - CVE-2011-3145 -- Dustin Kirkland <kirkland@ubuntu.com> Wed, 31 Aug 2011 16:45:39 -0500 ecryptfs-utils (90) oneiric; urgency=low [ Marc Deslauriers ] * SECURITY UPDATE: privilege escalation via mountpoint race conditions (LP: #732628) - debian/patches/CVE-2011-1831,1832,1834.patch: chdir into mountpoint before checking permissions in src/utils/mount.ecryptfs_private.c. - CVE-2011-1831 - CVE-2011-1832 * SECURITY UPDATE: race condition when checking source during mount (LP: #732628) - debian/patches/CVE-2011-1833.patch: use new ecryptfs_check_dev_ruid kernel option when mounting directory in src/utils/mount.ecryptfs_private.c. - CVE-2011-1833 * SECURITY UPDATE: mtab corruption via improper handling (LP: #732628) - debian/patches/CVE-2011-1831,1832,1834.patch: modify mtab via a temp file first and make sure it succeeds before replacing the real mtab in src/utils/mount.ecryptfs_private.c. - CVE-2011-1834 * SECURITY UPDATE: key poisoning via insecure temp directory handling (LP: #732628) - debian/patches/CVE-2011-1835.patch: make sure we don't copy into a user controlled directory in src/utils/ecryptfs-setup-private. - CVE-2011-1835 * SECURITY UPDATE: information disclosure via recovery mount in /tmp (LP: #732628) - debian/patches/CVE-2011-1836.patch: mount inside protected subdirectory in src/utils/ecryptfs-recover-private. - CVE-2011-1836 * SECURITY UPDATE: arbitrary file overwrite via lock counter race condition (LP: #732628) - debian/patches/CVE-2011-1837.patch: verify permissions with a file descriptor, and don't follow symlinks in src/utils/mount.ecryptfs_private.c. - CVE-2011-1837 -- Dustin Kirkland <kirkland@ubuntu.com> Wed, 10 Aug 2011 08:37:57 -0500 ecryptfs-utils (89) oneiric; urgency=low [ Dustin Kirkland ] * debian/control: - add missing build dependency needed for release * doc/manpage/ecryptfs-wrap-passphrase.1: fix minor error in manpage * src/desktop/ecryptfs-find, src/desktop/Makefile.am: LP: #799157 - add a tool, /usr/share/ecryptfs-utils/ecryptfs-find that can help find cleartext/encrypted filenames by inode number * src/desktop/ecryptfs-find: - test file exists first; ditch the match; search all ecryptfs mounts that user can read/traverse * debian/ecryptfs-utils.links: - add a symlink for Ubuntu * scripts/release.sh: - improve release script [ Serge Hallyn ] * Fix from Christophe Dumez: mount.ecryptfs_private: Do not attempt to update mtab if it is a symbolic link. (LP: #789888) -- Dustin Kirkland <kirkland@ubuntu.com> Tue, 19 Jul 2011 14:58:23 -0500 ecryptfs-utils (88) oneiric; urgency=low * src/utils/mount.ecryptfs_private.c: - reduce the window size for the TOCTOU race; does not entirely solve LP: #732628, which is going to need to be fixed in the kernel with some heavy locking * debian/control: update urls * src/utils/ecryptfs-mount-private: LP: #725862 - fix ecryptfs-mount-private to insert only the fek, if filename encryption is disabled -- Dustin Kirkland <kirkland@ubuntu.com> Mon, 14 Mar 2011 14:11:18 -0500 ecryptfs-utils (87) natty; urgency=low [ Paolo Bonzini <pbonzini@redhat.com> ] * src/utils/ecryptfs-setup-private: update the Private.* selinux contexts [ Dustin Kirkland ] * src/utils/ecryptfs-setup-private: - add -p to mkdir, address noise for a non-error - must insert keys during testing phase, since we remove keys on unmount now, LP: #725862 * src/utils/ecryptfs_rewrap_passphrase.c: confirm passphrases in interactive mode, LP: #667331 -- Dustin Kirkland <kirkland@ubuntu.com> Wed, 02 Mar 2011 13:47:52 +0200 ecryptfs-utils (86) natty; urgency=low [ Jakob Unterwurzacher ] * src/pam_ecryptfs/pam_ecryptfs.c: - check if this file exists and ask the user for the wrapping passphrase if it does - eliminate both ecryptfs_pam_wrapping_independent_set() and ecryptfs_pam_automount_set() and replace with a reusable file_exists_dotecryptfs() function [ Serge Hallyn and Dustin Kirkland ] * src/utils/mount.ecryptfs_private.c: - support multiple, user configurable private directories by way of a command line "alias" argument - this "alias" references a configuration file by the name of: $HOME/.ecryptfs/alias.conf, which is in an fstab(5) format, as well as $HOME/.ecryptfs/alias.sig, in the same format as Private.sig - if no argument specified, the utility operates in legacy mode, defaulting to "Private" - rename variables, s/dev/src/ and s/mnt/dest/ - add a read_config() function - add an alias char* to replace the #defined ECRYPTFS_PRIVATE_DIR - this is half of the fix to LP: #615657 * doc/manpage/mount.ecryptfs_private.1: document these changes * src/libecryptfs/main.c, src/utils/mount.ecryptfs_private.c: - allow umount.ecryptfs_private to succeed when the key is no longer in user keyring. -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 24 Feb 2011 13:43:19 -0600 ecryptfs-utils (85) released; urgency=low [ Dustin Kirkland ] * src/utils/ecryptfs-recover-private: clean sigs of invalid characters * src/utils/mount.ecryptfs_private.c: - fix bug LP: #313812, clear used keys on unmount - add ecryptfs_unlink_sigs to the mount opts, so that unmounts from umount.ecryptfs behave similarly - use ecryptfs_remove_auth_tok_from_keyring() on the sig and sig_fnek [ presgas@gmail.com ] * src/utils/ecryptfs-migrate-home: - support user databases outside of /etc/passwd, LP: #627506 -- Dustin Kirkland <kirkland@ubuntu.com> Sat, 05 Feb 2011 19:37:32 -0700 ecryptfs-utils (84) released; urgency=low * src/desktop/ecryptfs-record-passphrase: fix typo, LP: #524139 * debian/rules, debian/control: - disable the gpg key module, as it's not yet functional - clean up unneeded build-deps - also, not using opencryptoki either * doc/manpage/ecryptfs.7: fix minor documentation bug, reported by email by Jon 'maddog' Hall * doc/manpage/ecryptfs-recover-private.1, doc/manpage/Makefile.am, po/POTFILES.in, src/utils/ecryptfs-recover-private, src/utils/Makefile.am: add a utility to simplify data recovery of an encrypted private directory from a Live ISO, LP: #689969 -- Dustin Kirkland <kirkland@ubuntu.com> Fri, 17 Dec 2010 20:12:47 -0600 ecryptfs-utils (83) released; urgency=low [ David Planella ] * Makefile.am, configure.ac, debian/control, debian/po/POTFILES.sh, debian/po/ecryptfs-utils.pot, debian/po/fr.po, debian/rules, po/POTFILES.in, src/desktop/Makefile.am, src/desktop/ecryptfs-mount-private.desktop, src/desktop/ecryptfs-mount-private.desktop.in, src/desktop/ecryptfs-record-passphrase, src/desktop/ecryptfs-setup-private.desktop, src/desktop/ecryptfs-setup-private.desktop.in: - internationalization work for LP: #358283 * po/LINGUAS, po/ca.po: Catalan translation [ Yan Li <yan.i.li@intel.com> ] * src/pam_ecryptfs/pam_ecryptfs.c, src/utils/Makefile.am, src/utils/ecryptfs-migrate-home: add a script and pam hooks to support automatic migration to encrypted home directory [ Dustin Kirkland ] * src/utils/ecryptfs-migrate-home: clean up for merge - use $() rather than `` - drop set -u - use = and !=, and quote vars, rather than testing with -ne, -eq, for better shell portability - improve usage statement and error text - check if already encrypted - handle migration of multiple users on boot - fix all whitespace, use tabs for indents - use quotes around variables, rather than ${} (stylistic preference) - major simplification for immediate release + remove boot and user modes; only support administrator mode for security reasons and to avoid race conditions + other modes can be re-added, if necessary, and if security concerns can be addressed - ensure running as root - drop VERBOSE option, always print useful info messages - call the user $USER_NAME rather than $USER_ID since id implies number, and here we're deailing with names - no decimals on awk calculation - mktemp on the target user, not root - check that there is enough disk space available to do the migration - ensure the user's homedir group is correct - add critical instructions, user *must* login after the migration and before the reboot, as their wrapped passphrase will be cleared on reboot (possible we should use an init script to move these to /var/tmp on reboot) - ensure permissions are set correctly - improve text at the end of the migration, organize into notes * ecryptfs-utils.ecryptfs-utils-restore.upstart, ecryptfs-utils.ecryptfs-utils-save.upstart, rules: - try to protect migrating users who don't login before the next reboot * debian/ecryptfs-utils.install: install the locale messages * src/desktop/ecryptfs-record-passphrase: improve dialog text * src/desktop/ecryptfs-record-passphrase: revert the _ bit, as it's not quite working yet, will need to talk to David to fix -- Dustin Kirkland <kirkland@ubuntu.com> Wed, 17 Feb 2010 15:16:05 -0600 ecryptfs-utils (82) released; urgency=low * src/utils/ecryptfs-setup-private: fix bug where setup-private incorrectly assumed that the home/private dir ownerships should be owned by USER:USER; instead, default to USER:GROUP, where GROUP is the USER's primary group by default, LP: #445301 * src/utils/ecryptfs-setup-private, debian/control: LP: #456565 - fix typo, s/getext/gettext - depend on gettext-base * src/utils/ecryptfs-setup-private: fix printing of error strings, which was broken by the gettext integration, LP: #471725; in doing so, use $() in place of ``, use '' for gettext arguments, and wrap gettext in "", like this: foo="$(gettext 'blah blah')" * debian/control: one package per line, helps tremendously when looking at diffs * debian/copyright: Add new fields * debian/ecryptfs-utils.postinst: minor set -e change -- Dustin Kirkland <kirkland@ubuntu.com> Tue, 10 Nov 2009 11:31:25 -0600 ecryptfs-utils (81) released; urgency=low [ Michael Terry ] * src/utils/ecryptfs-setup=swap: clean up some error message reporting, LP: #430891, #430890 [ Dustin Kirkland ] * doc/manpage/ecryptfs.7: note the 64-char passphrase limit, LP: #386504 * src/utils/ecryptfs-setup-private: minor documentation change -- Dustin Kirkland <kirkland@ubuntu.com> Fri, 18 Sep 2009 18:46:07 -0500 ecryptfs-utils (80) released; urgency=low [ Evan Dandrea ] * src/utils/ecryptfs-setup-swap: allow for setting up encrpyted swap, without activating it immediately, necessary for livecd installations -- Dustin Kirkland <kirkland@ubuntu.com> Wed, 19 Aug 2009 11:31:03 -0500 ecryptfs-utils (79) released; urgency=low [ Dustin Kirkland ] * debian/control: updated bzr and browser urls, bumped standards version * src/pam_ecryptfs/pam_ecryptfs.c: silence useless, oft-shown info message * src/utils/ecryptfs-mount-private, src/utils/ecryptfs-rewrite-file, src/utils/ecryptfs-setup-private, src/utils/ecryptfs-setup-swap, src/utils/ecryptfs-umount-private: use gettext for all string printing, such that we can internationalize ecryptfs * po/POTFILES.sh, po/ecryptfs-utils.pot, po/fr.po, rules: add po to the build system; for now, in the debian/ directory; this should be put in the upstream source tree eventually (but I need some help with the automake/autoconf integration) * ecryptfs-setup-swap: exit(0) if there's no swaps to encrypt, ensures that this script succeeds if there is no swap space that needs to be secured, or if the existing swap space is already secured * doc/manpage/ecryptfs-setup-swap.1, doc/manpage/ecryptfs-stat.1, doc/manpage/umount.ecryptfs.8, doc/manpage/Makefile.am: added manpagess * doc/manpage/ecryptfs.7: fix lintian warning * debian/lintian/ecryptfs-utils: added a lintian overrides file * debian/lintian/ecryptfs-utils, debian/ecryptfs-utils.install: add and install some proper lintian overrides * src/libecryptfs/module_mgr.c: fix typo, LP: #408437 [ Evan Dandrea ] * ecryptfs-setup-swap: support more than one encrypted swap device [ Dorin Scutarașu ] * src/libecryptfs/key_management.c: fix null pointer deref, LP: #409565 -- Dustin Kirkland <kirkland@ubuntu.com> Mon, 17 Aug 2009 11:58:35 -0500 ecryptfs-utils (78) released; urgency=low [ James Westby ] * src/libecryptfs/main.c flockfile the filehandle after checking that we were able to successfully open it (LP: #403011) * debian/libecryptfs0.shlibs: bump shlibs dep to 77 since we added new symbols there -- Dustin Kirkland <kirkland@ubuntu.com> Wed, 22 Jul 2009 11:28:20 -0500 ecryptfs-utils (77) released; urgency=low [ Dustin Kirkland ] * src/libecryptfs/key_management.c, src/pam_ecryptfs/pam_ecryptfs.c: revert the zombie code removal from pam_ecryptfs as it seems this bit is still needed; fix the source of the problem introduced in commit r407; check for non-zero return codes; this problem would manifest itself as a) unable to unlock screensaver, b) unable to switch users, c) unable to mount home folder on initial login; LP: #402222, #402029 * src/utils/ecryptfs-umount-private: use for loop to loop over key ids on removal * src/utils/mount.ecryptfs_private.c: return non-zero on unmount failure due to open sessions; handle this in ecryptfs-umount-private too; make the flock() blocking; use /dev/shm for counter; add an iterator to the counter file to prevent users from DoS'ing one another from accessing their encrypted directories, LP: #402745 * debian/ecryptfs-utils.postinst: move /tmp counters to /dev/shm * configure.ac: link against pam, silence shlib warning * src/include/ecryptfs.h, src/libecryptfs/main.c, src/pam_ecryptfs/pam_ecryptfs.c, src/utils/Makefile.am, src/utils/mount.ecryptfs_private.c: move two functions from mount.ecryptfs_private to libecryptfs, namely is_mounted() and fetch_private_mnt(); use these in both pam_ecryptfs and mount.ecryptfs_private; also move PRIVATE to ECRYPTFS_PRIVATE in the ecryptfs.h headers; this will allow us to short-circuit some of the costly key-loading code on pam_auth if the private dir is already mounted, speeding up some subsequent authentications significantly, LP: #402748 * doc/ecryptfs-mount-private.txt: removed the "$" to make copy-n-paste more user friendly * src/utils/ecryptfs-setup-private: when encrypting home, put the .ecryptfs and .Private data in /home/.ecryptfs rather than /var/lib, as users are forgetting to backup /var/lib, and are often putting /home on a separate partition; furthermore, this gives users a place to access their encrypted data for backup, rather than hiding the data below $HOME, LP: #371719 [ Tyler Hicks ] * src/libecryptfs/cipher_list.c, src/libecryptfs/module_mgr.c: add blowfish/56-bytes to the list of ciphers we officially support, LP: #402790 -- Dustin Kirkland <kirkland@ubuntu.com> Tue, 21 Jul 2009 23:57:33 -0500 ecryptfs-utils (76) released; urgency=low [ Dustin Kirkland ] * src/utils/ecryptfs-setup-swap: switch from vol_id to blkid, LP: #376486 * debian/ecryptfs-utils.postinst, src/utils/ecryptfs-setup-private: don't echo mount passphrase if running in bootstrap mode; prune potential leakages from install log, LP: #383650 * SECURITY UPDATE: mount passphrase recorded in install log (LP: #383650). - debian/ecryptfs-utils.postinst: prune private information from installer log - src/utils/ecryptfs-setup-private: don't echo passphrase if running in bootstrap mode - CVE-2009-1296 * src/utils/ecryptfs-setup-private: make some of the lanuage more readable, (thanks, anrxc) * README, configure.ac, debian/control, debian/rules, doc/sourceforge_webpage/README, src/libecryptfs-swig/libecryptfs.py, src/libecryptfs-swig/libecryptfs_wrap.c, src/libecryptfs/key_management.c, src/libecryptfs/libecryptfs.pc.in, src/libecryptfs/main.c, src/pam_ecryptfs/Makefile.am, src/utils/manager.c, src/utils/mount.ecryptfs.c: move build from gcrypt to nss (this change has been pending for some time) * src/utils/ecryptfs-dot-private: dropped, was too hacky * ecryptfs-mount-private.1, ecryptfs-setup-private.1: align the documentation and implementation of the wrapping-independent feature, LP: #383746 * src/utils/ecryptfs-umount-private: use keyctl list @u, since keyctl show stopped working, LP: #400484, #395082 * src/utils/mount.ecryptfs_private.c: fix counter file locking; solves a longstanding bug about "random" umount caused by cronjobs, LP: #358573 [ Michal Hlavinka (edits by Dustin Kirkland) ] * doc/manpage/ecryptfs-mount-private.1, doc/manpage/ecryptfs-rewrite-file.1, doc/manpage/ecryptfs-setup-private.1, doc/manpage/ecryptfs.7, doc/manpage/mount.ecryptfs_private.1, doc/manpage/umount.ecryptfs_private.1: documentation updated to note possible ecryptfs group membership requirements; Fix ecrypfs.7 man page and key_mod_openssl's error message; fix typo * src/libecryptfs/decision_graph.c: put a finite limit (5 tries) on interactive input; fix memory leaks when asking questions * src/libecryptfs/module_mgr.c: Don't error out with EINVAL when verbosity=0 and some options are missing. * src/utils/umount.ecryptfs.c: no error for missing key when removing it * src/libecryptfs-swig/libecryptfs.i: fix compile werror, cast char* * src/utils/ecryptfs_add_passphrase.c: fix/test/use return codes; return nonzero for --fnek when not supported but used * src/include/ecryptfs.h, src/key_mod/ecryptfs_key_mod_openssl.c, src/libecryptfs/module_mgr.c: refuse mounting with too small rsa key (key_mod_openssl) * src/utils/ecryptfs_insert_wrapped_passphrase_into_keyring.c: fix return codes * src/utils/ecryptfs-rewrite-file: polish output * src/libecryptfs/key_management.c: inform about full keyring; insert fnek sig into keyring if fnek support check fails; don't fail if key already exists in keyring * src/utils/ecryptfs-setup-private: if the ecryptfs group exists, restrict ecryptfs-setup-private to members of this group * src/pam_ecryptfs/pam_ecryptfs.c: dynamically load ecryptfs module by checking ecryptfs version * src/libecryptfs/decision_graph.c, src/utils/io.c, src/utils/mount.ecryptfs.c: fix EOF handling, LP: #371587 * src/desktop/Makefile.am: make desktop files trusted, LP: #371426 [ Dustin Kirkland and Daniel Baumann ] * debian/control, debian/copyright, debian/ecryptfs-utils.dirs, debian/ecryptfs-utils.install, debian/ecryptfs-utils.postinst, debian/rules, ecryptfs-utils.pam-auth-update: sync Ubuntu's packaging with Debian; drop dpatch, drop libssl build dep, clean up extraneous debhelper bits, match cflags; remaining diff is only ecryptfs-utils.prerm [ Arfrever Frehtes Taifersar Arahesis ] * key_mod/ecryptfs_key_mod_gpg.c, key_mod/ecryptfs_key_mod_pkcs11_helper.c, libecryptfs/key_management.c, utils/ecryptfs_unwrap_passphrase.c: Fix warnings, initialize a few variables, drop unused ones [ David Hicks ] * src/lib/key_management.c: fix stray semicolon that prevents .ecryptfsrc files from working properly, LP: #372709 [ Michael Rooney ] * src/python/ecryptfsapi.py: added python api -- Dustin Kirkland <kirkland@ubuntu.com> Mon, 20 Jul 2009 12:12:30 -0500 ecryptfs-utils (75) released; urgency=low [ Dustin Kirkland ] * debian/rules: drop hackery that moves stuff /usr/share/ecryptfs-utils * src/utils/mount.ecryptfs_private.c: update inline documentation * debian/changelog, src/libecryptfs/cmd_ln_parser.c, src/libecryptfs/key_management.c, src/pam_ecryptfs/pam_ecryptfs.c, src/utils/ecryptfs_add_passphrase.c, src/utils/ecryptfs_insert_wrapped_passphrase_into_keyring.c, src/utils/ecryptfs_rewrap_passphrase.c, src/utils/ecryptfs_unwrap_passphrase.c, src/utils/ecryptfs_wrap_passphrase.c: silence some useless logging, LP: #313330 * include/ecryptfs.h, libecryptfs/key_management.c, utils/ecryptfs_insert_wrapped_passphrase_into_keyring.c, utils/ecryptfs_unwrap_passphrase.c: if the file to unwrap is unspecified, try to use the default ~/.ecryptfs/wrapped-passphrase before bailing out, LP: #359997 * src/utils/ecryptfs-setup-private: unix_chkpwd is not always present (eg, gentoo), LP: #332341 [ Tyler Hicks ] * doc/manpage/ecryptfs.7: ecryptfs_encrypted_view option desription was wrong LP: #328761 [ Michal Hlavinka ] * decision_graph.c: fix uninitialized return code * mount.ecryptfs.c: don't pass verbosity option to kernel [ anrxc & Dustin Kirkland ] * doc/Makefile.am, src/desktop/Makefile.am: fix automake installation from /usr/share to /usr/share/ecryptfs-utils [ Daniel Baumann & Dustin Kirkland ] * debian/rules, debian/control: sync differences between Debian & Ubuntu's packaging [ Arfrever Frehtes Taifersar Arahesis ] * src/key_mod/ecryptfs_key_mod_gpg.c, src/key_mod/ecryptfs_key_mod_pkcs11_helper.c: fix implicit declations [ Frédéric Guihéry ] * key_mod/ecryptfs_key_mod_tspi.c, utils/ecryptfs_generate_tpm_key.c: the SRK password should be set to 20 bytes of NULL (wellknown password), in order for different tools to request key protection with the Storage Root Key -- Dustin Kirkland <kirkland@ubuntu.com> Fri, 01 May 2009 15:07:38 -0500 ecryptfs-utils (74) released; urgency=low [ Michal Hlavinka ] * Changes for RH/Fedora release - change error codes to be more descriptive - decision_graph.h, *: change definition of node return codes to positive values - mount.ecryptfs.c: insist for yes/no answer for unkown sigs - don't print error for removing key from keyring if it succeeded - module_mgr.c: insist on yes/no answer - use ECRYPTFS_NONEMPTY_VALUE_REQUIRED where reasonable - pam_ecryptfs.c: don't try to unwrap key for users not using pam mounting - add verbosity to man page - decision_graph.* : add ECRYPTFS_NONEMPTY_VALUE_REQUIRED flag for nodes - decision_graph.* : add WRONG_VALUE return code to nodes for asking question again [ Dustin Kirkland ] * src/utils/ecryptfs-setup-private: fix bug in grep when running with LANG in other locales, LP: #347969 * doc/manpage/ecryptfs.7: add notes about verbose option * src/desktop: add the desktop files to the dist tarball * src/utils/ecryptfs-dot-private: sourceable file for accessing your encrypted data; useful for conducting backups [ Martin Pitt and Dustin Kirkland ] Reworked the fixes for LP: #352307, remind user to record their passphrase * src/desktop/ecryptfs-record-passphrase: run if ~/.ecryptfs/.wrapped-passphrase.recorded does NOT exist; touch that file upon successful run of unwrap passphrase * debian/patches/00list, debian/patches/update-notifier-remind-passphrase.dpatch: dropped, since this was moved into PAM -- Dustin Kirkland <kirkland@ubuntu.com> Tue, 21 Apr 2009 18:21:30 -0500 ecryptfs-utils (73-0ubuntu1) jaunty; urgency=low [ Dustin Kirkland ] Userspace fixes for LP: #345544, CVE-2009-0787 * src/utils/ecryptfs-rewrite-file: new script, to rewrite a file, forcing it to be re-encrypted when written to disk * doc/manpage/ecryptfs-rewrite-file.1: documentation added Unrelated fixes in this release * src/utils/ecryptfs-mount-private, src/utils/ecryptfs-setup-private, src/utils/ecryptfs-setup-swap: use head/line for prompting and reading input [ Michal Hlavinka ] * ecryptfs-setup-private: don't fail with syntax error when kernel module not loaded * *.desktop: make desktop files standards compliant * umount.ecryptfs: don't sigsegv when arguments are missing -- Dustin Kirkland <kirkland@ubuntu.com> Fri, 20 Mar 2009 17:26:13 -0500 ecryptfs-utils (72-0ubuntu1) jaunty; urgency=low [ Dustin Kirkland ] * src/utils/ecryptfs-[u]mount-private: print message about cd $PWD, LP: #332331 * doc/manpage/*: manpage updates * debian/ecryptfs-utils.prerm: prevent removal of ecryptfs-utils package, if in use, LP: #331085 * src/utils/ecryptfs-setup-private: - allow for LDAP-based logins, LP: #317307 - add --noautomount, --noautoumount options, LP: #301759 [ Tyler Hicks ] * src/libecryptfs/cipher_list.c: ignore unknown ciphers, LP: #335632 * doc/manpage/ecryptfs.7: add key sig mount options info, LP: #329491 * src/utils/mount.ecryptfs.c: scrub unknown option [ James Dupin ] * doc/manpage/fr/*: initial cut at french manpages [ Michal Hlavinka ] * src/libecryptfs/module_mgr.c: fix mount parameter handling on interactive mounting, LP: #331948 -- Dustin Kirkland <kirkland@ubuntu.com> Wed, 18 Mar 2009 18:53:11 -0500 ecryptfs-utils (71-0ubuntu1) jaunty; urgency=low Upstream changes [ Dustin Kirkland ] * src/utils/ecryptfs-setup-swap: a first cut at a script that helps setup encrypted swap * debian/control: suggest cryptsetup [ Michal Hlavinka ] * improve interactive mode of mount.ecryptfs -- Dustin Kirkland <kirkland@ubuntu.com> Wed, 18 Feb 2009 17:34:17 -0600 ecryptfs-utils (70-0ubuntu1) jaunty; urgency=low * New upstream release, dropped all patches (included upstream) [ Michal Hlavinka ] * Auto module loading improvements * Fix nss passphrase (un)wrapping * Fix error handling when wrapping passphrase is too long * Use %m instead of strerror(errno) everywhere * Make the code compile with -Werror [ Tyler Hicks ] * umount.ecryptfs wrapper, clears keys [ Dustin Kirkland ] * Add a trailing newline to passphrase printing * Hack around glibc/kernel mlock limit issue, LP: #329176 -- Dustin Kirkland <kirkland@ubuntu.com> Fri, 13 Feb 2009 19:33:22 -0600 ecryptfs-utils (69-0ubuntu2) jaunty; urgency=low * debian/patches/10-remove-bashism.dpatch: fix installer bug, LP: #326184 * debian/control: Added libnss3-1d dependency (trying to cut over from openssl linkage) -- Dustin Kirkland <kirkland@ubuntu.com> Fri, 06 Feb 2009 17:58:11 +0100 ecryptfs-utils (69-0ubuntu1) jaunty; urgency=low * New upstream release, dropped all patches (included upstream) * This release includes support for filename encryption (LP: #264977) * This release promotes keyutils from a 'recommends' to a 'depends, for access to the keyctl command, which is used by the helper scripts to clear the keyring on unmount (LP: #313812) -- Dustin Kirkland <kirkland@ubuntu.com> Mon, 26 Jan 2009 13:51:21 -0500 ecryptfs-utils (68-1ubuntu2) jaunty; urgency=low * debian/patches/05-mount_opts.dpatch: Clean up mount options, LP: #277723 -- Dustin Kirkland <kirkland@ubuntu.com> Mon, 05 Jan 2009 15:34:05 -0600 ecryptfs-utils (68-1ubuntu1) jaunty; urgency=low * Merge from debian unstable (LP: #311193), remaining changes: - debian/ecryptfs-utils.postinst: handle pam-auth-update - debian/control: keep the dpatch build dep; libpam-runtime dep for pam-auth-update - debian/ecryptfs-utils.install: install the pam-auth-update file - debian/rules:keep the dpatch infrastructure around as we'll likely need it again; install the pam-auth-update file - debian/ecryptfs-utils.pam-auth-update: pam stack configuration - debian/ecryptfs-utils.dirs: usr share install dirs - debian/ecryptfs-utils.prerm: remove pam-auth-update configuration * Upstream merge also fixes LP: #304043. -- Dustin Kirkland <kirkland@ubuntu.com> Wed, 24 Dec 2008 10:24:53 -0600

Modifications :
  1. Download patch debian/rules

    --- 111-1/debian/rules 2016-07-14 20:04:18.000000000 +0000 +++ 111-0ubuntu5/debian/rules 2016-02-23 19:56:01.000000000 +0000 @@ -1,15 +1,7 @@ #!/usr/bin/make -f -# -*- makefile -*- - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) -CFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 - -export DEB_BUILD_MAINT_OPTIONS = hardening=+all - %: dh ${@} --with autoreconf,python2 @@ -17,29 +9,23 @@ override_dh_autoreconf: dh_autoreconf ./autogen.sh override_dh_auto_configure: - dh_auto_configure -- \ - --enable-gpg --enable-pam --enable-static --enable-tspi \ - --disable-gui --disable-openssl --disable-pkcs11-helper \ - CFLAGS="$(CFLAGS)" + dh_auto_configure -- --enable-static --disable-gpg --enable-nss --disable-gui --enable-pam --disable-openssl --disable-pkcs11-helper --disable-tspi $(shell dpkg-buildflags --export=configure) override_dh_auto_install: dh_auto_install install -D -m 0644 debian/local/ecryptfs-utils.pam-auth-update debian/ecryptfs-utils/usr/share/pam-configs/ecryptfs-utils - # Adding kmod integration - install -D -m 0644 debian/local/ecryptfs-utils.kmod debian/ecryptfs-utils/lib/modules-load.d/ecryptfs.conf - # Removing useless files find debian/tmp -name "*.pyc" | xargs rm -f - rm -f debian/tmp/usr/lib/*/*.la + rm -f debian/tmp/usr/lib/*.la rm -f debian/tmp/usr/lib/python*/dist-packages/ecryptfs-utils/*.la rm -f debian/tmp/usr/lib/python*/dist-packages/ecryptfs-utils/*.a override_dh_builddeb: - dh_builddeb -- -Zxz + dh_builddeb -- -Zgzip -z9 override_dh_fixperms: dh_fixperms @@ -47,19 +33,13 @@ override_dh_fixperms: chmod 4755 debian/ecryptfs-utils/sbin/mount.ecryptfs_private override_dh_install: - dh_install --fail-missing + # Removing translation markers to work as an update-notifier hook + sed -i 's/^_//' debian/tmp/usr/share/ecryptfs-utils/ecryptfs-record-passphrase + + dh_install --fail-missing --sourcedir=debian/tmp override_dh_python2: dh_python2 --no-guessing-versions - # Adding missing symlinks - cd debian/python-ecryptfs/usr/lib/python*/dist-packages/ecryptfs-utils && \ - ln -s _libecryptfs.so _libecryptfs.so.0.0 && \ - ln -s _libecryptfs.so _libecryptfs.so.0.0.0 - override_dh_strip: dh_strip --dbg-package=ecryptfs-utils-dbg - -.PHONY: override_dh_autoreconf override_dh_auto_configure \ - override_dh_auto_install override_dh_install override_dh_strip \ - override_dh_fixperms override_dh_builddeb
  2. Download patch debian/compat

    --- 111-1/debian/compat 2013-02-09 07:05:37.000000000 +0000 +++ 111-0ubuntu5/debian/compat 2015-12-21 20:38:59.000000000 +0000 @@ -1 +1 @@ -9 +8
  3. Download patch debian/control

    --- 111-1/debian/control 2016-07-14 20:24:26.000000000 +0000 +++ 111-0ubuntu5/debian/control 2016-09-13 09:34:29.000000000 +0000 @@ -1,74 +1,95 @@ Source: ecryptfs-utils Section: misc Priority: optional -Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.org> -Uploaders: Filesystems Group <filesystems-devel@lists.alioth.debian.org> +Maintainer: Dustin Kirkland <kirkland@ubuntu.com> +XSBC-Original-Maintainer: Daniel Baumann <daniel@debian.org> Build-Depends: - debhelper (>= 9), dh-autoreconf, dh-python, distro-info, intltool, - libglib2.0-dev, libgpg-error-dev, libgpgme11-dev, libkeyutils-dev, - libnss3-dev, libpam0g-dev, pkg-config, python-dev, - swig, libtspi-dev -Standards-Version: 3.9.8 -Homepage: https://launchpad.net/ecryptfs + debhelper (>= 8), + distro-info, + dh-autoreconf, + dh-python, + intltool, + libglib2.0-dev, + libkeyutils-dev, + libnss3-dev, + libpam0g-dev, + pkg-config, + python-dev, + swig +Standards-Version: 3.9.3 +Homepage: http://ecryptfs.org/ +Vcs-Bzr: https://code.launchpad.net/~ecryptfs/ecryptfs/trunk +Vcs-Browser: http://bazaar.launchpad.net/~ecryptfs/ecryptfs/trunk/files Package: ecryptfs-utils Section: misc -Architecture: linux-any +Architecture: any Depends: - ${misc:Depends}, ${shlibs:Depends}, gettext-base, keyutils, libnss3-1d, - libpam-runtime -Suggests: cryptsetup + ${misc:Depends}, + ${shlibs:Depends}, + gettext-base, + keyutils, + libpam-runtime (>= 1.0.1-6) +Recommends: + cryptsetup, + lsof, + rsync +Suggests: + zescrow-client Description: ecryptfs cryptographic filesystem (utilities) - eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic - filesystem for Linux. + eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic filesystem + for Linux. . It provides advanced key management and policy features. eCryptfs stores cryptographic metadata in the header of each file written, so that encrypted - files can be copied between hosts; the file will be decryptable with the - proper key, and there is no need to keep track of any additional information - aside from what is already in the encrypted file itself. Think of eCryptfs as - a sort of "gnupgfs". + files can be copied between hosts; the file will be decryptable with the proper + key, and there is no need to keep track of any additional information aside + from what is already in the encrypted file itself. Think of eCryptfs as a sort + of "gnupgfs". . - eCryptfs is a native Linux filesystem. The kernel module component of - eCryptfs is part of the Linux kernel since 2.6.19. + eCryptfs is a native Linux filesystem. The kernel module component of eCryptfs + is part of the Linux kernel since 2.6.19. . This package contains the userland utilities. Package: ecryptfs-utils-dbg Section: debug Priority: extra -Architecture: linux-any +Architecture: any Depends: ${misc:Depends}, ecryptfs-utils (= ${binary:Version}), libecryptfs1 (= ${binary:Version}), libecryptfs-dev (= ${binary:Version}) Description: ecryptfs cryptographic filesystem (utilities; debug) - eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic - filesystem for Linux. + eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic filesystem + for Linux. . This package contains the debugging symbols. Package: libecryptfs1 Section: libs -Architecture: linux-any -Pre-Depends: ${misc:Pre-Depends} -Depends: ${misc:Depends}, ${shlibs:Depends} +Architecture: any +Depends: + ${misc:Depends}, + ${shlibs:Depends} +# all libecryptfs0 versions since trusty already shipped libecryptfs.so.1 Conflicts: libecryptfs0 Replaces: libecryptfs0 +Provides: libecryptfs0 Description: ecryptfs cryptographic filesystem (library) - eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic - filesystem for Linux. + eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic filesystem + for Linux. . This package contains the library. Package: libecryptfs-dev Section: libdevel -Architecture: linux-any +Architecture: any Depends: - ${misc:Depends}, libecryptfs1 (= ${binary:Version}), libgpg-error-dev, - libgpgme11-dev, libkeyutils-dev, libpam0g-dev, libtspi-dev + ${misc:Depends}, + libecryptfs1 (= ${binary:Version}) Description: ecryptfs cryptographic filesystem (development) - eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic - filesystem for Linux. + eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic filesystem + for Linux. . This package contains the development files. @@ -76,8 +97,10 @@ Package: python-ecryptfs Section: python Architecture: linux-any Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends} +Breaks: ecryptfs-utils (<< 87-1~) +Replaces: ecryptfs-utils (<< 87-1~) Description: ecryptfs cryptographic filesystem (python) - eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic - filesystem for Linux. + eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic filesystem + for Linux. . This package contains the python module.
  4. Download patch debian/python-ecryptfs.lintian-overrides

    --- 111-1/debian/python-ecryptfs.lintian-overrides 2013-09-18 08:50:37.000000000 +0000 +++ 111-0ubuntu5/debian/python-ecryptfs.lintian-overrides 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -# false positives -python-ecryptfs: postinst-has-useless-call-to-ldconfig -python-ecryptfs: postrm-has-useless-call-to-ldconfig
  5. Download patch debian/patches/set-up-encrypted-swap-on-nvme-and-mmc.patch

    --- 111-1/debian/patches/set-up-encrypted-swap-on-nvme-and-mmc.patch 2016-07-13 05:33:33.000000000 +0000 +++ 111-0ubuntu5/debian/patches/set-up-encrypted-swap-on-nvme-and-mmc.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,38 +0,0 @@ -Description: ecryptfs-setup-swap: Handle nvme and mmc swap partitions - Prevent unencrypted swap partitions from being automatically enabled by - systemd. This bug affected GPT partitioned NVMe/MMC drives and resulted in the - swap partition being used without encryption. It also resulted in a usability - issue in that users were erroneously prompted to enter a pass-phrase to unlock - their swap partition at boot. (LP: #1597154) -Origin: backport, http://bazaar.launchpad.net/~ecryptfs/ecryptfs/trunk/revision/882 -Origin: backport, http://bazaar.launchpad.net/~ecryptfs/ecryptfs/trunk/revision/884 -Author: Jason Gerard DeRose <jason@system76.com> -Author: Tyler Hicks <tyhicks@canonical.com> -Bug: https://launchpad.net/bugs/1597154 - -Index: ecryptfs-utils-111/src/utils/ecryptfs-setup-swap -=================================================================== ---- ecryptfs-utils-111.orig/src/utils/ecryptfs-setup-swap -+++ ecryptfs-utils-111/src/utils/ecryptfs-setup-swap -@@ -165,9 +165,19 @@ for swap in $swaps; do - - # If this is a GPT partition, mark it as no-auto mounting, to avoid - # auto-activating it on boot -+ # -+ # IMPORTANT: Much of this code is duplicated in -+ # debian/ecryptfs-utils.postinst. Please keep the two in sync when -+ # making any changes. - if [ "$(blkid -p -s PART_ENTRY_SCHEME -o value "$swap")" = "gpt" ]; then -- drive="${swap%[0-9]*}" -- partno="${swap#$drive}" -+ # Correctly handle NVMe/MMC drives, as well as any similar physical -+ # block device that follow the "/dev/foo0p1" pattern (LP: #1597154) -+ if echo "$swap" | grep -qE "^/dev/.+[0-9]+p[0-9]+$"; then -+ drive=$(echo "$swap" | sed "s:\(.\+[0-9]\)p[0-9]\+:\1:") -+ else -+ drive=$(echo "$swap" | sed "s:\(.\+[^0-9]\)[0-9]\+:\1:") -+ fi -+ partno=$(echo "$swap" | sed "s:.\+[^0-9]\([0-9]\+\):\1:") - if [ -b "$drive" ]; then - if printf "x\np\n" | fdisk "$drive" | grep -q "^$swap .* GUID:.*\b63\b"; then - echo "$swap is already marked as no-auto"
  6. Download patch debian/python-ecryptfs.install

    --- 111-1/debian/python-ecryptfs.install 2013-02-09 07:06:09.000000000 +0000 +++ 111-0ubuntu5/debian/python-ecryptfs.install 2015-12-21 20:38:59.000000000 +0000 @@ -1 +1 @@ -usr/lib/python* +/usr/lib/python*
  7. Download patch .pc/applied-patches

    --- 111-1/.pc/applied-patches 2017-09-27 17:37:40.702214511 +0000 +++ 111-0ubuntu5/.pc/applied-patches 2017-09-27 17:37:40.306203572 +0000 @@ -1 +1,2 @@ -set-up-encrypted-swap-on-nvme-and-mmc.patch +CVE-2016-6224.patch +swapfile-support.patch
  8. Download patch debian/libecryptfs1.shlibs

    --- 111-1/debian/libecryptfs1.shlibs 1970-01-01 00:00:00.000000000 +0000 +++ 111-0ubuntu5/debian/libecryptfs1.shlibs 2015-12-21 20:38:59.000000000 +0000 @@ -0,0 +1 @@ +libecryptfs 1 libecryptfs1 (>= 104-0ubuntu1)
  9. Download patch debian/clean

    --- 111-1/debian/clean 2016-07-14 20:26:02.000000000 +0000 +++ 111-0ubuntu5/debian/clean 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -configure
  10. Download patch .pc/CVE-2016-6224.patch/src/utils/ecryptfs-setup-swap
  11. Download patch debian/patches/swapfile-support.patch

    --- 111-1/debian/patches/swapfile-support.patch 1970-01-01 00:00:00.000000000 +0000 +++ 111-0ubuntu5/debian/patches/swapfile-support.patch 2017-09-25 17:31:22.000000000 +0000 @@ -0,0 +1,40 @@ +From: Alberto Pianon <alberto@pianon.eu> +Subject: Fix to make the script work with swapfiles and to use the right script to start encrypted swap +Bug-Ubuntu: https://launchpad.net/bugs/1670336 +Last-Update: 2017-09-25 + +--- ecryptfs-utils-111.orig/src/utils/ecryptfs-setup-swap ++++ ecryptfs-utils-111/src/utils/ecryptfs-setup-swap +@@ -150,7 +150,7 @@ for swap in $swaps; do + info `gettext "Setting up swap:"` "[$swap]" + uuid=$(blkid -o value -s UUID $swap) + # /etc/fstab might use a symlink like /dev/mapper/ubuntu--vg-swap_1 +- links=$(for d in $(udevadm info --query=symlink -n $swap); do echo /dev/$d; done) ++ [ -f $swap ] || links=$(for d in $(udevadm info --query=symlink -n $swap); do echo /dev/$d; done) + for target in "UUID=$uuid" $swap $links; do + if [ -n "$target" ] && grep -qs "^$target\s\+" /etc/fstab; then + sed -i "s:^$target\s\+:\#$target :" /etc/fstab +@@ -193,7 +193,11 @@ for swap in $swaps; do + # Add crypttab entry + # Use /dev/urandom, since this is not a long lived key (generated each boot), + # and so that we don't block booting while waiting for entropy +- echo "cryptswap$i UUID=$uuid /dev/urandom swap,offset=1024,cipher=aes-xts-plain64" >> /etc/crypttab ++ if [ -f $swap ]; then # swapfile ++ echo "cryptswap$i $swap /dev/urandom swap,offset=1024,cipher=aes-xts-plain64" >> /etc/crypttab ++ else # partition ++ echo "cryptswap$i UUID=$uuid /dev/urandom swap,offset=1024,cipher=aes-xts-plain64" >> /etc/crypttab ++ fi + + # Add fstab entry + echo "/dev/mapper/cryptswap$i none swap sw 0 0" >> /etc/fstab +@@ -203,8 +207,8 @@ if [ "$NO_RELOAD" != 1 ]; then + # Turn swap off + swapoff -a + +- # Restart cryptdisks +- /etc/init.d/cryptdisks restart ++ # Restart cryptsetup ++ systemctl restart cryptsetup.target + + # Turn the swap on + swapon -a
  12. Download patch .pc/swapfile-support.patch/src/utils/ecryptfs-setup-swap
  13. Download patch debian/patches/CVE-2016-6224.patch

    --- 111-1/debian/patches/CVE-2016-6224.patch 1970-01-01 00:00:00.000000000 +0000 +++ 111-0ubuntu5/debian/patches/CVE-2016-6224.patch 2016-07-14 23:47:41.000000000 +0000 @@ -0,0 +1,38 @@ +Description: ecryptfs-setup-swap: Handle nvme and mmc swap partitions + Prevent unencrypted swap partitions from being automatically enabled by + systemd. This bug affected GPT partitioned NVMe/MMC drives and resulted in the + swap partition being used without encryption. It also resulted in a usability + issue in that users were erroneously prompted to enter a pass-phrase to unlock + their swap partition at boot. (LP: #1597154) +Origin: backport, http://bazaar.launchpad.net/~ecryptfs/ecryptfs/trunk/revision/882 +Origin: backport, http://bazaar.launchpad.net/~ecryptfs/ecryptfs/trunk/revision/884 +Author: Jason Gerard DeRose <jason@system76.com> +Author: Tyler Hicks <tyhicks@canonical.com> +Bug: https://launchpad.net/bugs/1597154 + +Index: ecryptfs-utils-111/src/utils/ecryptfs-setup-swap +=================================================================== +--- ecryptfs-utils-111.orig/src/utils/ecryptfs-setup-swap ++++ ecryptfs-utils-111/src/utils/ecryptfs-setup-swap +@@ -165,9 +165,19 @@ for swap in $swaps; do + + # If this is a GPT partition, mark it as no-auto mounting, to avoid + # auto-activating it on boot ++ # ++ # IMPORTANT: Much of this code is duplicated in ++ # debian/ecryptfs-utils.postinst. Please keep the two in sync when ++ # making any changes. + if [ "$(blkid -p -s PART_ENTRY_SCHEME -o value "$swap")" = "gpt" ]; then +- drive="${swap%[0-9]*}" +- partno="${swap#$drive}" ++ # Correctly handle NVMe/MMC drives, as well as any similar physical ++ # block device that follow the "/dev/foo0p1" pattern (LP: #1597154) ++ if echo "$swap" | grep -qE "^/dev/.+[0-9]+p[0-9]+$"; then ++ drive=$(echo "$swap" | sed "s:\(.\+[0-9]\)p[0-9]\+:\1:") ++ else ++ drive=$(echo "$swap" | sed "s:\(.\+[^0-9]\)[0-9]\+:\1:") ++ fi ++ partno=$(echo "$swap" | sed "s:.\+[^0-9]\([0-9]\+\):\1:") + if [ -b "$drive" ]; then + if printf "x\np\n" | fdisk "$drive" | grep -q "^$swap .* GUID:.*\b63\b"; then + echo "$swap is already marked as no-auto"
  14. Download patch debian/watch

    --- 111-1/debian/watch 2015-06-15 17:13:15.000000000 +0000 +++ 111-0ubuntu5/debian/watch 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -version=3 -https://launchpad.net/ecryptfs/+milestones .+\/\+milestone\/(\d+)
  15. Download patch debian/libecryptfs1.install

    --- 111-1/debian/libecryptfs1.install 2013-02-09 07:06:07.000000000 +0000 +++ 111-0ubuntu5/debian/libecryptfs1.install 2015-12-21 20:38:59.000000000 +0000 @@ -1 +1 @@ -usr/lib/*/*.so.* +/usr/lib/*.so.*
  16. Download patch debian/patches/series

    --- 111-1/debian/patches/series 2016-07-13 05:33:42.000000000 +0000 +++ 111-0ubuntu5/debian/patches/series 2017-09-25 17:31:22.000000000 +0000 @@ -1 +1,2 @@ -set-up-encrypted-swap-on-nvme-and-mmc.patch +CVE-2016-6224.patch +swapfile-support.patch
  17. Download patch debian/libecryptfs-dev.install

    --- 111-1/debian/libecryptfs-dev.install 2013-02-09 07:05:26.000000000 +0000 +++ 111-0ubuntu5/debian/libecryptfs-dev.install 2015-12-21 20:38:59.000000000 +0000 @@ -1,4 +1,4 @@ -usr/include -usr/lib/*/*.a -usr/lib/*/*.so -usr/lib/*/pkgconfig +/usr/include +/usr/lib/*.a +/usr/lib/*.so +/usr/lib/pkgconfig
  18. Download patch debian/ecryptfs-utils.lintian-overrides

    --- 111-1/debian/ecryptfs-utils.lintian-overrides 2013-09-18 08:50:15.000000000 +0000 +++ 111-0ubuntu5/debian/ecryptfs-utils.lintian-overrides 2015-12-21 20:38:59.000000000 +0000 @@ -1,3 +1,4 @@ -# false positives ecryptfs-utils: setuid-binary sbin/mount.ecryptfs_private 4755 root/root -ecryptfs-utils: executable-not-elf-or-script usr/share/ecryptfs-utils/ecryptfs-record-passphrase +ecryptfs-utils: executable-not-elf-or-script ./usr/share/ecryptfs-utils/ecryptfs-mount-private.desktop +ecryptfs-utils: executable-not-elf-or-script ./usr/share/ecryptfs-utils/ecryptfs-setup-private.desktop +ecryptfs-utils: executable-not-elf-or-script ./usr/share/ecryptfs-utils/ecryptfs-record-passphrase
  19. Download patch debian/source/options

    --- 111-1/debian/source/options 2013-02-09 07:06:17.000000000 +0000 +++ 111-0ubuntu5/debian/source/options 2015-12-21 20:38:59.000000000 +0000 @@ -1 +1,2 @@ -compression = xz +compression = gzip +compression-level = 9
  20. Download patch debian/ecryptfs-utils.postrm

    --- 111-1/debian/ecryptfs-utils.postrm 2013-02-09 07:06:08.000000000 +0000 +++ 111-0ubuntu5/debian/ecryptfs-utils.postrm 1970-01-01 00:00:00.000000000 +0000 @@ -1,22 +0,0 @@ -#!/bin/sh - -set -e - -case "${1}" in - purge) - rm -rf /var/lib/ecryptfs - ;; - - remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - - ;; - - *) - echo "postrm called with unknown argument \`${1}'" >&2 - exit 1 - ;; -esac - -#DEBHELPER# - -exit 0
  21. Download patch .pc/set-up-encrypted-swap-on-nvme-and-mmc.patch/src/utils/ecryptfs-setup-swap
  22. Download patch debian/local/ecryptfs-utils.kmod

    --- 111-1/debian/local/ecryptfs-utils.kmod 2013-02-09 07:05:05.000000000 +0000 +++ 111-0ubuntu5/debian/local/ecryptfs-utils.kmod 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -ecryptfs
  23. Download patch debian/ecryptfs-utils.install

    --- 111-1/debian/ecryptfs-utils.install 2013-02-09 07:05:28.000000000 +0000 +++ 111-0ubuntu5/debian/ecryptfs-utils.install 2015-12-21 20:38:59.000000000 +0000 @@ -1,8 +1,8 @@ -lib/*/security -sbin -usr/bin -usr/lib/*/ecryptfs -usr/share/doc -usr/share/ecryptfs-utils -usr/share/locale -usr/share/man +/lib/security +/sbin +/usr/bin +/usr/lib/ecryptfs +/usr/share/doc +/usr/share/ecryptfs-utils +/usr/share/locale +/usr/share/man
  24. Download patch debian/libecryptfs1.links
  25. Download patch debian/copyright
  26. Download patch src/utils/ecryptfs-setup-swap

    --- 111-1/src/utils/ecryptfs-setup-swap 2017-09-27 17:37:40.000000000 +0000 +++ 111-0ubuntu5/src/utils/ecryptfs-setup-swap 2017-09-27 17:37:40.000000000 +0000 @@ -150,7 +150,7 @@ for swap in $swaps; do info `gettext "Setting up swap:"` "[$swap]" uuid=$(blkid -o value -s UUID $swap) # /etc/fstab might use a symlink like /dev/mapper/ubuntu--vg-swap_1 - links=$(for d in $(udevadm info --query=symlink -n $swap); do echo /dev/$d; done) + [ -f $swap ] || links=$(for d in $(udevadm info --query=symlink -n $swap); do echo /dev/$d; done) for target in "UUID=$uuid" $swap $links; do if [ -n "$target" ] && grep -qs "^$target\s\+" /etc/fstab; then sed -i "s:^$target\s\+:\#$target :" /etc/fstab @@ -193,7 +193,11 @@ for swap in $swaps; do # Add crypttab entry # Use /dev/urandom, since this is not a long lived key (generated each boot), # and so that we don't block booting while waiting for entropy - echo "cryptswap$i UUID=$uuid /dev/urandom swap,offset=1024,cipher=aes-xts-plain64" >> /etc/crypttab + if [ -f $swap ]; then # swapfile + echo "cryptswap$i $swap /dev/urandom swap,offset=1024,cipher=aes-xts-plain64" >> /etc/crypttab + else # partition + echo "cryptswap$i UUID=$uuid /dev/urandom swap,offset=1024,cipher=aes-xts-plain64" >> /etc/crypttab + fi # Add fstab entry echo "/dev/mapper/cryptswap$i none swap sw 0 0" >> /etc/fstab @@ -203,8 +207,8 @@ if [ "$NO_RELOAD" != 1 ]; then # Turn swap off swapoff -a - # Restart cryptdisks - /etc/init.d/cryptdisks restart + # Restart cryptsetup + systemctl restart cryptsetup.target # Turn the swap on swapon -a
  1. ecryptfs-utils