r/ProtonDrive • u/ezrayah • 1d ago
while using easy switch to transfer google drive data to proton drive, does data remain encrypted during transit / migration?
i am not talking about at rest. as at rest it is encrypted. During transit does it remains encrypted? because if you upload from your device, the data first gets encrypted and than it is transfered.
3
u/Kimiko_kawaii 1d ago
I think because it uses Google API it might only get encrypted once it arrives to Protons servers but not certain. Have you checked the docs? Is there nothing relevant in there to your question? Hopefully someone from Proton will answer
2
1
u/West_Possible_7969 1d ago
I am assuming you mean zero knowledge encryption, no, server to server migrations cannot happen that way, you cannot alter Google data through Proton (likewise, you would not be able to alter Proton data through a Google integration unless Google used some SDK functions specifically).
But there is no “remain encrypted during transit”, Google drive data are stored with standard encryption, not e2ee, and that does not change during moves.
You can do it manually if trust in Proton is a problem, although I cannot see how since you had those files in Google drive in the first place.
1
u/ezrayah 1d ago
okay, thanks, i understand it
now to explain a bit better, i understand that zero knowledge encryption is nor possible in this scenario.
what i am trying to ask is
google drive states that in encrypt files in transit
also proton drive encrypts stuff before uploading
is this the same scenario will be applicable in this google to proton transfer like files will be encrypted during transit ( of course not talking about xero knowledge e2e)
or will they unencrypted reach proton's server and than proton will encrypt them after being sitting there unencrypted? unlike the other case in which files are encrypted at device and than sent ro proton's servers?
1
u/West_Possible_7969 1d ago
There is no unencrypted traffic in any service these days. Your data will be transferred with standard encryption from Google, and will be encrypted with your Proton key when they reach Proton’s servers.
1
u/Sweaty_Astronomer_47 3h ago
also proton drive encrypts stuff before uploading
In the typical workflow of uploading from a proton client, the proton applies proton zero knowledge encryption before uploading, so proton can never see the unencrypted files. This is not possible when transferring from google drive since you are not starting in a proton client.
is this the same scenario will be applicable in this google to proton transfer like files will be encrypted during transit ( of course not talking about xero knowledge e2e)
It is not the same scenario. Yes, files will be encrypted in transit.
or will they unencrypted reach proton's server and than proton will encrypt them after being sitting there unencrypted?
This is closer to the case. Proton will decrypt the in-transit decryption and theoretically see your files unencrypted before they apply storage encryption and then throw away their key.
unlike the other case in which files are encrypted at device and than sent ro proton's servers?
Correct, it is not the same scenario as uploading from a proton client where files are zero knowledge encrypted before they leave your device.
10
u/Interesting_Pin2144 Proton Drive Engineer 1d ago
The data is encrypted during transit as calls are made from Proton's servers to Google's over an https connection. Data on Proton's servers are then encrypted with zero access. Zero access means we only have access during the process, and then we drop the key on our side so that only the user has the keys for decryption. Once we're done with the import, there's no way for any system or employee to access the data anymore. With end-to-end encryption (regular Drive operations), we never have access at all.
When requesting the import, a folder is created for the import on the user's client (the web app). This folder's key is shared (encrypted in transit and at rest) with Proton's servers. Proton streams the files and folders from google and encrypts them with the usual encryption Drive scheme. Once the import is done, the the import folder is made visible and Proton drops the key. From then on, only the user (through the recursive access that was created in the first step) can access the folder and the nested imported data. The access token to the user's Google account is also dropped at that point (and kept encrypted at rest throughout the operation.