Commit Graph

2697 Commits

Author SHA1 Message Date
Sebastian Messmer
c751f432a6 Fix ODR violations in test cases by adding an anonymous namespace around duplicate definitions 2021-01-12 19:48:27 -08:00
Sebastian Messmer
5ee4991281 Update cmake version in README 2021-01-06 22:23:03 -08:00
Sebastian Messmer
5f9ecb0573 Update cmake on CI 2021-01-06 20:45:26 -08:00
Sebastian Messmer
6927a7087a Build with LTO if the compiler supports it 2021-01-06 20:42:07 -08:00
jeremymeadows
353f287bde
Added an option to create a mountpoint with a missing directory (#354)
* Added an option to create a mountpoint with a missing directory

It skips the normal confirmation message, which makes cryfs easier
to use in scripts, or can be aliased for quicker use.

* separated basedir and mountpoint autocreate flags, and added tests

* Werror and clang-tidy fixes
added to the ChangeLog

* fixed the bugs that clang-tidy caused

never used clang before, so I don't really know what it did and why it
caused compile errors
2020-07-31 18:08:19 -07:00
Sebastian Messmer
4e5ddf33e3 Enable stl debugging in clang 2020-07-27 21:18:36 -07:00
Sebastian Messmer
76cf9ea0ed cryfs-stats displays filesystem config information 2020-07-24 16:15:27 -07:00
Sebastian Messmer
3938942a02 - cryfs-stats tool is guaranteed to be readonly and not modify the file system
- Now shows a better error message when failing to load the config file and distinguishes between 'wrong password' and 'config file not found'
- The cryfs-stats tool only reads and never writes the cryfs.config file
2020-07-24 16:14:53 -07:00
Sebastian Messmer
5290947a98 Update CI to clang-tidy 9 and fix warnings 2020-07-22 10:32:43 -07:00
Sebastian Messmer
cd9aa14202 Merge branch 'release/0.10' into develop 2020-07-21 23:52:03 -07:00
Sebastian Messmer
b11b40c145 Enable OpenMP for clang on CI 2020-07-19 20:41:33 -07:00
Sebastian Messmer
127a18e2fa Add feature to changelog 2020-07-19 16:58:24 -07:00
Sebastian Messmer
cf19fc4f30 Display file system configuration when loading 2020-07-19 16:57:37 -07:00
Sebastian Messmer
41ab58faf3 Remove cryfs-stats tool which isn't ready yet and could destroy the file system 2020-07-19 13:30:12 -07:00
Sebastian Messmer
959bbab99c Typo 2020-07-15 16:47:44 -07:00
Sebastian Messmer
ad0e064f42 Use noatime by default 2020-07-14 20:16:32 -07:00
Sebastian Messmer
b603d3b58a Add an --immediate flag to cryfs-unmount that tries to unmount immediately and doesn't wait for processes to release their locks on the file system. 2020-07-13 18:43:50 -07:00
Sebastian Messmer
7d48336f8d Merge branch 'release/0.10' into develop 2020-07-12 20:43:54 -07:00
Sebastian Messmer
d32a98602b Fix Android compilation using patch file https://github.com/termux/termux-root-packages/files/4664745/config.h.patch.txt from https://github.com/cryfs/cryfs/issues/345 2020-07-12 20:43:09 -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
45f85e85fb Remove FindLibunwind.cmake, we don't use libunwind anymore 2020-07-12 15:16:37 -07:00
Sebastian Messmer
fb9c72abe1 Merge branch 'release/0.10' into develop 2020-07-10 17:50:04 -07:00
Sebastian Messmer
e27d63f908 Add .vs and .vscode to .gitignore 2020-07-10 17:48:28 -07:00
Sebastian Messmer
8895eac279 Add vscode folder to gitignore 2020-07-10 16:54:07 -07:00
Sebastian Messmer
192b9decfc Fix Appveyor and Travis CI 2020-07-10 16:23:55 -07:00
Sebastian Meßmer
690f94fc83
Update README.md 2020-07-09 01:18:10 -07:00
Sebastian Messmer
0e27097462 Allow building with local dependencies instead of using conan 2020-07-09 01:15:25 -07:00
Sebastian Meßmer
1b064dbb51
Mention requirement to install python3-pip so we can install conan 2020-07-07 23:53:35 -07:00
Sebastian Meßmer
e7fa2817d2
Remove obsolete dependency 2020-07-02 03:03:00 -07:00
Sebastian Messmer
7d02e20f89 Add Clang 10 to CI 2020-07-02 02:20:47 -07:00
Sebastian Messmer
d8ce25efce Allow building with libstdc++ instead of libstdc++11 if people want to use the old GCC ABI 2020-07-02 02:11:26 -07:00
Sebastian Messmer
f8c0bb8b97 Use SETTINGS to set compiler.libcxx 2020-06-30 20:18:50 -07:00
Sebastian Messmer
3b0d46e01e Apply https://github.com/conan-io/cmake-conan/pull/258 (commit 3df8d20b401528629d0486e577b6c9b4e22b3ae4): Make "SETTINGS compiler.libcxx=libstdc++11" do the right thing (see https://github.com/conan-io/cmake-conan/issues/255) 2020-06-30 20:13:12 -07:00
Sebastian Messmer
9deca117f5 Mention PR 2020-06-30 20:05:29 -07:00
Sebastian Messmer
81f4bf65ee Undo unwanted changes 2020-06-30 20:03:27 -07:00
Sebastian Messmer
8af7b2a910 Set formatting to how the v0.15 tag of cmake-conan is actually formatted 2020-06-30 20:00:43 -07:00
Sebastian Messmer
6f94834c90 Fix bug where a comma in the base directory name would make the file system fail to mount, https://github.com/cryfs/cryfs/issues/326 2020-06-30 19:13:28 -07:00
Sebastian Messmer
9cbc12fc57 Fix bug where a comma in the base directory name would make the file system fail to mount, https://github.com/cryfs/cryfs/issues/326 2020-06-30 14:25:37 -07:00
Sebastian Messmer
873681a3ef Silence compiler warning about unused httpClient when explicitly building without update checks 2020-06-30 00:09:31 -07:00
Sebastian Messmer
7097adb8dc Merge branch 'feature/ninja0' into develop 2020-06-29 23:42:44 -07:00
Sebastian Messmer
12293c0b9e Better fix for conan libstdc++11 setup 2020-06-29 14:17:01 -07:00
Sebastian Messmer
247ef47f94 Upgrade requirement to cmake 3.6 because that's needed to build the range-v3 dependency (if built locally and not with a prebuilt conan package) 2020-06-29 12:51:10 -07:00
Sebastian Messmer
b6c640e081 Add comments pointing to conan issues 2020-06-29 01:35:03 -07:00
Sebastian Messmer
93b1b3d684 Workaround conan issue that downloads packages built with libstdc++ instead of libstdc++11 2020-06-29 01:13:22 -07:00
Sebastian Messmer
38575f258a In CMakeLists.txt, rename BUILD_TESTING to CRYPTOPP_BUILD_TESTING so it doesn't clash with our BUILD_TESTING 2020-06-28 17:20:02 -07:00
Sebastian Messmer
35b44d6e21 In CMakeLists.txt, rename BUILD_TESTING to CRYPTOPP_BUILD_TESTING so it doesn't clash with our BUILD_TESTING 2020-06-28 10:04:12 -07:00
Sebastian Messmer
f179b8c4a4 Fix appveyor build 2020-06-27 17:27:16 -07:00
Sebastian Messmer
3fdbda832c Setup conan compiler.libcxx correctly 2020-06-27 11:35:53 -07:00
Sebastian Messmer
7f6bbffc40 Show correct unmount command in man page 2020-06-27 00:04:26 -07:00