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
85cc1669a2
Merge from release/0.10
2019-04-03 18:44:48 -07:00
Sebastian Messmer
2150446a2c
Use paths relative to executable location to find subprocess executables
2019-03-23 22:01:26 -07:00
Sebastian Messmer
b2f9e5cc60
Move cryfs code into impl/ subfolder
2019-01-25 23:47:17 -08:00
Sebastian Messmer
596b04acce
Introduce a CryPresetPasswordBasedKeyProvider for when the password is already known
2018-10-27 20:36:54 -07:00
Sebastian Messmer
74cd8abf05
Introduce CryKeyProvider to have an abstraction layer that allows plugging in non-password-based key providers
2018-10-27 09:48:57 -07:00
Sebastian Messmer
aace4c2f13
Check that filesystem id didn't change since we loaded the basedir the last time
2017-09-28 07:41:08 +01:00
Sebastian Messmer
26b3b366c9
Use local state file instead of myClientId file
2017-09-23 20:17:05 +01:00
Sebastian Messmer
be8dffb24d
MyClientId is generated outside of CryDevice to give the CryConfigCreator access to it.
2016-06-26 22:15:52 -07:00
Sebastian Messmer
514dbcb6c7
ClientId is not loaded/generated inside of KnownBlockVersions, but in CryDevice. This way, CryDevice also has access to the ClientID. This is later needed to recognize whether we're in a single-client or in a multi-client setting.
2016-06-26 22:15:52 -07:00
Sebastian Messmer
811c163bfa
Fix rename() when overwriting an existing file: (a) Keep the invariant that the list of directory entries is sorted and (b) delete the blob of the overwritten file
2016-04-25 17:42:17 -07:00
Sebastian Messmer
e48188f470
Restructure project to allow factoring out a library
2016-02-23 21:07:23 +01:00
Sebastian Messmer
d95cc33a58
You can disable the automatic update check by setting CRYFS_NO_UPDATE_CHECK=true in your environment.
2016-02-21 22:15:27 +01:00
Sebastian Messmer
346baf8e9b
Only show update check warning if version on server is actually newer
2016-02-20 18:23:46 +01:00
Sebastian Messmer
c6e8052d93
Merge all git repositories into one
2016-02-11 16:40:48 +01:00