Commit Graph

2292 Commits

Author SHA1 Message Date
Sebastian Messmer
e38af1001d Remove unused using statements 2017-10-29 15:47:46 +00:00
Sebastian Messmer
67c9129909 Add script to explicitly run clang-tidy on the whole code base 2017-10-29 15:32:39 +00:00
Sebastian Messmer
5b0fa8c2f7 Workaround clang-tidy warning on newer clang-tidy versions 2017-10-27 15:29:38 +01:00
Sebastian Messmer
76e7f7da72 Introduce clang-tidy and fix corresponding warnings 2017-10-27 04:02:51 +01:00
Sebastian Messmer
5dfaf948b7 Hide not-helpful compiler warning in scrypt code 2017-10-27 04:01:33 +01:00
Sebastian Messmer
5f4eb2d868 Hide clang warning about missing overrides in MOCK_METHOD() definitions 2017-10-27 04:00:52 +01:00
Sebastian Messmer
27fba3252e std::malloc has implementation defined behavior for size=0. Handle this correctly. 2017-10-27 03:58:44 +01:00
Sebastian Messmer
8eac0f055f Fix clang-tidy warnings 2017-10-08 18:29:45 +01:00
Sebastian Messmer
a3e26c7480 Fix test case compatibility with older compilers 2017-10-08 16:23:44 +01:00
Sebastian Messmer
97c6bccc39 Fix test case compatibility with older compilers 2017-10-08 16:14:40 +01:00
Sebastian Messmer
8eda3bfcd5 Fix std::move misuse 2017-10-08 13:15:11 +01:00
Sebastian Messmer
2b8e0571be Merge branch 'next' of github.com:cryfs/cryfs into next 2017-10-08 07:11:21 +01:00
Sebastian Messmer
5d07ce6e12 Improve ASAN settings 2017-10-08 07:10:13 +01:00
Sebastian Messmer
600854572c Disable network tests by default, because they can fail depending on the network setup 2017-10-08 06:54:31 +01:00
Sebastian Messmer
5b4a814640 Stricter asan settings 2017-10-02 08:35:19 +01:00
Sebastian Messmer
f0e92b8819 Enable additional asan checks 2017-10-02 08:08:34 +01:00
Sebastian Messmer
ea3a7cf0e2 Add AddressSanitizer to CI 2017-10-02 08:02:55 +01:00
Sebastian Messmer
0af087c120 Fix clang warning 2017-10-02 08:01:38 +01:00
Sebastian Messmer
180170e250 Fix memory leak reported by asan. Not a bad one since it only happens on program exit when the memory is freed anyhow, but better be clean ;) 2017-10-02 07:56:31 +01:00
Sebastian Messmer
d5075ec09e Fix 2017-10-02 04:14:19 +01:00
Sebastian Messmer
ba4308398f Add CXXFLAGS to cache key 2017-10-01 22:14:01 +01:00
Sebastian Messmer
3787777967 Optimize std::move use 2017-10-01 09:04:29 +01:00
Sebastian Messmer
0a7fce6701 Improve CryConfigLoaderTest 2017-09-30 22:44:24 +01:00
Sebastian Messmer
04341f3f7d Add test cases that make sure that CryFS notices if an attacker replaces the whole file system 2017-09-30 22:42:34 +01:00
Sebastian Messmer
be8a1efd35 Improve test cases 2017-09-30 22:24:33 +01:00
Sebastian Messmer
7e01e84d35 Fix accidental change from last commit 2017-09-30 21:35:02 +01:00
Sebastian Messmer
85759961ef Don't keep update check connection open after update check is finished 2017-09-30 18:53:03 +01:00
Sebastian Messmer
bd34a04d0c Fix test cases 2017-09-30 09:30:31 +01:00
Sebastian Messmer
be9f7a4c3d Don't pollute users local state dir when running test cases 2017-09-30 09:18:46 +01:00
Sebastian Messmer
e5d6875523 Don't install old boost on CI because we're installing the new one afterwards anyhow 2017-09-30 09:06:50 +01:00
Sebastian Messmer
011c6d26ce Don't pollute users local state dir when running test cases 2017-09-30 09:03:19 +01:00
Sebastian Messmer
7a5b23db13 Remember hashed filesystem key in local state so attacker can't replace it 2017-09-30 08:49:24 +01:00
Sebastian Meßmer
e4b781ca94 Update README.md 2017-09-30 06:18:51 +01:00
Sebastian Meßmer
66698f7b3d Update README.md 2017-09-30 06:17:34 +01:00
Sebastian Messmer
9fc8b257a0 Fix CI 2017-09-28 21:15:51 -07:00
Sebastian Messmer
9cc3697e1b Fix CI build 2017-09-28 15:13:03 -07:00
Sebastian Meßmer
170b3ed466 Update ChangeLog.txt 2017-09-28 10:19:19 -07:00
Gerrit Toehgiono
a05e4733ef Fixes compilation on FreeBSD 11.1 (RELEASE branch) (#173)
* get_total_memory.cpp: include types.h before sysctl.h (fixes size_t unknown on FreeBSD

* Include fuse.h also in FreeBSD

* update 'defined'-style (src/spp/fuse/params.h)
2017-09-28 10:18:02 -07:00
Sebastian Messmer
49719e3e66 Use config file instead of dir for basedir metadata 2017-09-28 08:19:30 +01:00
Sebastian Messmer
aace4c2f13 Check that filesystem id didn't change since we loaded the basedir the last time 2017-09-28 07:41:08 +01:00
Sebastian Meßmer
0e8622d7ae Update ChangeLog.txt 2017-09-25 13:57:01 -07:00
David Steele
18788bc3f8 Patch get_total_memory() for freebsd compatibility (#172) 2017-09-25 13:55:15 -07:00
Sebastian Messmer
26b3b366c9 Use local state file instead of myClientId file 2017-09-23 20:17:05 +01:00
Sebastian Messmer
73aab31ade Make LoopThread noncopyable 2017-09-19 20:16:47 +01:00
Sebastian Messmer
222ee6acf0 Merge branch 'next' of github.com:cryfs/cryfs into next 2017-09-19 11:20:37 +01:00
Sebastian Messmer
556d9cf452 New default block size: 16KB 2017-09-19 11:20:28 +01:00
Sebastian Messmer
936d49ea50 Update to spdlog 0.14 2017-09-19 00:37:15 +01:00
Sebastian Messmer
51932e6e80 CircleCI cache depends on build type 2017-09-18 20:58:07 +01:00
Sebastian Messmer
86754d7a4e Add Debug/Release builds to CircleCI 2017-09-18 20:56:47 +01:00
Sebastian Messmer
e7cfb4a417 Disable linux build on travis because we now have Circle CI 2017-09-18 20:44:46 +01:00