Commit Graph

156 Commits

Author SHA1 Message Date
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
Valient Gough
2b01a08938 check for gflags, enable in encfsctl
git-svn-id: http://encfs.googlecode.com/svn/trunk@119 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-10-19 07:08:46 +00:00
Valient Gough
5fa5f02109 [issue 177] move pod statement in encfs.pod
git-svn-id: http://encfs.googlecode.com/svn/branches/1.x@118 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-10-03 05:28:40 +00:00
Valient Gough
9c1b8f590f add warning to encfs output, to discourage use of 2.x branch by non-developers
git-svn-id: http://encfs.googlecode.com/svn/trunk@117 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-10-03 05:24:59 +00:00
Valient Gough
6c3f2105bf [issue 175] fix thread linkage
git-svn-id: http://encfs.googlecode.com/svn/trunk@116 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-10-03 05:15:25 +00:00
Valient Gough
e2b912c731 add delaymount option which delays initial mount. Patch by Jeff King
git-svn-id: http://encfs.googlecode.com/svn/trunk@115 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-10-03 05:10:23 +00:00
Valient Gough
0b6fabffde fix build issues on Ubuntu
git-svn-id: http://encfs.googlecode.com/svn/trunk@114 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-10-03 05:10:01 +00:00
Valient Gough
231ebe9239 add delaymount option which delays initial mount. Patch by Jeff King
git-svn-id: http://encfs.googlecode.com/svn/branches/1.x@113 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-10-03 04:58:17 +00:00
Valient Gough
2ea32dd296 Create 1.x branch, based on 1.7.x. This is the maintenance branch.
git-svn-id: http://encfs.googlecode.com/svn/branches/1.x@112 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-10-03 04:55:05 +00:00
Valient Gough
b59d806e4b replace OpenSSL references with CipherV1::init
git-svn-id: http://encfs.googlecode.com/svn/trunk@111 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-06-22 21:16:01 +00:00
Valient Gough
1e6b715380 fix cipher initialization
git-svn-id: http://encfs.googlecode.com/svn/trunk@110 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-06-22 21:00:05 +00:00
Valient Gough
c44b208078 fix botan post-decryption test
git-svn-id: http://encfs.googlecode.com/svn/trunk@109 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-06-22 20:08:14 +00:00
Valient Gough
00248b6a8f fix unsigned comparison warning, tweak comment
git-svn-id: http://encfs.googlecode.com/svn/trunk@108 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-06-20 05:48:50 +00:00
Valient Gough
d128220fe4 fix english in prompt
git-svn-id: http://encfs.googlecode.com/svn/trunk@107 db9cf616-1c43-0410-9cb8-a902689de0d6
2013-06-18 06:03:16 +00:00