Commit Graph

11 Commits

Author SHA1 Message Date
Sebastian Messmer
222ef46d8d Fix clang tidy warnings 2022-12-18 16:20:26 +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
68a4c5646a Fix clang-tidy warnings 2021-04-21 17:37:40 -07:00
Sebastian Messmer
a245ac1ffb Add XChaCha20-Poly1305 cipher and make it the default 2021-01-14 20:02:06 -08:00
Sebastian Messmer
c751f432a6 Fix ODR violations in test cases by adding an anonymous namespace around duplicate definitions 2021-01-12 19:48:27 -08: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
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
cb01025c81 Simplify mocking thanks to new googletest features 2019-10-25 23:38:04 -07:00
Sebastian Messmer
bb4c10770a Fix googletest deprecations 2019-10-19 18:38:54 -07:00
Sebastian Messmer
811584d800 Merge branch 'release/0.10' into develop 2019-02-15 22:38:29 -10:00
Sebastian Messmer
b2f9e5cc60 Move cryfs code into impl/ subfolder 2019-01-25 23:47:17 -08:00