Commit Graph

168 Commits

Author SHA1 Message Date
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
e2cd97de96 Update ranges-v3 to 0.11.0 2021-01-14 20:08:09 -08:00
Sebastian Messmer
a245ac1ffb Add XChaCha20-Poly1305 cipher and make it the default 2021-01-14 20:02:06 -08:00
Sebastian Messmer
042c7130eb Update to spdlog 1.8.2 2021-01-14 20:00:19 -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
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
cd9aa14202 Merge branch 'release/0.10' into develop 2020-07-21 23:52:03 -07:00
Sebastian Messmer
127a18e2fa Add feature to changelog 2020-07-19 16:58:24 -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
0e27097462 Allow building with local dependencies instead of using conan 2020-07-09 01:15:25 -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
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
8e617b1342 Add support for atime mount options (noatime, strictatime, relatime, atime, nodiratime). As before, relatime is the default. 2019-11-05 10:08:04 -05:00
Sebastian Messmer
8376a554cc Setup conan and get boost dependency through it 2019-11-05 10:02:54 -05:00
Sebastian Messmer
d2e5ba7fa5 Merge branch 'release/0.9' into develop 2019-06-08 13:34:47 -07:00
Sebastian Messmer
23b11860d3 Mark 0.9.11 as released 2019-06-08 13:33:53 -07:00
Sebastian Messmer
50341b763c Merge branch 'release/0.10' into develop 2019-06-08 13:33:06 -07:00
Sebastian Messmer
cf30234069 Mark 0.10.2 as released 2019-06-08 13:08:25 -07:00
Sebastian Messmer
335228b97c Merge from release/0.9 2019-06-03 19:29:51 -07:00
Sebastian Messmer
cba95beb17 Update to crypto++ 8.2 2019-06-01 20:34:28 -07:00
Sebastian Messmer
e90fda0f03 Fix a race condition when a file descriptor is closed while there's read/write requests for that file being processed. 2019-06-01 20:01:35 -07:00
Sebastian Messmer
251272b517 Fix a race condition when a file descriptor is closed while there's read/write requests for that file being processed. 2019-06-01 19:27:47 -07:00
Sebastian Messmer
1d422cbb38 Fix occasional crash in mkdir() on Windows 2019-05-25 13:35:44 -07:00
Sebastian Messmer
7d40937b9a Better logging when local state can't be loaded 2019-05-25 12:28:13 -07:00
Sebastian Messmer
0ee707397d Prepare changelog for 0.10.2 2019-04-03 18:40:31 -07:00
Sebastian Messmer
e732cc03f6 Mark 0.10.1 as released 2019-04-03 18:37:11 -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
1409b061b7 Update to DokanY 1.2.1 and Boost 1.67 on Windows 2019-03-30 13:47:15 -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
0abe985dc0 Mention musl fixes in ChangeLog 2019-03-23 22:02:27 -07:00
Sebastian Messmer
2150446a2c Use paths relative to executable location to find subprocess executables 2019-03-23 22:01:26 -07:00
Sebastian Messmer
6f07ebed88 Merge branch 'hotfix/idleunmount' into release/0.10 2019-02-28 22:03:29 -08:00
Sebastian Messmer
f573843f27 Fix --unmount--idle 2019-02-28 02:29:10 -08:00
Sebastian Messmer
8c189c9ace fix cmake crypto++ 2019-02-28 01:22:04 -08:00
Sebastian Messmer
5a5f8f7324 When trying to migrate a file system from CryFS 0.9.3 or older, show an error message suggesting to first open it with 0.9.10 because we can't load that anymore. 2019-02-10 13:07:50 -08:00
Sebastian Messmer
97c9ac4a75 If file system migration encounters files or folders with the wrong format in the base directory, it now just ignores them instead of crashing. 2019-02-09 14:55:16 -08:00
Sebastian Messmer
a98f0f92a1 Mark 0.10.0 as released 2019-02-08 18:50:13 -08:00
Sebastian Messmer
ec05613968 Mark 0.9.10 as released 2019-01-20 19:57:23 -08:00
Sebastian Messmer
58cb91102d Implement cryfs-unmount for unmounting filesystems 2019-01-19 13:02:41 -08:00