If the upload fails during the encrypted upload process, we should be able to resume it and use the exact same DEK, so we don't have to re-encrypt everything and start the upload again.
We may store the DEK in the local SQLite DB and remove it once the upload is completed successfully.
If the upload fails during the encrypted upload process, we should be able to resume it and use the exact same DEK, so we don't have to re-encrypt everything and start the upload again.
We may store the DEK in the local SQLite DB and remove it once the upload is completed successfully.