Comments (8)
With which client do you try to access the encrypted folder? Only latest android and iOS version are working. Desktop client is not ready yet. And any web browser accessing UI is intended to be forbidden as encryption/decryption in browser cannot be guarenteed to be secure.
from end_to_end_encryption.
same issue server is on NC 13 Beta 3 IOS version is 2.19.2
from end_to_end_encryption.
My TECH PREVIEW nextcloud-client on linux cannot finish the intial setup:
and here are the server logs:
OCA\DAV\Connector\Sabre\Exception\Forbidden: client not allowed to access end-to-end encrypted content /var/www/html/custom_apps/end_to_end_encryption/lib/Connector/Sabre/LockPlugin.php - line 124: OCA\EndToEndEncryption\Connector\Sabre\LockPlugin->checkUserAgent('Mozilla/5.0 (X1...', '/Documents') [internal function] OCA\EndToEndEncryption\Connector\Sabre\LockPlugin->checkLock(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response)) /var/www/html/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array) /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php - line 466: Sabre\Event\EventEmitter->emit('beforeMethod', Array) /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response)) /var/www/html/apps/dav/appinfo/v1/webdav.php - line 80: Sabre\DAV\Server->exec() /var/www/html/remote.php - line 164: require_once('/var/www/html/a...') {main}
from end_to_end_encryption.
With the lastest version of the Android and iOS apps and the e2ee server app v 1.0.4 this problems should be solved. Does it still exists for the desktop client @sulliwane if you have everything up to date.
from end_to_end_encryption.
Nextcloud 15.0.0
e2e app: 1.1.0
From my desktop browser, I get this error when trying to open an ecnrypted folder: This operation is forbidden
(but I can open from my Android nextcloud app):
[webdav] Fatal: OCA\DAV\Connector\Sabre\Exception\Forbidden: client "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0" is not allowed to access end-to-end encrypted content at <<closure>>
0. /var/www/html/custom_apps/end_to_end_encryption/lib/Connector/Sabre/LockPlugin.php line 125
checkUserAgent("Mozilla/5.0 (X1 ... 0", "/Documents")
1. <<closure>>
checkLock(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
2. /var/www/html/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
call_user_func_array([OCA\EndToEndEnc ... "], [Sabre\HTTP\Requ ... }])
3. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 466
emit("beforeMethod", [Sabre\HTTP\Requ ... }])
4. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 254
invokeMethod(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
5. /var/www/html/apps/dav/lib/Server.php line 298
exec()
6. /var/www/html/apps/dav/appinfo/v2/remote.php line 35
exec()
7. /var/www/html/remote.php line 163
require_once("/var/www/html/a ... p")
PROPFIND /remote.php/dav/files/me/Documents
from end_to_end_encryption.
same issue server is on NC 13 Beta 3 IOS version is 2.19.2
2.19 is too old. You require at least 2.20.0
https://github.com/nextcloud/end_to_end_encryption/blob/master/lib/UserAgentManager.php#L41
from end_to_end_encryption.
From my desktop browser, I get this error when trying to open an ecnrypted folder: This operation is forbidden (but I can open from my Android nextcloud app):
That is the expected behaviour. The folder is end to end encrypted, you are not supposed to be able to open it in the browser.
from end_to_end_encryption.
Closing due to missing feedback by original reporter.
If you experience a similar issue, please open a new issue.
from end_to_end_encryption.
Related Issues (20)
- Inconsistent type of version in metadata causing client issues
- Latest version on nextcloud 28 cant use file drop links HOT 1
- Failed to update nextcloud/ocp package on branch stable27
- Failed to update nextcloud/ocp package on branch stable27
- Failed to update nextcloud/ocp package on branch stable27
- Failed to update nextcloud/ocp package on branch stable27
- Failed to update nextcloud/ocp package on branch stable27
- Failed to update nextcloud/ocp package on branch stable27
- Failed to update nextcloud/ocp package on branch stable27
- Failed to update nextcloud/ocp package on branch stable27
- Transition to using CHANGELOG.md (again?) so that app store picks it up
- Failed to update nextcloud/ocp package on branch stable27
- Failed to update nextcloud/ocp package on branch stable27
- Failed to update nextcloud/ocp package on branch stable27
- Failed to encrypt folder: Server replied 404 Not Found HOT 2
- Failed to update nextcloud/ocp package on branch stable27
- [Bug]: No option to share E2EE folder with other users HOT 2
- Typo on `<script>` tag of `AdminSection` causes all buttons to look misplaced
- Add required check for NPM build back HOT 1
- e2e encrypted folder shared among NC users/group HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from end_to_end_encryption.