Commit Graph

545 Commits

Author SHA1 Message Date
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
Valient Gough
72bb7ab375 strip whitespace from translation text 2015-04-01 20:39:30 -07:00
Valient Gough
c4c643948a add local flag on apple 2015-04-01 20:39:26 -07:00
Jakob Unterwurzacher
cd952fd4dc Bump version to 1.8.2
...and update the changelog.
2015-03-29 18:50:22 +02:00
Jakob Unterwurzacher
12e0cd047f Include README.md and tests in the release tarball
Also, fix "make distcheck", it failed because of the relative path "*.m4":

    make[3]: Entering directory `/home/jakob/encfs/encfs-1.8.1/_build/m4'
    make[3]: *** No rule to make target `*.m4', needed by `distdir'.  Stop.
2015-03-29 18:40:22 +02:00
Jakob Unterwurzacher
1d3ab3605b xgettext: Use --no-location to reduce diff noise
Actually, "--add-location=file" would be better than "--no-location",
but this flag only supported from gettext 0.19.4 (released Dec 2014).

We can switch to "--add-location=file" onclude gettext 0.19.4 is
the major distributions.
2015-03-29 18:28:59 +02:00
Jakob Unterwurzacher
5aec2078ee Fix include directories for "make distcheck"
Used to fail with:

    ../../encfs/i18n.h:25:26: fatal error: intl/gettext.h: No such file or directory
     #include "intl/gettext.h"
                              ^
2015-03-29 17:53:12 +02:00
Felix Janda
6333bbc7cb Add shared_ptr.h to tarball generated by make dist 2015-03-29 15:57:09 +01:00
Valient Gough
843a4ca5be Merge pull request #69 from rfjakob/next
Changes for 1.8.1
2015-03-24 13:45:16 -07:00
Jakob Unterwurzacher
17e12d3e9a Bump version to 1.8.1 and update changelog 2015-03-22 22:02:22 +01:00
Eric Swanson
9d06412f1c Work around #14 (Editing Configuration File Disables MACs) with "--require-macs"
This patch implements the workaround proposed by
https://defuse.ca/audits/encfs.htm to create a --require-macs command
line argument. If this argument is passed, encfs will refuse to mount
with MACs disabled. When creating a filesystem, encfs will force MACs to
be enabled.

Addressed CR comments, and added docs.
2015-03-22 21:04:16 +01:00
Jakob Unterwurzacher
82ceb88998 Remove "-o default_permissions" unless needed.
It is only needed when "-o allow_other" is specified.

"-o default_permissions" causes libfuse to check file access
in userspace. This costs CPU cycles and causes additional
stat() calls - libfuse has to walk up the whole path to check
for "x" permissions on directories.

This improves "make benchmark-reverse" performance
by 30% when caching is disabled. It also gives a slight
improvement with caches on.

Before:

  tests/benchmark-reverse.pl /var/tmp
  * rsync 1 (initial copy)... 12179 ms
  * rsync 2 (no changes)... 1840 ms
  cleaning up... done
  tests/benchmark-reverse.pl /var/tmp --nocache
  * rsync 1 (initial copy)... 30696 ms
  * rsync 2 (no changes)... 10552 ms
  cleaning up... done

After:

  tests/benchmark-reverse.pl /var/tmp
  * rsync 1 (initial copy)... 12095 ms
  * rsync 2 (no changes)... 1693 ms
  cleaning up... done
  tests/benchmark-reverse.pl /var/tmp --nocache
  * rsync 1 (initial copy)... 21266 ms
  * rsync 2 (no changes)... 6486 ms
  cleaning up... done
2015-03-22 21:04:16 +01:00
Jakob Unterwurzacher
31568b1de5 tests: Add benchmark-reverse.pl
Benchmarks "encfs --reverse" rsync performance.

Run "make benchmark-reverse" to run it with default settings.
2015-03-22 21:03:47 +01:00
Jakob Unterwurzacher
c58d311569 tests: Complain loudly when encfs segfaults while mounting
...instead of having all later tests fail with strange
error messages.
2015-03-20 00:12:51 +01:00
Jakob Unterwurzacher
21b3811f86 reverse mode: Disable unique IV by default
Commit 76424a58cb enabled unique IV
for reverse mode by default, to get more testing and to increase
security of reverse mode.

The downside is that all IVs change when the inode numbers change,
which means that all of the ciphertext changes.

This may bite people who copied the plaintext to a new filesystem
- they will find out that they have to rsync everything again.

This commit disables unique IV for reverse mode by default. It can
still be enabled through expert mode.
2015-03-16 08:31:25 +01:00
Jakob Unterwurzacher
d14bedfff6 encfs manpage: Document --nocache 2015-03-15 17:55:44 +01:00
Jakob Unterwurzacher
0182dbf9d7 gitignore: add autogenerated po/*.gmo files 2015-03-15 17:55:44 +01:00
Jakob Unterwurzacher
5ef4ab0a41 reverse: re-enable kernel cache
Disabling the kernel cache make sure the encrypted view is always
up-to-date, however, it causes a factor 3 slowdown.
Please use --nocache manually if you want to disable caching.
Closes #60.

Also replaces the magic identifiers 513 and 514 by proper defines.
2015-03-15 17:54:56 +01:00
Valient Gough
b2f50bab1e import po files from Rosetta, update and fix po build errors 2015-03-13 21:59:02 -07:00
Valient Gough
b8ed8abbab add comment about misuse of ngettext 2015-03-13 21:59:01 -07:00
Valient Gough
a856210a85 Merge pull request #58 from rfjakob/next
Release 1.8
2015-03-09 21:28:24 -07:00