Giter Club home page Giter Club logo

Comments (17)

tobiasKaminsky avatar tobiasKaminsky commented on June 16, 2024

Once you marked a folder as encrypted, you should see an e2e setup on first enter.

from end_to_end_encryption.

kees-closed avatar kees-closed commented on June 16, 2024

@tobiasKaminsky this is indeed the case, but only once. Then when I enter the directory and want to upload a file or create a directory, I get the error of the last screenshot. Here is a screen recording. Do you have any troubleshooting suggestions? The server is freshly installed, so no old caches are present of previous Nextcloud installations or anything like that. The manual installation of E2E as described in the first post of this thread is correct? There is not yet an official installation available?

from end_to_end_encryption.

tigernero79 avatar tigernero79 commented on June 16, 2024

@tobiasKaminsky

same problem described here:

nextcloud/android#2189

the key has already been stored correctly,
but when attempting to upload or delete a file in an encrypted folder, the operation is denied.

I speak of operation done on encrypted folders so it does not hit the problem with active server-side encryption and normal folders

from end_to_end_encryption.

fti7 avatar fti7 commented on June 16, 2024

Same here :-(
Server Side Encryption is disabled

from end_to_end_encryption.

sorcer1122 avatar sorcer1122 commented on June 16, 2024

I have got the same problem. After I first enabled the encryption, I was prompted to write down my 12 words password and after that I was not able to upload anything into the encrypted folder until I switched the encryption off.

Server side encryption is disabled.

from end_to_end_encryption.

tobiasKaminsky avatar tobiasKaminsky commented on June 16, 2024

@AquaL1te the app is available in app store: https://apps.nextcloud.com/apps/end_to_end_encryption

@AquaL1te @fti7 @sorcer1122
Can one of you create us a test account and send the credentials to android at nextcloud dot com with a reference to this issue?

from end_to_end_encryption.

tigernero79 avatar tigernero79 commented on June 16, 2024

@tobiasKaminsky you have my test data, sent via [email protected] username is tobias password is written in the email url is www.pensierando.it/Nextcloud

from end_to_end_encryption.

tigernero79 avatar tigernero79 commented on June 16, 2024

do you need to re-send your data by email or can you find them?

from end_to_end_encryption.

kees-closed avatar kees-closed commented on June 16, 2024

@tobiasKaminsky I've indeed installed the app from that link indeed and extracted it in the /apps directory. I wanted to confirm that it was the right install method, since "normal" apps are included in the Nextcloud app store.

I did a complete wipe of my mysql database and extracted a fresh installation of Nextcloud 13. When I now log into the Android client and set a folder as encrypted I don't get the 12 security words for recovery. I'll send you credentials to login, but it's a test machine for educational purposes, it's state could be variable.

from end_to_end_encryption.

vincentadultman avatar vincentadultman commented on June 16, 2024

I can confirm this bug with the following reproduction path, on Ubuntu server.

snap install nextcloud --channel=13/candidate
Add trusted domain
nextcloud.enable-https lets-encrypt

Within server admin area, install end to end encryption app from app store.
Create a user to test.

Download nextcloud android app to android 8.1.0 phone
Login as test user in app.
Create new folder, mark as encrypted.
Enter the folder, encryption passphrase is presented.
On trying to upload a file, or create a folder "you are not permitted to upload in this folder / You are not permitted to create this file"

Errors are created in log on server, for example on trying to create a sub-folder

{"reqId":"CfDJaeBFIYNsWEXPhGE7","level":4,"time":"2018-02-24T11:45:13+00:00","remoteAddr":"myiphere","user":"myuser","app":"webdav","method":"MKCOL","url":"\/remote.php\/webdav\/MyFolder\/Testy\/","message":"Exception: {\"Exception\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Exception\\\\Forbidden\",\"Message\":\"client not allowed to access end-to-end encrypted content\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/snap\\\/nextcloud\\\/5119\\\/nextcloud\\\/extra-apps\\\/end_to_end_encryption\\\/lib\\\/Connector\\\/Sabre\\\/LockPlugin.php(124): OCA\\\\EndToEndEncryption\\\\Connector\\\\Sabre\\\\LockPlugin->checkUserAgent('Mozilla\\\/5.0 (An...', '\\\/MyFolder')\\n#1 [internal function]: OCA\\\\EndToEndEncryption\\\\Connector\\\\Sabre\\\\LockPlugin->checkLock(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#2 \\\/snap\\\/nextcloud\\\/5119\\\/htdocs\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#3 \\\/snap\\\/nextcloud\\\/5119\\\/htdocs\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(466): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#4 \\\/snap\\\/nextcloud\\\/5119\\\/htdocs\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/snap\\\/nextcloud\\\/5119\\\/htdocs\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(80): Sabre\\\\DAV\\\\Server->exec()\\n#6 \\\/snap\\\/nextcloud\\\/5119\\\/htdocs\\\/remote.php(164): require_once('\\\/snap\\\/nextcloud...')\\n#7 {main}\",\"File\":\"\\\/var\\\/snap\\\/nextcloud\\\/5119\\\/nextcloud\\\/extra-apps\\\/end_to_end_encryption\\\/lib\\\/Connector\\\/Sabre\\\/LockPlugin.php\",\"Line\":169}","userAgent":"Mozilla\/5.0 (Android) ownCloud-android/3.0.1","version":"13.0.0.14"}

from end_to_end_encryption.

t-m-w avatar t-m-w commented on June 16, 2024

Go back to the 3.0.0 client and try it. The 3.0.1 client changes the user agent for some reason and the server is picky about that. See my comment here: nextcloud/android#2189 (comment)

from end_to_end_encryption.

tobiasKaminsky avatar tobiasKaminsky commented on June 16, 2024

3.0.2, which will be released today, will hopefully fix this.

from end_to_end_encryption.

tobiasKaminsky avatar tobiasKaminsky commented on June 16, 2024

3.0.2 released, please re-open if this problem persists.

from end_to_end_encryption.

tigernero79 avatar tigernero79 commented on June 16, 2024

in play store was released? it still does not appear to me as an update. I have active beta tester mode.

from end_to_end_encryption.

tobiasKaminsky avatar tobiasKaminsky commented on June 16, 2024

I released it 10min ago. Usually it takes at least 30mins to get it published and then some time to get it distributed on all devices.

from end_to_end_encryption.

tigernero79 avatar tigernero79 commented on June 16, 2024

I have tested nextcloud 3.0.2 application and all is well the bug has been fixed, it is possible to delete files in the encrypted folder but not yet however the encrypted folders created inside the already encrypted folder we say. another thing that I asked already, will you implement the ability to view the 12 words e2e in the application as it already happens with application for ios?

from end_to_end_encryption.

tigernero79 avatar tigernero79 commented on June 16, 2024

I said this problem here, what version will be implemented?

nextcloud/android#2128

confirm that with android application I can not delete folders inside a compressed folder but only files?

from end_to_end_encryption.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.