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
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
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
3ecbfc31f9
minor: shebang python -> python3 ( #439 )
...
Co-authored-by: D Lamb <dlamb.gh@mm.st>
2022-10-11 18:55:24 -07: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
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
fc906adff9
Fix Subprocess on Windows
2021-12-22 21:18:02 +01:00
Sebastian Messmer
47de03ccaf
Fix subprocess call sites
2021-12-12 13:13:46 +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
b28b8b6ea8
Show old config values at mount time, otherwise they'd just always show the current version
2021-08-14 10:34:41 -07:00
Sam James
8f49e7d28c
Don't limit install on Release/Debug/RelWithDebInfo CONFIGURATIONS ( #396 )
...
Co-authored-by: Andreas Sturmlechner <asturm@gentoo.org>
2021-08-14 09:38:02 -07:00
Sam James
041b5baea5
src/fspp/fuse/Fuse.h: add <memory.h> include for std::shared_ptr ( #395 )
...
Needed to fix build with Boost 1.77 (some indirect inclusion
got lost).
Signed-off-by: Sam James <sam@gentoo.org>
2021-08-14 09:29:24 -07:00
Sebastian Messmer
a2b07cd8e8
Merge branch 'hotfix/gcc11' into feature/gcc11
2021-05-08 14:46:32 -07:00
Sebastian Messmer
27587ea1ac
Fixed an issue when compiling with GCC 11, see https://github.com/cryfs/cryfs/issues/389
2021-05-08 14:44:27 -07: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
midchildan
fe1b0f10d3
Support the latest FUSE on macOS ( #378 )
...
* feat: support latest FUSE on macOS
This drops osxfuse support in favor of macFUSE. macFUSE is a newer
version of osxfuse that supports the latest release of macOS, and is a
rebranded version of the same project.
* build: use pkg-config to find FUSE
Co-authored-by: Sebastian Messmer <smessmer@users.noreply.github.com>
2021-04-13 00:45:47 -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
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
3c64693778
Fix windows build
2021-01-13 12:35:44 -08:00
Sebastian Messmer
b3c6658466
Comments
2021-01-13 02:11:28 -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
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
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
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