Côme Chilliet
a92028f5cd
Rename command to drop-legacy-filekey and remove comment about legacy mode.
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-11 11:56:14 +02:00
Côme Chilliet
36fc5dc8ae
Copy data back instead of renaming to avoid changing the fileid
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-11 11:24:16 +02:00
Côme Chilliet
725403cb0d
Copy and move files to migrate them to the new key
...
We have to rewrite the header, so the whole file needs to be rewritten,
so we just use the same strategy as DecryptAll.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-09 12:02:57 +02:00
Côme Chilliet
146284f170
Fix fopen mode
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-04 17:50:34 +02:00
Côme Chilliet
5663f9b31e
Add an occ command to scan files for legacy file key in use and get rid of those
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-04 16:53:25 +02:00