Commit Graph

465 Commits

Author SHA1 Message Date
Valient Gough
a461d88cc3 Merge pull request #125 from ossobv/wjd-refuse_descent_into_own_mountpoint
Perform checks to ensure that we're not descending into ourself.
2015-11-14 16:03:00 -08:00
Jakob Unterwurzacher
fe4b2a6345 Add "build.sh" helper script
Simplifies compiling encfs and is also used by test.sh
2015-11-12 19:18:35 +01:00
Jakob Unterwurzacher
a424a2155b tests: fix paths for new build path, add "test.sh" wrapper for usability
All tests pass at the moment.
2015-11-12 19:18:35 +01:00
Jakob Unterwurzacher
c3e63d7836 tests: fix "push on reference is experimental" warning
"tests/reverse.t.pl .. push on reference is experimental at tests/common.pl line 144."
2015-11-12 19:18:34 +01:00
Walter Doekes
07fb5b8990 Perform checks to ensure that we're not descending into ourself.
It's possible to mount this filesystem in a descendant of the real
(source) filesystem. For instance, one could do this:

    encfs --reverse / /home/encrypted/rootfs

At that point, all files in `/` (like `/root/.bashrc`) are also in
`/home/encrypted/rootfs` (like `/home/encrypted/rootfs/root/.bashrc`).

This can be useful when you want to export an encrypted copy of the
filesystem: the remote backup machine can fetch any file, but all files
will be encrypted.

However, the mountpoint itself is also there:

    /home/encrypted/rootfs/home/encrypted/rootfs

This would cause a `find /` of the filesystem to take infinite time. And
what's worse; trying to read files from there would cause the filesystem
to lock up:

    cat /home/encrypted/rootfs/home/encrypted/rootfs/root/.bashrc
    (infinite hang)

This patch adds an extra check so the filesystem refuses to descend into
itself.
2015-11-12 11:08:31 +01:00
Valient Gough
2d3780bb64 Merge pull request #113 from cloehle/patch-1
Fixed typo
2015-10-11 21:55:42 -07:00
Valient Gough
71cecd249b Merge pull request #117 from posita/posita/osx-encfssh
Use `umount` on systems where `fusermount` is not available.
2015-10-11 21:54:12 -07:00
Matt Bogosian
95d6ae8bec Use umount on systems where fusermount is not available. 2015-10-11 13:33:49 -07:00
Christian Loehle
1e52f2126c Fixed typo then -> than
Signed-off-by: Christian Loehle <cloehle@linutronix.de>
2015-09-18 12:20:04 +02:00
Valient Gough
340fefda32 Merge pull request #105 from vgough/cmake28
Lower CMAKE dependency to version 2.8
2015-08-20 20:21:37 -07:00
Valient Gough
05a445d65c use default cmake install for circle ci test 2015-08-19 20:13:14 -07:00
Valient Gough
4742699fdf lower required CMake version to 2.8 2015-08-19 20:11:40 -07:00
Valient Gough
29c518d9d7 Add reference to CircleCi
Update installation description to also reference CircleCi
2015-07-23 21:39:27 -04:00
Valient Gough
cbe37e5b47 Merge pull request #91 from vgough/circle
Add support for Circle CI.
2015-06-19 00:04:54 -07:00
Valient Gough
d5506e6d4b add encfsctl check to drone build 2015-06-19 00:02:44 -07:00
Valient Gough
6e4e36cfbe add circle to build status 2015-06-19 00:02:44 -07:00
Valient Gough
48f2d97ab8 add circle.yml 2015-06-19 00:02:44 -07:00
Valient Gough
30b5b53163 change minimum cmake requirement to 3.1, for C++11 support 2015-06-18 08:50:55 -07:00
Valient Gough
31e302cb4a Set RPATH to install location, for #87. 2015-06-18 08:50:55 -07:00
Valient Gough
6700a76c0d Merge pull request #89 from vgough/cleanup
Cleanup formatting and includes.
2015-06-17 23:37:40 -07:00
Valient Gough
29a6c8aabd update so version 2015-06-17 23:19:15 -07:00
Valient Gough
3b751dde57 Replace check for GNU internal hashmap with std unordered_map. 2015-06-17 22:59:34 -07:00
Valient Gough
98b2d50b40 Make encfs include paths consistent. 2015-06-17 22:59:04 -07:00
Valient Gough
32fe6e104a run IYWU to fixup includes 2015-06-17 22:44:11 -07:00
Valient Gough
1682f365d9 run clang-format 2015-06-17 21:16:50 -07:00
Valient Gough
0b813eb50b Revert "re-add basic support for tr1 memory", breaks drone check. 2015-06-17 21:07:55 -07:00
Valient Gough
a3220d2ce8 remove reference to old autoconf script 2015-06-17 20:47:56 -07:00
Valient Gough
6cd40ff136 drop old script 2015-06-17 20:47:13 -07:00
Valient Gough
9cc4196f3d drop checks for tr1 headers that are not used 2015-06-17 20:46:46 -07:00
Valient Gough
1f111e2e1a re-add basic support for tr1 memory 2015-06-17 20:45:19 -07:00
Valient Gough
c22904b795 drop autoconf ignore rules 2015-06-16 20:41:50 -07:00
Valient Gough
faf35fabf9 check xopt args quietly 2015-06-16 20:38:42 -07:00
Valient Gough
9632b7a36c fix install targets 2015-06-16 10:18:10 -07:00
Valient Gough
d89c69b10c cleanup fuse search path specification 2015-06-16 08:03:02 -07:00
Valient Gough
34b0d0d61b point badge at master branch 2015-06-15 23:54:13 -07:00
Valient Gough
529224ff6d Merge pull request #84 from vgough/cmake
Replace autoconfig with CMake
2015-06-15 23:53:08 -07:00
Valient Gough
12e8efb2cd add test target 2015-06-15 23:48:14 -07:00
Valient Gough
f04381fe17 move install commands closer to definitions 2015-06-15 21:16:00 -07:00
Valient Gough
322da93252 change library name back to encfs 2015-06-15 21:10:48 -07:00
Valient Gough
377c9ec73f change INSTALL docs to use cmake 2015-06-15 21:00:45 -07:00
Valient Gough
0fc7bbe992 add po file compilation 2015-06-15 20:36:26 -07:00
Valient Gough
2ec85a6638 add drone-config files, for setting up a standalone drone instance 2015-06-15 20:25:29 -07:00
Valient Gough
e74fec792f replace travis badge with drone badge from custom drone deployment 2015-06-15 19:45:50 -07:00
Valient Gough
772054e7cf change readpassphrase include 2015-06-15 19:45:50 -07:00
Valient Gough
03f0211fea add skeleton drone.yml file 2015-06-15 19:45:50 -07:00
Valient Gough
44aef545ab remove autoconf scripts, update build docs 2015-06-15 19:45:50 -07:00
Valient Gough
852887d38d add cmake config 2015-06-15 19:45:50 -07:00
Valient Gough
08e918f8ff Merge pull request #75 from xenomorpheus/man
only build man if BUILD_MANHTML is true
2015-04-04 21:12:55 -07:00
bruins
e407e3c78f only build man if BUILD_MANHTML is true 2015-04-04 23:49:29 +10:30
Valient Gough
5753151b09 Merge pull request #74 from rfjakob/next
Release 1.8.2
2015-04-01 20:45:13 -07:00