Commit Graph

1102 Commits

Author SHA1 Message Date
0398d48b09
libcryfs: switch to cryfs develop 2024-06-07 19:30:14 +02:00
f90a784af5 Don't resolve symlinks in base dir path 2024-04-28 18:50:20 -07:00
fb45c8e8b6
libcryfs: update to cryfs v0.11.4 2023-09-07 17:21:38 +02:00
Sebastian Messmer
3395435045 Update to fuse 2.9 2023-08-06 22:17:39 -07:00
Sebastian Messmer
d6252896e0 Fix an issue when using -o atime mount options 2023-08-06 22:14:40 -07:00
Sebastian Messmer
371f572646 Use libcurl dependency from conan instead of requiring it to be preinstalled 2023-07-16 20:12:09 -07:00
Sebastian Messmer
804509aff9 Fixed build issue with Python 3.12 2023-07-13 19:30:13 -07:00
Sebastian Messmer
fc21f1c520 Fixed build issue with Python 3.12 2023-07-13 19:29:54 -07:00
Sebastian Messmer
b3828e5385 Update to DokanY 2.0.6.1000 2023-07-10 18:39:55 -07:00
Sebastian Messmer
9ccb006f61 - Switch some CI jobs to clang 15
- Fix clang-tidy warnings from Clang 15
2023-07-08 14:48:59 -07:00
Sebastian Messmer
764f46dc33 Upgrade to boost 1.79 2023-07-08 12:35:53 -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
3c56f86d86
libcryfs: make cryfs_init return error code 2023-05-03 00:01:26 +02: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
a1c3f814d5
libcryfs: Update to cryfs v0.11.3 2023-02-01 23:39:12 +01:00
Sebastian Messmer
c1c89728d9 Fix build error 2023-01-11 19:07:16 -08:00
Sebastian Messmer
f5b50f348c Fixed small inaccuracy in calculation of free space in statvfs 2022-12-25 19:14:38 +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
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
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
D Lamb
bbc7acc30f minor: shebang python -> python3 (#439)
Co-authored-by: D Lamb <dlamb.gh@mm.st>
2022-10-11 18:56:45 -07:00
D Lamb
3ecbfc31f9
minor: shebang python -> python3 (#439)
Co-authored-by: D Lamb <dlamb.gh@mm.st>
2022-10-11 18:55:24 -07:00
Onuralp Sezer
231a60a611 change unversioned python commandline into versioned python3 commandline (#413)
Signed-off-by: Onuralp SEZER <thunderbirdtr@fedoraproject.org>
2022-10-11 18:52:44 -07:00
dc82772e5e
More controllable file read/write 2022-09-23 20:54:23 +02:00
c0600c2624
libcryfs: Fix password length bug 2022-09-21 19:09:59 +02:00
Bernhard Rosenkraenzer
ee6250380f Fix build with fmt 9.0 (#433)
* Fix build with fmt 9.0

Co-authored-by: Sebastian Meßmer <smessmer@users.noreply.github.com>
2022-07-22 07:36:34 -05:00
Bernhard Rosenkraenzer
27515e0116
Fix build with fmt 9.0 (#433)
* Fix build with fmt 9.0

Co-authored-by: Sebastian Meßmer <smessmer@users.noreply.github.com>
2022-07-22 05:13:38 -07:00
c5be03ad3a
libcryfs: Allow changing volume password 2022-06-30 21:40:04 +02:00
cf822d6a5b
Allow opening volumes with password hash 2022-06-29 13:27:33 +02:00
356cf8a160
libcryfs: Remove automatic version detection 2022-06-26 15:14:16 +02:00
335815d25a
libcryfs: Genesis 2022-06-26 13:03:57 +02:00
Onuralp Sezer
5f908c641c
change unversioned python commandline into versioned python3 commandline (#413)
Signed-off-by: Onuralp SEZER <thunderbirdtr@fedoraproject.org>
2022-01-25 09:45:07 -08:00
Sebastian Messmer
26ea5a0209 Fix Subprocess on Windows 2021-12-22 22:12:03 +01:00
Sebastian Messmer
fc906adff9 Fix Subprocess on Windows 2021-12-22 21:18:02 +01:00
Sebastian Messmer
31c9290487 Fix subprocess call sites 2021-12-12 13:14:05 +01:00
Sebastian Messmer
47de03ccaf Fix subprocess call sites 2021-12-12 13:13:46 +01:00
Sebastian Messmer
c4bc749fa6 Process I/O needs to use the async API to avoid deadlocks 2021-12-12 13:00:22 +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