Commit Graph

2789 Commits

Author SHA1 Message Date
Sebastian Messmer
9ed731f2dd Change dependency specification to conan 2.0 syntax 2023-06-18 08:47:43 -07:00
Sebastian Messmer
0c24384c4a Update changelog 2023-06-17 23:37:57 -07:00
Sebastian Meßmer
699a3c020c
Update ChangeLog.txt 2023-06-17 23:34:31 -07:00
Sebastian Messmer
5af5eb107f Scrypt _DefaultSettings test actually uses default settings 2023-05-23 18:47:40 -07:00
Sebastian Messmer
f74c919654 Use different values for p and r in scrypt test settings to make sure we catch serialization errors that confuse the two 2023-05-23 18:32:50 -07:00
Sebastian Messmer
2fc5fb61e0 Add a test to make sure scrypt stays backwards compatible 2023-05-23 18:07:11 -07:00
Sebastian Messmer
02f7fa3bb8 Mention https://github.com/cryfs/cryfs/pull/448 fix in changelog 2023-02-26 13:57:22 -08:00
Sebastian Messmer
6198908e86 Mention https://github.com/cryfs/cryfs/pull/448 fix in changelog 2023-02-26 13:56:29 -08:00
Adam Williamson
3f249ff1cd Include stdexcept when using logic_error
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-26 13:55:20 -08:00
Adam Williamson
38849c22aa Include stdexcept when using logic_error
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-26 13:54:23 -08:00
Sebastian Messmer
4f409953e8 Fix conan version to 1.x because 2.0 doesn't work for us yet 2023-02-26 13:50:45 -08:00
Sebastian Messmer
7c7e788367 Fix conan version to 1.x because 2.0 doesn't work for us yet 2023-02-26 13:36:33 -08:00
Sebastian Messmer
c1c89728d9 Fix build error 2023-01-11 19:07:16 -08:00
Sebastian Messmer
21776308d9 Trigger new CI run 2023-01-11 18:59:01 -08:00
Sebastian Messmer
f5b50f348c Fixed small inaccuracy in calculation of free space in statvfs 2022-12-25 19:14:38 +01:00
Sebastian Meßmer
6795d2bc6f
Silence clang warnings 2022-12-19 22:38:55 +01:00
Sebastian Messmer
dde3d667be Fix progress bar 2022-12-19 12:11:27 +01:00
Sebastian Messmer
cc365e9b86 Fix progress bar 2022-12-19 12:03:42 +01:00
Sebastian Messmer
9cd62c279d Remove unused 'using' statement 2022-12-18 22:04:56 +01:00
Sebastian Messmer
2e42c43415 Remove unused variable 2022-12-18 18:02:52 +01:00
Sebastian Messmer
c039629721 No need to build a vector, we can check the block id immediately when we see it 2022-12-18 17:51:55 +01:00
Sebastian Messmer
8b02ff7cc5 Improve rename tests 2022-12-18 17:35:08 +01:00
Sebastian Messmer
45895d8d4f We don't actually need to calculate or store the ancestor chain unless we're renaming 2022-12-18 16:34:16 +01:00
Sebastian Messmer
222ef46d8d Fix clang tidy warnings 2022-12-18 16:20:26 +01:00
Sebastian Messmer
987b40e138 Fix clang-tidy warning 2022-12-18 15:00:32 +01:00
Sebastian Messmer
2425ce4bc0 Make CryNode::rename() more resilient to corner cases, e.g.
- when trying to move a directory into a subdirectory of itself
- make it into its own ancestor
- allow replacing a directory with another directory, but only if the target directory is empty

Nothing here should have an effect on overall CryFS behavior because fuse already catches those corner cases.
But it's better to handle them correctly. Better safe than sorry.
2022-12-18 14:57:38 +01:00
Sebastian Messmer
cd5ac83b7d Fix another compiler warning 2022-12-18 09:48:15 +01:00
Sebastian Messmer
f5e6b3bc5f Fix compiler warning 2022-12-18 07:26:30 +01:00
Sebastian Messmer
4c10d47cd6 Further simplify getLstatSize 2022-12-18 07:14:13 +01:00
Sebastian Messmer
9ac813270b Simplify getLstatSize 2022-12-18 06:30:53 +01:00
Sebastian Messmer
64c95230ca Delete dead code 2022-12-17 18:41:58 +01:00
Sebastian Messmer
3dd8b53366 Fix a bug in DirEntryList::get() where it would throw an error when it didn't find the entry, but the function signature looks like it would return boost::none.
This bug didn't actually materialize because the only call site is in CryNode.cpp and it would throw an error anyways if it gets boost::none. But still worth fixing to reduce API confusion.
2022-12-17 18:12:24 +01:00
Sebastian Meßmer
934d190534
Installation instructions should say 'python3' instead of 'python' 2022-10-24 14:07:39 -07:00
Sebastian Messmer
9845175dca On some systems, when mounting a test file system, the OS asks for /.Trash and /.Trash-1000 and will unmount if the file system returns an error. So let's tell the operating system that those don't exist instead 2022-10-15 15:05:44 -07:00
Sebastian Messmer
1c19488d5e On some systems, when mounting a test file system, the OS asks for /.Trash and /.Trash-1000 and will unmount if the file system returns an error. So let's tell the operating system that those don't exist instead 2022-10-15 15:05:32 -07:00
Sebastian Messmer
48929bb884 Remove CMP0065 mentions from CMakeLists.txt 2022-10-13 00:00:07 -07:00
Sebastian Messmer
6f43639ab5 Merge branch 'feature/CMP0065' into develop 2022-10-12 23:58:56 -07:00
Sebastian Messmer
2bbac4956b Add GCC 10 to CI 2022-10-12 23:57:58 -07:00
Sebastian Messmer
ac15f42978 Cleanup cmake CMP0065 2022-10-12 18:14:31 -07:00
Sebastian Messmer
1ebee6dd19 Add GCC 10 to CI 2022-10-12 17:46:56 -07:00
Sebastian Messmer
539c0db9b0 Fix CI apt-get timeouts by retrying more often 2022-10-12 11:06:11 -07:00
Sebastian Messmer
b8a20ee0b0 Fix CI apt-get timeouts by retrying more often 2022-10-12 10:08:34 -07:00
Sebastian Meßmer
04b865b009
Mention cryfs-unmount man page 2022-10-11 21:30:20 -07:00
Sebastian Messmer
16c3a47304 Add man page for cryfs-unmount 2022-10-11 21:10:31 -07:00
Sebastian Messmer
33e205f642 It's actually clang 7 not gcc 7 that we need to disable on CI, and we only need to disable it on macos. Linux can still run it. 2022-10-11 21:03:33 -07:00
Sebastian Messmer
39e792ad78 It's actually clang 7 not gcc 7 that we need to disable on CI, and we only need to disable it on macos. Linux can still run it. 2022-10-11 21:03:10 -07:00
Sebastian Messmer
cbb47f5ded Re-add CI for Linux GCC 7, only remove GCC 7 CI on macos 2022-10-11 20:49:04 -07:00
Sebastian Messmer
22151ea155 Re-add CI for Linux GCC 7, only remove GCC 7 CI on macos 2022-10-11 20:48:53 -07:00
Sebastian Messmer
26f95309b1 Remove GCC 7 from CI because the macos CI machines cannot install it anymore 2022-10-11 20:45:53 -07:00
Sebastian Messmer
beadb781aa Remove GCC 7 from CI because the macos CI machines cannot install it anymore 2022-10-11 20:45:39 -07:00