Commit Graph

242 Commits

Author SHA1 Message Date
Sebastian Messmer
fc906adff9 Fix Subprocess on Windows 2021-12-22 21:18:02 +01:00
Sebastian Messmer
cef9a9bd53 Process I/O needs to use the async API to avoid deadlocks 2021-12-12 13:00:07 +01:00
Sebastian Messmer
b01f498a58 Flush logs in test cases 2021-12-11 12:03:50 +01:00
Sebastian Messmer
879b131e17 cryfs-unmount correctly unmounts paths that contain spaces 2021-12-10 17:51:07 +01:00
Sebastian Messmer
c28cb2b2c4 Add Windows CI to Github Actions 2021-04-26 19:08:15 -07:00
Sebastian Messmer
68a4c5646a Fix clang-tidy warnings 2021-04-21 17:37:40 -07:00
Sebastian Messmer
42169308b3 Update boost 2021-04-18 00:49:26 -07:00
Sebastian Messmer
944c8f2f66 Merge branch 'release/0.10' into develop 2021-02-23 08:26:46 -08:00
Sebastian Messmer
c6a69ae36b Fixed crash on startup when running in an environment that doesn't have /home/heinzi set (e.g. an empty env), https://github.com/cryfs/cryfs/issues/374 2021-02-23 08:25:15 -08:00
Sebastian Messmer
a245ac1ffb Add XChaCha20-Poly1305 cipher and make it the default 2021-01-14 20:02:06 -08:00
Sebastian Messmer
d30f69c165 Fix data generation that was broken by the last commit 2021-01-12 23:00:12 -08:00
Sebastian Messmer
caf0b90325 Fix test cases for newer GCC versions in Release mode 2021-01-12 22:09:33 -08:00
Sebastian Messmer
5290947a98 Update CI to clang-tidy 9 and fix warnings 2020-07-22 10:32:43 -07:00
Sebastian Messmer
be20465f5e Fixed determining the user's homedir: If $HOME and the /etc/passwd entry for the current user contradict each other, now $HOME takes preference over /etc/passwd. 2020-07-12 15:19:17 -07:00
Sebastian Messmer
2793e014d4 Fixed determining the user's homedir: If $HOME and the /etc/passwd entry for the current user contradict each other, now $HOME takes preference over /etc/passwd. 2020-07-12 15:18:21 -07:00
Sebastian Messmer
0e27097462 Allow building with local dependencies instead of using conan 2020-07-09 01:15:25 -07:00
Sebastian Messmer
4329279163 Add spdlog via conan and not via the vendor/ directory 2019-11-07 15:25:30 -05:00
Sebastian Messmer
ae09ff98aa Add range-v3 via conan and not via the vendor/ directory 2019-11-05 10:08:00 -05:00
Sebastian Messmer
bb4c10770a Fix googletest deprecations 2019-10-19 18:38:54 -07:00
Sebastian Messmer
a76e7f26cf - expectThrows
- expectFailsAssertion
- fix asserts
2019-10-13 13:01:57 +07:00
Sebastian Messmer
50341b763c Merge branch 'release/0.10' into develop 2019-06-08 13:33:06 -07:00
Sebastian Messmer
efac089c76 - Add Clang 8 and GCC 9 to CI
- Switch clang-tidy to Clang 9
- Fix compiler and clang-tidy warnings produced by the previous points
2019-06-08 13:06:17 -07:00
Sebastian Messmer
f3b71f058a Update to spdlog 1.3.1 2019-06-03 19:09:13 -07:00
Sebastian Messmer
85cc1669a2 Merge from release/0.10 2019-04-03 18:44:48 -07:00
Sebastian Messmer
951f76af15 Fix building with Boost 1.67 2019-04-03 18:36:53 -07:00
Sebastian Messmer
276e7f08e4 Switch from libunwind to boost::stacktrace 2019-04-01 19:18:49 -07:00
Sebastian Messmer
807f0dc01b Use libunwind instead of libbacktrace to build stack traces. This fixes a segfault issue with platforms using libexecinfo and is generally more portable. 2019-03-25 09:29:58 -07:00
Sebastian Messmer
96ae461d34 Remove superfluous SignalHandlerRunningRAII (it is already called inside SignalHandler.h) 2019-03-24 20:53:22 -07:00
Sebastian Messmer
e07a1c5604 Extract SignalHandler from SignalCatcher and also use it for backtrace 2019-03-24 20:52:53 -07:00
Sebastian Messmer
14ad22570d Remove superfluous SignalHandlerRunningRAII (it is already called inside SignalHandler.h) 2019-03-24 18:11:46 -07:00
Andy Weidenbaum
9ee345e16a Implement pthread_getname_np_gcompat for musl (#255) 2019-03-17 16:53:20 -07:00
Sebastian Messmer
8eefb01575 Extract SignalHandler from SignalCatcher and also use it for backtrace 2019-03-17 01:08:57 -07:00
Sebastian Messmer
b738de0564 Merge branch 'release/0.10' into develop 2019-03-16 17:17:44 -07:00
Sebastian Messmer
4b771e85e6 Before, the SignalCatcherRegistry just used the std::atomic pointer to remove SignalCatcherImpls, which could get the wrong SignalCatcherImpl if a SignalCatcher registered multiple SignalCatcherImpls (since they all had the same std::atomic pointer). This wasn't an issue in practice since all SignalCatcherImpls are deregistered at the same time, so it got all of them, but it still wasn't how the code was intended to work. Now, SignalCatcherRegistry uses the SignalCatcherImpl pointer, which is the actual intention. 2019-03-12 01:30:48 -07:00
Sebastian Messmer
5596aa2a4f Merge branch 'release/0.10' into develop 2019-03-02 21:38:07 -08:00
Sebastian Messmer
f573843f27 Fix --unmount--idle 2019-02-28 02:29:10 -08:00
Sebastian Messmer
6142485859 Merge LeftRight fixes from develop 2019-02-02 13:03:14 -08:00
Sebastian Messmer
95203356cb Fix destructor race in LeftRight and add additional test cases 2019-02-02 13:00:53 -08:00
Sebastian Messmer
58fd7c3956 Merge from release/0.10 2019-01-27 05:38:17 -08:00
Sebastian Messmer
67e9885d10 Implement cpputils::ProgressBar 2019-01-26 11:19:25 -08:00
Sebastian Messmer
5386f5b0c9 Implement SignalCatcher 2019-01-26 11:19:25 -08:00
Sebastian Messmer
97e0a7e031 Implement LeftRight 2019-01-26 11:19:21 -08:00
Sebastian Messmer
6fff8c8030 Merge branch 'develop' into feature/library_intermediate 2019-01-24 13:13:44 -08:00
Sebastian Messmer
86ef1012ac Merge branch 'develop' into feature/remove_cryptopp_compat 2019-01-24 00:43:53 -08:00
Sebastian Messmer
b526c3fd89 Merge branch 'develop' into feature/library_intermediate 2019-01-20 20:21:54 -08:00
Sebastian Messmer
ee8be26c83 Merge branch 'release/0.10' into develop 2019-01-20 20:20:54 -08:00
Sebastian Messmer
4f70437715 Remove legacy code making CryFS compatible with older Crypto++ versions. We need a newer Crypto++ versions now anyhow because we use its scrypt implementation. 2019-01-20 14:07:06 -08:00
Sebastian Messmer
8d09fb4c46 Set meaningful thread names for debugging purposes 2019-01-20 13:15:15 -08:00
Sebastian Messmer
29f7f06ca9 Implement set_thread_name and get_thread_name for debugging purposes 2019-01-20 13:15:11 -08:00
Sebastian Messmer
5793be09bb Merge branch 'release/0.10' into develop 2019-01-19 13:03:22 -08:00