Guild icon
S3Drive
Community / support / Encrypted file sharing from mobile
Avatar
(E2EE) If I upload smth from the mobile app and then create a link of that smth from another end (e.g. desktop) it shares it encrypted, even if I delete the link and create it again from mobile is the same, it shares it encrypted, I had to log out and log back in from mobile to be able to create a valid unencrypted file link again (won't work if I just log in again clicking my bucket from profiles), this is on the managed cloud, no idea about external providers
Avatar
Thanks for your feedback. I am trying to understand more about this issue.
If I upload smth from the mobile app
Do you have E2E enabled on your mobile app? Was uploaded file E2E encrypted?
and then create a link of that smth from another end (e.g. desktop) it shares it encrypted
If file was uploaded encrypted and you have E2E configured on your desktop, then naturally the share created will contain decryption keys to access the file. What's expected behavior?
I had to log out and log back in from mobile to be able to create a valid unencrypted file link again
I don't exactly understand the whole context, but did you try to "disable E2E" in Profile Settings instead of logout/login?
Avatar
Do you have E2E enabled on your mobile app? Was uploaded file E2E encrypted?
yes, both mobile and pc
then naturally the share created will contain decryption keys to access the file.
I know, but it doesn't, if I upload the file from mobile and try to share it from desktop, the link either won't be created (noticed when replicating the issue) or will be in encrypted format
did you try to "disable E2E" in Profile Settings instead of logout/login?
yes, won't work unless I log out and log back in, that's the only way to restore the ability to share/create the unencrypted file
Avatar
By any chance would you be able to provide minimum reproducible example? That is: a) Set up E2E on desktop and mobile, b) Upload file on mobile, c) Create share with a single file on desktop and so on. That way we can reproduce issue on our end and develop a fix.
the link either won't be created (noticed when replicating the issue) or will be in encrypted format
Can you please provide an example link? When you say encrypted format, do you mean that encryption key is included at the end or anything else? Feel free to send it over DM. Thanks!
(edited)
Avatar
I noticed that every link I create from desktop is broken (even If I log out and back in), each link is the same file (uploaded from mobile) the first one was created right after uploading it this one was created from desktop and this one was created on mobile again (couldn't reproduce the bug I mentioned earlier) and this link was created after quitting the app, somehow it shows the file thumbnail but it's still encrypted (saying it after the file's name), it also throws the invalid key IV exception (edited)
Avatar
and this link was created after quitting the app
Do you mean that you've quit the app, started again and then created new share? Was it mobile or desktop?
somehow it shows the file thumbnail
On my end it doesn't show thumbnail. This is probably, because your thumbnail is likely already cached in-browser.
but it's still encrypted (saying it after the file's name), it also throws the invalid key IV exception
Is there any chance that file was updated in the meantime? When encrypted file (that's being shared) gets updated, after a short while S3Drive contacts back-end to upload new file specific (share encrypted) encryption keys. If for some reason this request gets interrupted, back-end will possess only encryption/decryption keys to the old version of files, so it won't be possible to decrypt the new file version, hence the error message. It would be good to understand if you've modified the file after generating the last link: https://web.s3drive.app/link/33222c59-66be-458e-b799-d0526d040b28#t3EF7yeBCi-dCDqKreOgqC8B6f2vaKTB0GAssmSuaU4=
Easy-to-use client that converts any S3 server into your personal encrypted file storage. Rclone compatible, mount as drive, WebDav server, file versioning.
Avatar
Do you mean that you've quit the app, started again and then created new share? Was it mobile or desktop?
desktop
Is there any chance that file was updated in the meantime?
nope, it's the only version of the file now it won't let me create a link bc it says I have no plan lol (I do), I'll reinstall the app to see if smth changes
Avatar
now I reinstalled the app (uninstalled with revo) and didn't detect the subscription until I clicked on the manage accounts icon and clicked my account to "rejoin", I made this link on desktop after reinstalling the account and enabling E2EE (same file, only one version of it) https://web.s3drive.app/link/2be310b5-ac9c-4f60-9a4d-cc6937996acb#fKFmWSLcxQma4hE1NF9PBlqu11X6cykq4i31_Sb0F_Q=
Easy-to-use client that converts any S3 server into your personal encrypted file storage. Rclone compatible, mount as drive, WebDav server, file versioning.
Avatar
I thought the installer I downloaded might be corrupted so I downloaded it again but nothing, is the same, also when I create a link from desktop it won't show the copy/share icons like the mobile or web version, I have to go manually to links section and copy them, the first is a link generated from the web version and the second was from mobile (both work) https://web.s3drive.app/link/c4ffefad-d9ab-4305-a821-051f97bec2d5#Ik4uk67qpNjoawopF6xqkCzezcSKvL3yqkwNSdnFz2c= https://web.s3drive.app/link/93d32c62-f39f-44ea-9833-823829a55e3b#0EXjDsFFhGj7rrQf7KnLFFdfaZ_SVsbn-7lARH4L36Q= (edited)
Easy-to-use client that converts any S3 server into your personal encrypted file storage. Rclone compatible, mount as drive, WebDav server, file versioning.
Easy-to-use client that converts any S3 server into your personal encrypted file storage. Rclone compatible, mount as drive, WebDav server, file versioning.
Avatar
Avatar
sontec
now I reinstalled the app (uninstalled with revo) and didn't detect the subscription until I clicked on the manage accounts icon and clicked my account to "rejoin", I made this link on desktop after reinstalling the account and enabling E2EE (same file, only one version of it) https://web.s3drive.app/link/2be310b5-ac9c-4f60-9a4d-cc6937996acb#fKFmWSLcxQma4hE1NF9PBlqu11X6cykq4i31_Sb0F_Q=
I made this link on desktop after reinstalling the account and enabling E2EE (same file, only one version of it)
Clearly something is wrong. For some reason the share decryption is invalid for the content part (name was decrypted just fine). I understand that it's Windows desktop, right? Did you manage to reproduce at least once on mobile or web?
5:57 PM
also when I create a link from desktop it won't show the copy/share icons like the mobile or web version
As far I remember, on desktop it copies link straight to clipboard, so "copy" button wasn't needed. We may actually add one for consistent UI experience. We didn't add share icon, since what would it do on Windows? We're open for suggestions though. One of the ideas would be to use share via e-mail: https://s3drive.canny.io/feature-requests/p/share-via-e-mail
(edited)
Avatar
I understand that it's Windows desktop, right?
yes
Did you manage to reproduce at least once on mobile or web?
yes, but it seems that the windows app breaks the encryption stuff, when I upload smth from mobile and the links I create from there and the web app are fine, but after I try to create a link from desktop, now the link is encrypted and the links created afterwards on mobile or web are unusable as well
on desktop it copies link straight to clipboard
doesn't work on my end
since what would it do on Windows?
sry for the miscommunication, I meant the copy and share from mobile and copy from web also I found a correlated issue, I deleted the file (normal delete on mobile) and uploaded it again from mobile too (same file with same name) and the link is still broken, when I clean up the trash and upload the same file, fixes it and I'm able to create a usable link again... but, it shares the file that wasn't meant to it, I'm testing this with 2 pictures (A and B) the last testing was with B and I successfully created a link of that but for some reason it shows A I deleted all versioned files and now the link is also broken on mobile and web (testing rn) https://web.s3drive.app/link/d03459a6-4af7-4594-a742-5171fdeec5b3#l9nsGn_U85Z6tRPy8N3LaxjNaU6_6-_0YeA7wFC0cRw= no idea what I did but was reproducing the issue and now all the links I create from mobile are also broken
Easy-to-use client that converts any S3 server into your personal encrypted file storage. Rclone compatible, mount as drive, WebDav server, file versioning.
Avatar
I got this while trying to upload the same file with a different name
Avatar
no clue what happened but just like that the app closed and got an app_links_plugin.dll exception when tried to open it
Avatar
Avatar
sontec
I got this while trying to upload the same file with a different name
On some occasions upload might fail. We will eventually implement proper retry mechanism: https://s3drive.canny.io/feature-requests/p/upload-retry-improvements-including-timeout-4xx-5xx On top of that we're constantly improving our back-end resilience to reduce chances of this happening. You can retry failed request using the "arrow" icon.
Avatar
Avatar
sontec
no clue what happened but just like that the app closed and got an app_links_plugin.dll exception when tried to open it
Can you try (if you haven't already) upgrading to most recent release? Did you manage to start the app? Can you please provide a screenshot of the exception once it happens? Thanks!
7:59 AM
no idea what I did but was reproducing the issue and now all the links I create from mobile are also broken
That's a pretty strange behavior. If you do spot some pattern or obvious reproducible path, please let us know, in the meantime we will proceed investigating this issue.
Exported 17 message(s)
Timezone: UTC+0