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
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
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
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
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
335815d25a
libcryfs: Genesis
2022-06-26 13:03:57 +02: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
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
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
Sebastian Messmer
a245ac1ffb
Add XChaCha20-Poly1305 cipher and make it the default
2021-01-14 20:02:06 -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
5290947a98
Update CI to clang-tidy 9 and fix warnings
2020-07-22 10:32:43 -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
cb01025c81
Simplify mocking thanks to new googletest features
2019-10-25 23:38:04 -07:00
Sebastian Messmer
f6ef18b046
Fix gcc build
2019-09-30 10:50:51 +07:00
Sebastian Messmer
50341b763c
Merge branch 'release/0.10' into develop
2019-06-08 13:33:06 -07:00
Sebastian Messmer
efac089c76
- Add Clang 8 and GCC 9 to CI
...
- Switch clang-tidy to Clang 9
- Fix compiler and clang-tidy warnings produced by the previous points
2019-06-08 13:06:17 -07:00
Sebastian Messmer
c5febd032a
Merge branch 'release/0.10' into develop
2019-05-25 20:19:44 -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
040f063629
Merge branch 'release/0.10' into develop
2019-02-10 14:29:27 -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
97a264a33a
Fix include path
2019-01-27 09:18:34 -08:00
Sebastian Messmer
58fd7c3956
Merge from release/0.10
2019-01-27 05:38:17 -08:00
Sebastian Messmer
0b9fd31dc3
Add progress bar for migrations
2019-01-26 11:19:25 -08:00
Sebastian Messmer
8a5091b8a2
Add Blob::numNodes()
2019-01-26 11:19:25 -08:00
Sebastian Messmer
a19b2281f7
Make parent pointer migration interrupt-safe
2019-01-26 11:19:25 -08:00
Sebastian Messmer
5386f5b0c9
Implement SignalCatcher
2019-01-26 11:19:25 -08:00
Sebastian Messmer
b2f9e5cc60
Move cryfs code into impl/ subfolder
2019-01-25 23:47:17 -08:00
Sebastian Messmer
6fff8c8030
Merge branch 'develop' into feature/library_intermediate
2019-01-24 13:13:44 -08:00
Sebastian Messmer
652a95dd0d
If a migration was interrupted, continue on next mount
2019-01-24 10:28:42 -08:00
Sebastian Messmer
86ef1012ac
Merge branch 'develop' into feature/remove_cryptopp_compat
2019-01-24 00:43:53 -08:00
Sebastian Messmer
3ad6e4845c
fix clang-tidy
2019-01-23 16:47:03 -08:00
Sebastian Messmer
227058a87a
Merge branch 'develop' into feature/library_intermediate
2019-01-21 23:41:09 -08:00
Sebastian Messmer
1118e9d54d
Fix clang-tidy
2019-01-21 12:01:22 -08:00