Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploding e2e encrypted files seems to take forever/fails #890

Open
rugk opened this issue Nov 25, 2018 · 22 comments
Open

Uploding e2e encrypted files seems to take forever/fails #890

rugk opened this issue Nov 25, 2018 · 22 comments

Comments

@rugk
Copy link

@rugk rugk commented Nov 25, 2018

I have less than 500kB files to sync (in two files) for testing. However, as far as I see they never really uploaded.
Likely also related to the issues on the Android side: nextcloud/android#3291

Expected behaviour

Sync.

Actual behaviour

It seems to retry syncing these little files and always seems to fail:

Currently:
image

In Nautilus I do see by their icons that it only tries to sync the (to-be) e2e encrypted folder.

Before (a try some days ago) also like this:
sync

(Note the progress bar is not moving here – it can stay like this for minutes…)

Note it often does not even count the files (two files) correctly.

Steps to reproduce

  1. e2e setup, setup on Android due to #560
  2. Created encrypted folder on Android.
  3. Synced on desktop. (Everything worked so far.)
  4. Put files into it.

Client configuration

Client version: 2.5.0git 371001c

Operating system: Fedora 29

OS language: de_DE

Qt version used by client package (Linux only, see also Settings dialog): Qt 5.11.1, OpenSSL 1.1.1 FIPS 11 Sep 2018

Client package (From Nextcloud or distro) (Linux only): distro

Installation path of client:
/usr/bin/nextcloud

Server configuration

Operating system: Debian-based

Web server: nginx

Database: mysql

PHP version: 7

Nextcloud version: 14

Storage backend (external storage): no

Logs

(put into details tags)

  1. Client logfile: Output of nextcloud --logwindow or nextcloud --logfile log.txt
    (On Windows using cmd.exe, you might need to first cd into the Nextcloud directory)
    (See also https://docs.nextcloud.com/desktop/2.3/troubleshooting.html#log-files)

[OCC::WebFlowCredentials::slotFinished 	request finished
[OCC::WebFlowCredentials::stillValid 	Still valid?
[OCC::WebFlowCredentials::stillValid 	QNetworkReply::NetworkError(NoError)
[OCC::WebFlowCredentials::stillValid 	"Unknown error"
[OCC::GetFolderEncryptStatusJob::finished 	GetFolderEncryptStatus of QUrl("https://sub.domain.example:4444/subdir/remote.php/webdav/END-TO-END/CRYPTO-PATH") finished with status QNetworkReply::NetworkError(NoError) ""
[OCC::AccessManager::createRequest 	6 "PROPFIND" "https://sub.domain.example:4444/subdir/remote.php/dav/files/<username>/END-TO-END/CRYPTO-PATH" has X-Request-ID "9d14144c-2135-43ef-83f7-26cfad1389ed"
[OCC::AbstractNetworkJob::start 	OCC::LsColJob created for "https://sub.domain.example/nextcloud" + "END-TO-END/CRYPTO-PATH-without-leading-slash" "OCC::PropagateUploadEncrypted"
[OCC::WebFlowCredentials::slotFinished 	request finished
[OCC::WebFlowCredentials::stillValid 	Still valid?
[OCC::WebFlowCredentials::stillValid 	QNetworkReply::NetworkError(NoError)
[OCC::WebFlowCredentials::stillValid 	"Unknown error"
[OCC::GetFolderEncryptStatusJob::finished 	GetFolderEncryptStatus of QUrl("https://sub.domain.example:4444/subdir/remote.php/webdav/END-TO-END/CRYPTO-PATH") finished with status QNetworkReply::NetworkError(NoError) ""
[OCC::AccessManager::createRequest 	6 "PROPFIND" "https://sub.domain.example:4444/subdir/remote.php/dav/files/<username>/END-TO-END/CRYPTO-PATH" has X-Request-ID "22e19db0-6fcd-4fcd-be6d-ca22ae12e316"
[OCC::AbstractNetworkJob::start 	OCC::LsColJob created for "https://sub.domain.example/nextcloud" + "END-TO-END/CRYPTO-PATH-without-leading-slash" "OCC::PropagateUploadEncrypted"
[OCC::WebFlowCredentials::slotFinished 	request finished
[OCC::WebFlowCredentials::stillValid 	Still valid?
[OCC::WebFlowCredentials::stillValid 	QNetworkReply::NetworkError(NoError)
[OCC::WebFlowCredentials::stillValid 	"Unknown error"
[OCC::PropfindJob::finished 	PROPFIND of QUrl("https://sub.domain.example:4444/subdir/remote.php/dav/files/<username>/") FINISHED WITH STATUS "OK"
[OCC::WebFlowCredentials::slotFinished 	request finished
[OCC::WebFlowCredentials::stillValid 	Still valid?
[OCC::WebFlowCredentials::stillValid 	QNetworkReply::NetworkError(NoError)
[OCC::WebFlowCredentials::stillValid 	"Unknown error"
[OCC::LsColJob::finished 	LSCOL of QUrl("https://sub.domain.example:4444/subdir/remote.php/dav/files/<username>/END-TO-END/CRYPTO-PATH") FINISHED WITH STATUS "OK"
[OCC::LockEncryptFolderApiJob::start 	locking the folder with id "124028" as encrypted
[OCC::AccessManager::createRequest 	4 "" "https://sub.domain.example:4444/subdir/ocs/v2.php/apps/end_to_end_encryption/api/v1/lock/124028?format=json" has X-Request-ID "abeb2fa7-b3f1-4c11-8e2a-290d04d5474e"
[OCC::AbstractNetworkJob::start 	OCC::LockEncryptFolderApiJob created for "https://sub.domain.example/nextcloud" + "ocs/v2.php/apps/end_to_end_encryption/api/v1/lock/124028" "OCC::PropagateUploadEncrypted"
[OCC::WebFlowCredentials::slotFinished 	request finished
[OCC::WebFlowCredentials::stillValid 	Still valid?
[OCC::WebFlowCredentials::stillValid 	QNetworkReply::NetworkError(NoError)
[OCC::WebFlowCredentials::stillValid 	"Unknown error"
[OCC::LsColJob::finished 	LSCOL of QUrl("https://sub.domain.example:4444/subdir/remote.php/dav/files/<username>/END-TO-END/CRYPTO-PATH") FINISHED WITH STATUS "OK"
[OCC::LockEncryptFolderApiJob::start 	locking the folder with id "124028" as encrypted
[OCC::AccessManager::createRequest 	4 "" "https://sub.domain.example:4444/subdir/ocs/v2.php/apps/end_to_end_encryption/api/v1/lock/124028?format=json" has X-Request-ID "63389dd1-b789-4b87-bd09-94dc8d1d2e4d"
[OCC::AbstractNetworkJob::start 	OCC::LockEncryptFolderApiJob created for "https://sub.domain.example/nextcloud" + "ocs/v2.php/apps/end_to_end_encryption/api/v1/lock/124028" "OCC::PropagateUploadEncrypted"
[OCC::WebFlowCredentials::slotFinished 	request finished
[OCC::AbstractNetworkJob::slotFinished 	QNetworkReply::NetworkError(ContentAccessDenied) "Error transferring https://sub.domain.example:4444/subdir/ocs/v2.php/apps/end_to_end_encryption/api/v1/lock/124028?format=json - server replied: " QVariant(int, 403)
[OCC::WebFlowCredentials::stillValid 	Still valid?
[OCC::WebFlowCredentials::stillValid 	QNetworkReply::NetworkError(ContentAccessDenied)
[OCC::WebFlowCredentials::stillValid 	"Error transferring https://sub.domain.example:4444/subdir/ocs/v2.php/apps/end_to_end_encryption/api/v1/lock/124028?format=json - server replied: "
[OCC::LockEncryptFolderApiJob::finished 	error locking file "ocs/v2.php/apps/end_to_end_encryption/api/v1/lock/124028" "Error transferring https://sub.domain.example:4444/subdir/ocs/v2.php/apps/end_to_end_encryption/api/v1/lock/124028?format=json - server replied: " 403
[OCC::WebFlowCredentials::slotFinished 	request finished
[OCC::AbstractNetworkJob::slotFinished 	QNetworkReply::NetworkError(ContentAccessDenied) "Error transferring https://sub.domain.example:4444/subdir/ocs/v2.php/apps/end_to_end_encryption/api/v1/lock/124028?format=json - server replied: " QVariant(int, 403)
[OCC::WebFlowCredentials::stillValid 	Still valid?
[OCC::WebFlowCredentials::stillValid 	QNetworkReply::NetworkError(ContentAccessDenied)
[OCC::WebFlowCredentials::stillValid 	"Error transferring https://sub.domain.example:4444/subdir/ocs/v2.php/apps/end_to_end_encryption/api/v1/lock/124028?format=json - server replied: "
[OCC::LockEncryptFolderApiJob::finished 	error locking file "ocs/v2.php/apps/end_to_end_encryption/api/v1/lock/124028" "Error transferring https://sub.domain.example:4444/subdir/ocs/v2.php/apps/end_to_end_encryption/api/v1/lock/124028?format=json - server replied: " 403
[OCC::AccessManager::createRequest 	2 "" "https://sub.domain.example:4444/subdir/ocs/v2.php/apps/notifications/api/v2/notifications?format=json" has X-Request-ID "47c45c35-c721-43ff-b818-b2bfdcea508b"
[OCC::AbstractNetworkJob::start 	OCC::JsonApiJob created for "https://sub.domain.example/nextcloud" + "ocs/v2.php/apps/notifications/api/v2/notifications" "OCC::ServerNotificationHandler"
[OCC::WebFlowCredentials::slotFinished 	request finished
[OCC::WebFlowCredentials::stillValid 	Still valid?
[OCC::WebFlowCredentials::stillValid 	QNetworkReply::NetworkError(NoError)
[OCC::WebFlowCredentials::stillValid 	"Unknown error"
[OCC::JsonApiJob::finished 	JsonApiJob of QUrl("https://sub.domain.example:4444/subdir/ocs/v2.php/apps/notifications/api/v2/notifications?format=json") FINISHED WITH STATUS "OK"
[OCC::JsonApiJob::finished 	Nothing changed so nothing to retrieve - status code:  304
[OCC::ServerNotificationHandler::slotNotificationsReceived 	Status code  304  Not Modified - No new notifications.
[OCC::AccessManager::createRequest 	6 "PROPFIND" "https://sub.domain.example:4444/subdir/remote.php/dav/files/<username>/" has X-Request-ID "fe26dbb2-5f3f-4f05-8418-7bbba8c67522"
[OCC::AbstractNetworkJob::start 	OCC::PropfindJob created for "https://sub.domain.example/nextcloud" + "/" "OCC::QuotaInfo"
[OCC::WebFlowCredentials::slotFinished 	request finished
[OCC::WebFlowCredentials::stillValid 	Still valid?
[OCC::WebFlowCredentials::stillValid 	QNetworkReply::NetworkError(NoError)
[OCC::WebFlowCredentials::stillValid 	"Unknown error"
[OCC::PropfindJob::finished 	PROPFIND of QUrl("https://sub.domain.example:4444/subdir/remote.php/dav/files/<username>/") FINISHED WITH STATUS "OK"

  1. Web server error log:
    grepping for end_to_end_encryption found nothing

  2. Server logfile: nextcloud log (data/nextcloud.log):

{"reqId":"KYMqOqIeJsjRGFUlb774","level":0,"time":"2018-11-20T21:55:53+01:00","remoteAddr":"<IP2-REMOVED>","user":"admin","app":"no
app in context","method":"GET","url":"\/nextcloud\/index.phps","message":"No cache entry found for \/appdata_ocl8foq5dpr7\/end_to_end_encryption (storage: local::\/path-to\/data-dir\/nextcloud\
/, internalPath: appdata_ocl8foq5dpr7\/end_to_end_encryption)","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:63.0) Gecko\/20100101 Firefox\/63.0","version":"14.0.3.0"}
{"reqId":"KYMqOqIeJsjRGFUlb774","level":0,"time":"2018-11-20T21:55:53+01:00","remoteAddr":"<IP2-REMOVED>","user":"admin","app":"no app in context","method":"GET","url":"\/nextcloud\/index.ph
ps","message":"No cache entry found for \/appdata_ocl8foq5dpr7\/end_to_end_encryption\/private-keys (storage: local::\/path-to\/data-dir\/nextcloud\/, internalPath: appdata_ocl8foq5dpr7\/end_to
_end_encryption\/private-keys)","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:63.0) Gecko\/20100101 Firefox\/63.0","version":"14.0.3.0"}
{"reqId":"KYMqOqIeJsjRGFUlb774","level":0,"time":"2018-11-20T21:55:54+01:00","remoteAddr":"<IP2-REMOVED>","user":"admin","app":"no app in context","method":"GET","url":"\/nextcloud\/index.ph
ps","message":"No cache entry found for \/appdata_ocl8foq5dpr7\/end_to_end_encryption\/public-keys (storage: local::\/path-to\/data-dir\/nextcloud\/, internalPath: appdata_ocl8foq5dpr7\/end_to_
end_encryption\/public-keys)","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:63.0) Gecko\/20100101 Firefox\/63.0","version":"14.0.3.0"}
{"reqId":"KYMqOqIeJsjRGFUlb774","level":0,"time":"2018-11-20T21:55:55+01:00","remoteAddr":"<IP2-REMOVED>","user":"admin","app":"no app in context","method":"GET","url":"\/nextcloud\/index.ph
ps","message":"No cache entry found for \/appdata_ocl8foq5dpr7\/avatar\/admin\/avatar.jpg (storage: local::\/path-to\/data-dir\/nextcloud\/, internalPath: appdata_ocl8foq5dpr7\/avatar\/admin\/a
vatar.jpg)","userAgent":"Mozilla\/5.0 (X11; Fedora; Linux x86_64; rv:63.0) Gecko\/20100101 Firefox\/63.0","version":"14.0.3.0"}
{"reqId":"9srd5xo6I0OBdBuYHZu1","level":3,"time":"2018-11-20T21:56:03+01:00","remoteAddr":"93.193.74.198","user":"--","app":"PHP","method":"GET","url":"\/nextcloud\/index.phpider\/","message
":"Zend OPcache can't be temporary enabled (it may be only disabled till the end of request) at Unknown#0","userAgent":"GuzzleHttp\/6.2.1 curl\/7.47.0 PHP\/7.0.32-0ubuntu0.16.04.1","version"
:"14.0.3.0"}
{"reqId":"5omzxrVFoKIVGo1G61pU","level":3,"time":"2018-11-20T21:57:32+01:00","remoteAddr":"<IP2-REMOVED>","user":"--","app":"PHP","method":"GET","url":"\/nextcloud\/status.php","message":"Ze
nd OPcache can't be temporary enabled (it may be only disabled till the end of request) at Unknown#0","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.5.0git (Nextcloud)","version":"14.0.3.0"}
{"reqId":"ob6u2VN0Dkgu9Gk0bkSA","level":3,"time":"2018-11-20T21:57:44+01:00","remoteAddr":"<IP2-REMOVED>","user":"<username>","app":"PHP","method":"POST","url":"\/nextcloud\/ocs\/v2.php\/apps\/end
_to_end_encryption\/api\/v1\/public-key?format=json","message":"openssl_csr_sign(): cannot get CSR from parameter 1 at \/www\/apps\/end_to_end_encryption\/lib\/SignatureHandler.php#60","user
Agent":"Mozilla\/5.0 (Linux) mirall\/2.5.0git (Nextcloud)","version":"14.0.3.0"}
{"reqId":"ob6u2VN0Dkgu9Gk0bkSA","level":3,"time":"2018-11-20T21:57:44+01:00","remoteAddr":"<IP2-REMOVED>","user":"<username>","app":"end_to_end_encryption","method":"POST","url":"\/nextcloud\/ocs\
/v2.php\/apps\/end_to_end_encryption\/api\/v1\/public-key?format=json","message":"Can't create public key: could not sign the CSR, please make sure to submit a valid CSR","userAgent":"Mozill
a\/5.0 (Linux) mirall\/2.5.0git (Nextcloud)","version":"14.0.3.0"}
{"reqId":"jHVJxgGHZmF7CePXL5cj","level":3,"time":"2018-11-20T21:57:52+01:00","remoteAddr":"<IP2-REMOVED>","user":"<username>","app":"PHP","method":"GET","url":"\/nextcloud\/ocs\/v2.php\/apps\/noti
fications\/api\/v2\/notifications","message":"Zend OPcache can't be temporary enabled (it may be only disabled till the end of request) at Unknown#0","userAgent":"Mozilla\/5.0 (X11; Fedora;
Linux x86_64; rv:63.0) Gecko\/20100101 Firefox\/63.0","version":"14.0.3.0"}
{"reqId":"Pi1bOYabtW4anDZr4HBU","level":3,"time":"2018-11-20T21:59:54+01:00","remoteAddr":"<IP2-REMOVED>","user":"<username>","app":"PHP","method":"PROPFIND","url":"\/nextcloud\/remote.php\/caldav
\/calendars\/<username>\/fbf70b57-2fd3-4948-9c13-4a2177f2c6cb\/","message":"Zend OPcache can't be temporary enabled (it may be only disabled till the end of request) at Unknown#0","userAgent":"Evo
lution\/3.30.2","version":"14.0.3.0"}
{"reqId":"ppzVq88pRqPZCZjDYLzx","level":3,"time":"2018-11-20T22:01:24+01:00","remoteAddr":"<IP2-REMOVED>","user":"<username>","app":"PHP","method":"GET","url":"\/nextcloud\/ocs\/v1.php\/cloud\/use
r?format=json","message":"Zend OPcache can't be temporary enabled (it may be only disabled till the end of request) at Unknown#0","userAgent":"Mozilla\/5.0 (Linux) mirall\/2.5.0git (Nextclou
d)","version":"14.0.3.0"}
{"reqId":"61NeSpMDKDfMcpVCMYAo","level":3,"time":"2018-11-20T22:01:30+01:00","remoteAddr":"<IP2-REMOVED>","user":"<username>","app":"PHP","method":"POST","url":"\/nextcloud\/ocs\/v2.php\/apps\/end
_to_end_encryption\/api\/v1\/public-key?format=json","message":"openssl_csr_sign(): cannot get CSR from parameter 1 at \/www\/apps\/end_to_end_encryption\/lib\/SignatureHandler.php#60","user
Agent":"Mozilla\/5.0 (Linux) mirall\/2.5.0git (Nextcloud)","version":"14.0.3.0"}
{"reqId":"61NeSpMDKDfMcpVCMYAo","level":3,"time":"2018-11-20T22:01:30+01:00","remoteAddr":"<IP2-REMOVED>","user":"<username>","app":"end_to_end_encryption","method":"POST","url":"\/nextcloud\/ocs\
/v2.php\/apps\/end_to_end_encryption\/api\/v1\/public-key?format=json","message":"Can't create public key: could not sign the CSR, please make sure to submit a valid CSR","userAgent":"Mozill
a\/5.0 (Linux) mirall\/2.5.0git (Nextcloud)","version":"14.0.3.0"}
{"reqId":"JFfPheDVpZd2RZJhjf5x","level":3,"time":"2018-11-20T22:03:09+01:00","remoteAddr":"<IP-REMOVED>","user":"<username>","app":"PHP","method":"GET","url":"\/nextcloud\/ocs\/v1.php\/cloud\/use
rs\/<username>?format=json","message":"Zend OPcache can't be temporary enabled (it may be only disabled till the end of request) at Unknown#0","userAgent":"Mozilla\/5.0 (Android) ownCloud-android\
/3.3.2","version":"14.0.3.0"}

Searching in the web UI logs (for "encryption"), I get many of these:
image

…many of these:
image

…and nothing special anymore:
image

@rugk rugk changed the title Uploding e2e encrypted files takes forever Uploding e2e encrypted files takes forever/fails Nov 25, 2018
@rugk rugk changed the title Uploding e2e encrypted files takes forever/fails Uploding e2e encrypted files seems to take forever/fails Nov 25, 2018
@camilasan camilasan added this to To do in Desktop Client 2.6 Series via automation Nov 27, 2018
@rugk

This comment has been minimized.

Copy link
Author

@rugk rugk commented Dec 5, 2018

Any news here what I can do to troubleshoot/debug this, or is this "expected"??

@rugk

This comment has been minimized.

Copy link
Author

@rugk rugk commented Dec 8, 2018

Testing with a new user and although the setup works and it partially even syncs, it also seems to fail at some point: nextcloud/android#3291 (comment)

@theodiefenthal

This comment has been minimized.

Copy link

@theodiefenthal theodiefenthal commented Jan 3, 2019

+1, same issue here.

@Baeda73

This comment has been minimized.

Copy link

@Baeda73 Baeda73 commented Jan 7, 2019

+1, files put in an encrypted folder do not upload, blocking client forever. happens on iOS and macOS client. e2e not useable at all.
deletion of file reanimate client

@rugk

This comment has been minimized.

Copy link
Author

@rugk rugk commented Feb 22, 2019

Did I also already mention it actually blocks any file upload, even if you have multiple users connected in your desktop client and only one has this issue?

@kristog

This comment has been minimized.

Copy link

@kristog kristog commented Feb 28, 2019

I have the same problem here, with the linux 2.5.1 AppImage and on windows.
I noticed that if I copy files one by one in the encrypted folder (waiting the first upload to finish before copying a new file) it works. I tested with files up to 50Mb. If I copy more than one file at time, the it will get stuck on uploading the second file (tested with 2 small files).

@SnejPro

This comment has been minimized.

Copy link

@SnejPro SnejPro commented Mar 13, 2019

Same issue with 2.5.1 on windows.
Download and decryption of encrypted files works.
Upload and encryption does not work.

When i set a directory as encrypted on windows, the upload of files in this directory does not work on Android.

@marbetschar

This comment has been minimized.

Copy link

@marbetschar marbetschar commented May 29, 2019

Same issue here on macOS (v2.5.2). Is there any known workaround?

@rugk

This comment has been minimized.

Copy link
Author

@rugk rugk commented May 29, 2019

IMHO it is quite troubling that no one from Nextcloud commented on this issue… Is this expected or what? What can we do? etc.…

E2e crypto is really not well-developed in Nextcloud. I don't like to say that, but in the current state is just absolutely unusable.

@marbetschar

This comment has been minimized.

Copy link

@marbetschar marbetschar commented May 29, 2019

@rugk same feelings here. I'm currently testing Nextcloud with the goal to eventually completely switch from other Cloud providers and the E2E feature seemed like a huge selling point. Unfortunately it simply does not work.

I understand new things need time to mature and it's quite early days for E2E within Nextcloud. But at least some sort of workaround or at least feedback would be .... nice.

@spackmat

This comment has been minimized.

Copy link

@spackmat spackmat commented Oct 18, 2019

Had e2ee never get to work due to this problem on different NextCloud instances on different servers and users with different computers. Everywhere the same: when the desktop client tries to add a file to an encrypted folder, the folder breaks. Meaning that also the android client cannot upload new files after that.

Today, I tested v2.6.1-rc1 very hopeful, but still doesn't work. And no feedback. And e2ee is on the market since several major versions of NextCloud, so I would expect it to at least work at all.

@0x47

This comment has been minimized.

Copy link

@0x47 0x47 commented Dec 18, 2019

I suspect that no one really uses the E2E encryption feature because it is still in the alpha stage (since a long time). Sadly it seems that because of that the developers think there is no demand for E2EE and virtually stopped working on it. Or maybe there really is too little demand.

@marbetschar

This comment has been minimized.

Copy link

@marbetschar marbetschar commented Dec 18, 2019

@0x47 regarding the amount of issues targeted against E2E and given the activity there (at least initially) there is quite a high demand. But: "Nextcloud + E2E" is waaaaaaaaay better than "Nextcloud" - but it does also works the way it ever has, so I can wait till ready.

Nevertheless, its sad to see there is no official communication/activity/whatsoever around this feature.

@SnejPro

This comment has been minimized.

Copy link

@SnejPro SnejPro commented Dec 18, 2019

I also think that the demand is high. There are companies like Boxcryptor who sell software for encrypting files stored in cloud storages. But i'd like to see this feature implemented in NC natively. But as @0x47 said: the current E2E-feature is completly unusable.

@0x47

This comment has been minimized.

Copy link

@0x47 0x47 commented Dec 18, 2019

@marbetschar I am not sure what you mean by

but it does also works the way it ever has

but for me the E2EE has never worked for the desktop client. So from my point of view the developers are too busy/lazy to essentially copy/paste the somewhat working Android E2E code to this desktop client. Anyway, I have so many other issues with this desktop client that I have to use the OwnCloud client most of the time (crashing when using HTTP2, broken sync when using umlauts in file names, crashing due to unknown reasons) - sorry for the off-topic.

@marbetschar

This comment has been minimized.

Copy link

@marbetschar marbetschar commented Dec 18, 2019

@0x47 I meant the fact, that Nextcloud always worked without E2EE. And it continous to do so. That said, there is no urgency of getting it done. Neither for Nextcloud developers nor for Nextcloud users - especially if Nextcloud developers get paid for other features.

I don't want to say I'm supporting this prioritization, but I'm not a Nextcloud developer. Overall its disappointing how the whole E2EE stuff went so far - at least communication wise.

UPDATE: I did not experience any desktop sync client issues so far without using E2EE - so I can't say anything about potential issues there.

@0x47

This comment has been minimized.

Copy link

@0x47 0x47 commented Dec 18, 2019

Thank for the clarification, it is a valid point. For me personally, coming from Seafile with working encryption (granted, not with the best concept), the features is a must-have mid- to long-term. For me, it is the single only feature that makes it better than Seafile. I guess I was too excited about this and switched too early.

@marbetschar

This comment has been minimized.

Copy link

@marbetschar marbetschar commented Dec 18, 2019

... I guess I was too excited about this and switched too early.

IMHO that's exactly the problem. Happened to me as well. Nextcloud said the feature is ready - and as problems occured, Nextcloud went completely silent. One might argue they still provide the impression of readiness, calling it an "Enterprise-grade Encryption Solution": https://nextcloud.com/endtoend/

The sad truth is E2EE is far from ready - and calling this feature an "Enterprise-grade Encryption Solution" is .... well, its too far of a stretch.

E2EE, at this stage, should have never been released to the public in the first place.

@KopfKrieg

This comment has been minimized.

Copy link

@KopfKrieg KopfKrieg commented Dec 18, 2019

If you only use the Android app E2EE works fine. It's the desktop client that's broken. They created a new RFC that should fix the whole encryption process but it's not yet implemented. Also, E2EE is not compatible with Nextcloud 17. So, yeah, E2EE in it's current state, is more or less broken. I really hope that gets fixed soon.

OT:

(crashing when using HTTP2, broken sync when using umlauts in file names, crashing due to unknown reasons)

Are you using MySQL as database? My server uses HTTP2, I've got many Umlauts and special characters in my files (stored in german, french, russian and greek), and the client never crashes here. I've only heard MySQL might be the problem in this case (I'm using PostgreSQL, but MariaDB should work too).

@rugk

This comment has been minimized.

Copy link
Author

@rugk rugk commented Dec 18, 2019

They created a new RFC that should fix the whole encryption process

That sounds interesting, do you have a link?

@KopfKrieg

This comment has been minimized.

Copy link

@KopfKrieg KopfKrieg commented Dec 18, 2019

More or less, I had a few links pointing to all open issues but I can't find them now. That's the only one I could find: nextcloud/end_to_end_encryption_rfc#34

Unfortunately, the issue doesn't include any details. I know I've created a issue on GitHub talking about it, but it got closed. The end results was that a new version of the RFC has to be implemented and all files/folders have to be re-encrypted.

Edit: My original issue: nextcloud/end_to_end_encryption#94

@0x47

This comment has been minimized.

Copy link

@0x47 0x47 commented Dec 18, 2019

Are you using MySQL as database? My server uses HTTP2, I've got many Umlauts and special characters in my files (stored in german, french, russian and greek), and the client never crashes here. I've only heard MySQL might be the problem in this case (I'm using PostgreSQL, but MariaDB should work too).

Let's not take the OT too far, as it is another big issue beyond the scope of this thread. I use MariaDB and the issues are described here:

  • Supposedly HTTP2: #1182
  • Still crashing for me with HTTP2 disabled (hence supposedly)
  • Crashing for other strange reasons: #1205

Fact is: none of the issues are happening with the OwnClient client - so I doubt the DB is the reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
10 participants
You can’t perform that action at this time.