Still see failures on createemptysrcdirs and ext_paths in bisync tests.
ext_paths failures are just from not supporting DirMove. I'm not sure
about createemptysrcdirs.
This started as written from scratch, and then I discovered #6954 and
the corresponding library written by @fhilgers in a separate repository.
That work is someone incomplete, so I decided to reconcile the two
projects by continuing with my project, but copying as much code as
possible from the other project, to hopefully end up with something
better than both.
Major differences from the other cryptomator backend project:
- Operations other than listing directories are TODO.
- Added support for both cipher suites Cryptomator has used, SIV_GCM and
SIV_CTRMAC. SIV_GCM is based on better primitives and is used in newer
vaults, SIV_CTRMAC is still supported for older vaults.
- The backend uses fs.DirCache to cache directory traversals, which
should help a lot with how they were slow in the other project.
#1647
Added the ability to include item's metadata on uploads via the
Internet Archive backend using the `--internetarchive-metadata="key=value"`
argument. This is hidden from the configurator as should only
really be used on the command line.
Before this change, metadata had to be manually added after uploads.
With this new feature, users can specify metadata directly during the
upload process.
This race would only happen when --dir-cache-time was very small.
This was noticed in the VFS tests when --dir-cache-time was 100 mS so
is unlikely to affect normal users.
Before this change rclone would always use encoding-type url even if
the client hadn't asked for it.
This confused some clients.
This fixes the problem by leaving the URL encoding to the gofakes3
library which has also been fixed.
Fixes#7836