r/ProtonDrive • • 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.

0 Upvotes

9 comments sorted by

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.

1

u/ezrayah 1d ago

thanks, this helps alot,

another quick question current import limit is 100,000 files. what happens if in a import more than 100,000 files are present? does it throws errors or tell which files will not get imported etc?

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

1

u/ezrayah 1d ago

no, i didn't find anything relevent to my question

2

u/themindpedia_com 1d ago

Why I am not seeing "easy switch" option in web 

1

u/ezrayah 1d ago

go to All settings, in the left menu you will see it listed

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.