Finally encrypt subdirectories during sync
authorKevin Ottens <kevin.ottens@nextcloud.com>
Wed, 17 Jun 2020 17:19:30 +0000 (19:19 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 30 Jun 2020 09:29:08 +0000 (11:29 +0200)
commitf93fdafa80b23b98b47826296bfed3e130181fd5
treec4cf7b89b1c6e4538eb83f1c0960dac717df6f1a
parent319e441653d0b4bfe08b68f3c16c549f6760c493
Finally encrypt subdirectories during sync

We catch when a directory is inside a known encrypted folder and in such
a case we now do the following:
 1) we encrypt the folder meta data (its name) properly and create it
    under that mangled name on the server side
 2) we mark the new folder itself as encrypted

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/libsync/propagateremotemkdir.cpp
src/libsync/propagateremotemkdir.h