Secure file reuploading hotfix
GitOrigin-RevId: 8d64534b3afafeae35ff40531aaf1ba3b4d8a398
This commit is contained in:
parent
e8494ea376
commit
4a2b256ecd
@ -36,6 +36,9 @@ FileUploader::FileUploader(const LocalFileLocation &local, const RemoteFileLocat
|
||||
iv_ = encryption_key_.mutable_iv();
|
||||
generate_iv_ = encryption_key_.iv_slice().str();
|
||||
}
|
||||
if (remote_.type() == RemoteFileLocation::Type::Partial && encryption_key_.is_secure()) {
|
||||
remote_ = RemoteFileLocation{};
|
||||
}
|
||||
}
|
||||
|
||||
Result<FileLoader::FileInfo> FileUploader::init() {
|
||||
|
Loading…
Reference in New Issue
Block a user