ios icon indicating copy to clipboard operation
ios copied to clipboard

E2EE broken when using share extension

Open bcutter opened this issue 4 months ago • 8 comments

Update: uploading content (files, images) from the share extension to an E2EE folder (like app A --> share with --> Nextcloud --> E2EE folder) fails with

Image

Can you fix that in the beta @marinofaggiana?

Ursprünglich gepostet von @bcutter in https://github.com/nextcloud/ios/issues/3587#issuecomment-3188721029

bcutter avatar Aug 22 '25 18:08 bcutter

@marinofaggiana Tried using this today, failed on both iPhone as well as iPad, both running 7.1.3.10.

image

bcutter avatar Sep 17 '25 21:09 bcutter

Still exists with 7.1.6. Working for non-E2EE folders only.

bcutter avatar Sep 23 '25 07:09 bcutter

mmmm Strange, works like 3 week ago.

marinofaggiana avatar Sep 23 '25 07:09 marinofaggiana

Not for me on neither iPhone nor iPad.

bcutter avatar Sep 23 '25 07:09 bcutter

Crazy, now on Beta 7.1.7.1 I tested it and it was working in the iPhone. Will check in the iPad too.

Did you change anything on the beta release? Or could it be the "reinstall" of the app when switching from stable to beta (TestFlight)?

bcutter avatar Sep 26 '25 14:09 bcutter

Nothing, I'm not surprised, the Files app is already awful, domains management is even worse.

marinofaggiana avatar Sep 26 '25 14:09 marinofaggiana

Tested it on the iPad with beta 7.1.7,1 too now.

At first I did not open the app after switching to beta but wanted do use the share extension directly, which gave a note ~ "version change, start app before continuing" image

After opening the app I navigated to a specific encrypted subfolder, let's call it "A". Then I used the share extension to upload a random file to A - which worked: image

Then I used the share extension to upload a (the very same) file to another encrypted subfolder ("B") I did NOT open with the NC app before - which failed: image

As you can see the other content of that B subfolder also can not be decrypted. And that's the problem: uploading via share extension to E2EE subfolder is ONLY possible if you opened them before with the NC app - which makes using the share extension useless.

Does this test report make sense to you @marinofaggiana ?

bcutter avatar Sep 26 '25 19:09 bcutter

Yes, not all logic of e2ee is included on share ... I reopen.

marinofaggiana avatar Sep 27 '25 11:09 marinofaggiana