Commit Graph

469 Commits

Author SHA1 Message Date
Valient Gough
b3355962ee rewrite C++11 check to look for basic classes 2014-10-26 11:35:52 -07:00
Valient Gough
01d409b2d7 add config macro to check for c++11 support 2014-10-26 11:02:13 -07:00
Valient Gough
14b228d185 rework fuse version check 2014-10-26 10:50:10 -07:00
Valient Gough
fe4300a53e reduce boost dependency 2014-10-26 10:49:51 -07:00
Valient Gough
19aba9fa77 reduce boost dependencies
enables c++11 mode on GCC
also fix soft links to root paths in reverse mode
2014-10-26 10:23:10 -07:00
Valient Gough
73ea32c2c2 Merge pull request #25 from rfjakob/master
Merge bash tests into Perl infrastructure
2014-10-22 23:15:23 -07:00
Jakob Unterwurzacher
7e03b6d2c5 tests: Add reverse mode tests 2014-10-21 22:13:36 +02:00
Jakob Unterwurzacher
b696f87ace README.md: Mention EncFS unique features 2014-10-20 21:16:40 +02:00
Jakob Unterwurzacher
6adc1e4a8f tests: Always run unit tests 2014-10-20 20:55:13 +02:00
Jakob Unterwurzacher
0e8e1dd20c tests: Move perl tests to tests/, make them callable from top-level Makefile
Use "make test" or "make test-verbose" to run.
Note that "make test" seems to be more common than "make tests", hence the
change.

Also, use a new clean directory directory as a working area for each run
Created using mkdtemp and deleted in cleanup()
2014-10-20 20:55:02 +02:00
Jakob Unterwurzacher
38970c75bd tests: Port bash tests to perl
This integrates the tests written in bash into the existing perl infrastructure.
2014-10-20 20:46:29 +02:00
Jakob Unterwurzacher
d9c7d52b89 tests: Fix fusermount detection in tests.t
Used to fail with

	Unsuccessful stat on filename containing newline at tests.t line 196.
	umount: /tmp/crypt-11388: Permission denied
	not ok 44 - unmount ok, mount point removed
	#   Failed test 'unmount ok, mount point removed'
	#   at tests.t line 205

now all tests pass.
2014-10-20 20:46:29 +02:00
Valient Gough
3b5035893d switch build status icon to vgough/encfs 2014-10-18 21:20:58 -07:00
Valient Gough
b3c851982f reformat using clang 2014-10-18 19:19:33 -07:00
Valient Gough
744f56b95d Merge pull request #23 from rfjakob/master
Add integration tests & Compare MACs in constant time
2014-10-17 13:58:42 -07:00
Jakob Unterwurzacher
87fac6af57 Compare MACs in constant time to prevent timing attacks
Fixes bug #12.
2014-10-17 19:42:06 +02:00
Jakob Unterwurzacher
8bda1c8a46 tests: Add integration tests
Add a simple cli-based test infrastructure with a few tests
to prepare future code changes.
Note that these cannot be run on Travis CI as it does not support
FUSE.

Expected output:

	$ tests/run.sh
	1 Running unit tests: OK
	*** running test_corruption.sh
	2 Reading file: OK
	3 Reading corrupted file: OK
	4 Reading file with MAC: OK
	5 Corruption with MAC returns IO error: OK
	*** running test_file_expansion.sh
	6 Creating files of different sizes: : OK
	7 Growing file: OK
	8 Internal modification: OK
	*** All tests OK
2014-10-17 19:41:21 +02:00
Valient Gough
4488ccf02b clarify comments on dev branch 2014-10-15 21:08:31 -07:00
Valient Gough
107f2a5fa6 Merge pull request #22 from rfjakob/master
Clean up autogenerated files & add automatic Travis CI testing
2014-10-15 20:55:21 -07:00
Jakob Unterwurzacher
7674edc13f Travis: Run self-tests after compile 2014-10-12 20:35:36 +02:00
Jakob Unterwurzacher
d09d344072 Add Travis CI config file and build status icon
At the moment, the icon points to rfjakob's Travis account.
This could/should be changed to vgough.
2014-10-12 19:18:27 +02:00
Jakob Unterwurzacher
61dc26fd8b Fix syntax error in encfsctl.pod (misplaced "=pod")
Error was:

	/usr/bin/pod2man --section=1 --release=1.7.5 --center="Encrypted Filesystem" encfsctl.pod encfsctl.1
	encfsctl.pod around line 1: =cut found outside a pod block.  Skipping to next block.
	POD document had syntax errors at /usr/bin/pod2man line 69.
	make[2]: *** [encfsctl.1] Error 255
2014-10-12 18:42:59 +02:00
Jakob Unterwurzacher
1c779f0221 Add .gitginore: Ignore files that are generated on build
A "git status" after building now comes back clean.
2014-10-12 18:36:50 +02:00
Jakob Unterwurzacher
b3da46c2a9 Remove autogenerated files
These are generated when running "autoreconf -if", no need to track
them in git.
2014-10-12 18:33:41 +02:00
Valient Gough
974b856741 add README.md 2014-08-21 19:46:43 -07:00
Valient Gough
0361c9558d Merge branch 'master' into 1.x 2014-08-21 19:34:19 -07:00
Valient Gough
59477525b3 add encfs combo image 2014-08-18 22:12:31 -07:00
Valient Gough
ad9db84cea reformat file for shorter lines 2014-07-24 23:58:51 -07:00
Valient Gough
401bb9e737 Update encfs.pod
Update encfs references to use pod markdown
2014-07-24 23:57:21 -07:00
Valient Gough
92ad2d0384 Merge pull request #1 from vgough/docs/encfs-update
Docs/encfs update
2014-07-24 23:54:30 -07:00
Valient Gough
723209aad2 Update README.md
update header
2014-07-24 23:51:56 -07:00
Valient Gough
556bc812b4 Create README.md
Add initial intro page.
2014-07-24 23:49:06 -07:00
Sam Gleske
712c242e30 doc: encfs add file-hole pass-through doc
Previously undocumented though file-hole pass-through has been
available in encfs since 1.4.1.
2014-07-25 00:20:19 -04:00
Sam Gleske
f377d34dff doc: encfs spelling and grammar corrections 2014-07-25 00:00:17 -04:00
Valient Gough
16b1cff29b update boost m4 macros
git-svn-id: http://encfs.googlecode.com/svn/branches/1.x@135 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-12-03 06:50:52 +00:00
Valient Gough
b27d4a79e2 remove outdated files from dist target
git-svn-id: http://encfs.googlecode.com/svn/branches/1.x@134 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-12-03 06:26:07 +00:00
Valient Gough
1593e4a981 allow use of earlier gettext version
git-svn-id: http://encfs.googlecode.com/svn/branches/1.x@133 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-11-17 06:48:07 +00:00
Valient Gough
15eb697a48 fix std::shared_ptr check
git-svn-id: http://encfs.googlecode.com/svn/branches/1.x@132 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-11-17 06:36:14 +00:00
Valient Gough
218124c359 add check for std::shared_ptr
git-svn-id: http://encfs.googlecode.com/svn/branches/1.x@131 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-11-17 06:32:27 +00:00
Valient Gough
b5352f2381 1.x: backport support for std::shared_ptr, use __APPLE__ instead of __FreeBSD__
git-svn-id: http://encfs.googlecode.com/svn/branches/1.x@130 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-11-16 18:24:07 +00:00
Valient Gough
3373886fdf 1.x: update gettext, replace autosprintf with boost::format
git-svn-id: http://encfs.googlecode.com/svn/branches/1.x@129 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-11-13 06:45:46 +00:00
Valient Gough
07b35f2b49 1.x: update autoconf, allow building with NLS disabled
git-svn-id: http://encfs.googlecode.com/svn/branches/1.x@128 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-11-13 05:31:57 +00:00
Valient Gough
96d21a4d54 fix compiler warnings on osx 10.9
git-svn-id: http://encfs.googlecode.com/svn/branches/1.x@127 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-11-11 06:19:49 +00:00
Valient Gough
452690a7a3 fix build of mainline code for OSX 10.9
git-svn-id: http://encfs.googlecode.com/svn/trunk@126 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-11-04 06:41:08 +00:00
Valient Gough
96a5f19e02 fix some path issues after NameIO api change
git-svn-id: http://encfs.googlecode.com/svn/trunk@125 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-10-21 06:24:39 +00:00
Valient Gough
b606ef122b cleanup warnings from cppcheck
git-svn-id: http://encfs.googlecode.com/svn/trunk@124 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-10-21 05:38:54 +00:00
Valient Gough
d1a9ccdd19 rework NameIO interface to use string instead of C-strings, avoid leaking memory if error occurs
git-svn-id: http://encfs.googlecode.com/svn/trunk@123 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-10-21 05:38:27 +00:00
Valient Gough
88f041a0b2 minor cleanup
git-svn-id: http://encfs.googlecode.com/svn/trunk@122 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-10-19 22:42:44 +00:00
Valient Gough
a89752dfe7 reformat with clang-format -style=Google
git-svn-id: http://encfs.googlecode.com/svn/trunk@121 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-10-19 22:35:26 +00:00
Valient Gough
154ce001a1 fix broken b64 decoding when reading encfs 1.x XML files
git-svn-id: http://encfs.googlecode.com/svn/trunk@120 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-10-19 07:09:15 +00:00