-
Notifications
You must be signed in to change notification settings - Fork 808
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
[Bug]: Renaming subfolders in E2EE-encrypted folders fails and may result in E2EE metadata corruption unless Virtual File Support is disabled #7681
Labels
Comments
falghamdi125
changed the title
[Bug]: Renaming subfolders in E2EE-encrypted folders fails and may result in E2EE metadata corruption
[Bug]: Renaming subfolders in E2EE-encrypted folders fails and may result in E2EE metadata corruption unless Virtual File Support is disabled
Dec 17, 2024
Update 1: Even after disabling VFS; Multiple renaming, moving files & folders arround, sharing with others within encrypted folders cause data loss. E2EE is unreliable in my opinion. Client logs 2024-12-19 03:10:42:321 [ info nextcloud.sync.networkjob.lscol C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\networkjobs.cpp:386 ]: LSCOL of QUrl("https://192.168.68.64:8002/remote.php/dav/files/admin/admin_encrypted") FINISHED WITH STATUS "OK"
2024-12-19 03:10:42:322 [ info nextcloud.sync.networkjob.clientsideencrypt C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\clientsideencryptionjobs.cpp:55 ]: Requesting the metadata for the fileId "3322" as encrypted
2024-12-19 03:10:42:322 [ info nextcloud.sync.accessmanager C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\accessmanager.cpp:67 ]: 2 "" "https://192.168.68.64:8002/ocs/v2.php/apps/end_to_end_encryption/api/v2/meta-data/3322?format=json" has X-Request-ID "fc57ab87-ff42-45b9-8e7b-37e268400557"
2024-12-19 03:10:42:322 [ info nextcloud.sync.networkjob C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\abstractnetworkjob.cpp:365 ]: OCC::GetMetadataApiJob created for "https://192.168.68.64" + "ocs/v2.php/apps/end_to_end_encryption/api/v2/meta-data/3322" ""
2024-12-19 03:10:42:352 [ info nextcloud.sync.credentials.webflow C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\gui\creds\webflowcredentials.cpp:405 ]: request finished
2024-12-19 03:10:42:352 [ info nextcloud.sync.networkjob.clientsideencrypt C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\clientsideencryptionjobs.cpp:74 ]: metadata received for file id "3322" "{\"ocs\":{\"data\":{\"meta-data\":\"{\\n \\\"metadata\\\": {\\n \\\"authenticationTag\\\": \\\"vavfsGAzEXFqN3HK+cgocQ==\\\",\\n \\\"ciphertext\\\": \\\"mzGdUkqQ59Dab5fkGRiI+m+v8enN+fUaUpPc4896y1P+wMdrhKyii4vZ9MX+felh9N36d6eg/buC2dy671yN1fq93VXaR+EFYV0tbFkW/5OXIi4IvVaJnHWeXsqqtt76m/By+Y1xrMyZtwctzFTHDgOszPo8FWQxF3GVZdQ8MswSfR7P4qsyD5NIkpJxJ15yU7a1CFtmQjZhBE1Cxm9q9+wYDMRcWo3ccr5yChx|UpE2XGnnA6NeK5DuynKcEw==\\\",\\n \\\"nonce\\\": \\\"UpE2XGnnA6NeK5DuynKcEw==\\\"\\n },\\n \\\"users\\\": [\\n {\\n \\\"certificate\\\": \\\"-----BEGIN CERTIFICATE-----\\\\nMIIDkjCCAnqgAwIBAgIBADANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQGEwJERTEb\\\\nMBkGA1UECAwSQmFkZW4tV3VlcnR0ZW1iZXJnMRIwEAYDVQQHDAlTdHV0dGdhcnQx\\\\nEjAQBgNVBAoMCU5leHRjbG91ZDEOMAwGA1UEAwwFYWRtaW4wHhcNMjQxMjE3MjEx\\\\nNjA1WhcNNDQxMjEyMjExNjA1WjBiMQswCQYDVQQGEwJERTEbMBkGA1UECAwSQmFk\\\\nZW4tV3VlcnR0ZW1iZXJnMRIwEAYDVQQHDAlTdHV0dGdhcnQxEjAQBgNVBAoMCU5l\\\\neHRjbG91ZDEOMAwGA1UEAwwFYWRtaW4wggEiMA0GCSqGSIb3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\nhVGOaFOP+xwqtxgHU2ygbD+ru9xVd7n9AgMBAAGjUzBRMB0GA1UdDgQWBBQW81Pz\\\\n2Op3I4fAIQGI5+gCJVqQvjAfBgNVHSMEGDAWgBQW81Pz2Op3I4fAIQGI5+gCJVqQ\\\\nvjAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBBQUAA4IBAQAYWA3tQ2z2RBRw\\\\ne1ID9+2F8v24CaOXdgToNY8fySoqenpsOn6UyvZb++uM96M0Pl6EvqncEoVamx0v\\\\n70QkzO/fdcq4CYah04i87BSn4+SUBZkbpVTMkk/OTVxlNtL/Nf0TiP0mU\\\\nZGCULrSiuZ5BA23VxKcTfHUednGJUkLKFvGQqbbzTOITq2HJXaakftrebSTr4Tml\\\\ngIvlRY/9Qnz5XSqn7srBbQOkPKEVyFqjb1hwlrDW8RnKJjDhd/cxq8WICbfWMzl0\\\\nMkwaonlpOjIRsQ3FxPeomkHYI0kcTqTTs0L1xixR5AOqrDZyvIDp7i3U/AIg6x8F\\\\nu7hUqgIc\\\\n-----END CERTIFICATE-----\\\\n\\\",\\n \\\"encryptedMetadataKey\\\": \\\"iNlil93Dk8MVUmJ3KKaATIoH9A/USkbDKNIgxobhruIzyU+C/RV6TCiQ4by4p2e9wh+KrRSaAHcGIT/J8iOoDWchoGxWIbYkucGN9/tVNykmcJVVrgMykhtT1HsdWhbmmKqxcKhzDIrqI9V/3Q5r8v0GDdKbur5co0c5nhzHhV1Wjy0tcjabsA4jzW3K/usWenPGHDtd5orANEx8Q7UxwUeIjBrmxKXI8Hnn7mue614n1nNRr9p9gQYV6SOgVpr1hNvhqism/wQ5SiuslwKD0rBC4Ycjxy+VwCpggSPcPAZzfCWbE2Hq7GgnEPlRPr81RV5hYjyC6Ri0FaKEd67AIw==\\\",\\n \\\"userId\\\": \\\"user1\\\"\\n }\\n ],\\n \\\"version\\\": \\\"2.0\\\"\\n}\\n\"},\"meta\":{\"message\":\"OK\",\"status\":\"ok\",\"statuscode\":200}}}"
2024-12-19 03:10:42:353 [ info nextcloud.metadata C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\foldermetadata.cpp:93 ]: "{\"ocs\":{\"data\":{\"meta-data\":\"{\\n \\\"metadata\\\": {\\n \\\"authenticationTag\\\": \\\"vavfsGAzEXFqN3HK+cgocQ==\\\",\\n \\\"ciphertext\\\": \\\"mzGdUkqQ59Dab5fkGRiI+m+v8enN+fUaUpPc4896y1P+wMdMX+felh9N36d6eg/buC2dy671yN1fq93VXaR+EFYV0tbFkW/5OXIi4IvVaJnHWeXsqqtt76m/By+Y1xrMyZtwctzFTHDgOT6R1PSZPo8FWQxF3GVZdQ8MswSfR7P4qsyD5NIkpJxJ15yU7a1CFtmQjZhBE1Cxm9q9+wYDMRcWo3ccr5yChx|UpE2XGnnA6NeK5DuynKcEw==\\\",\\n \\\"nonce\\\": \\\"UpE2XGnnA6NeK5DuynKcEw==\\\"\\n },\\n \\\"users\\\": [\\n {\\n \\\"certificate\\\": \\\"-----BEGIN CERTIFICATE-----\\\\nMIIDkjCCAnqgAwIBAgIBADANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQGEwJERTEb\\\\nMBkGA1UECAwSQmFkZW4tV3VlcnR0ZW1iZXJnMRIwEAYDVQQHDAlTdHV0dGdhcnQx\\\\nEjAQBgNVBAoMCU5leHRjbG91ZDEOMAwGA1UEAwwFYWRtaW4wHhcNMjQxMjE3MjEx\\\\nNjA1WhcNNDQxMjEyMjExNjA1WjBiMQswCQYDVQQGEwJERTEbMBkGA1UECAwSQmFk\\\\nZW4tV3VlcnR0ZW1iZXJnMRIwEAYDVQQHDAlTdHV0dGdhcnQxEjAQBgNVBAoMCU5l\\\\neHRjbG91ZDEOMAwGA1UEAwwFYWRtaW4wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw\\\\nggEKAoIgeDCcgi+cMmjUn1iLPTL8RRMMBRf9EGTaO7Sq7FOGRT4m+28\\\\ngDeaHRIeXIgeyo34c/3cRKL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SMEGDAWgBQW81Pz2Op3I4fAIQGI5+gCJVqQ\\\\nvjAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBBQUAA4IBAQAYWA3tQ2z2RBRw\\\\ne1ID9+2F8v24CaOXdgToNY8fySoqenpsOn6UyvZb++uM96M0Pl6EvqncEoVamx0v\\\\n70QkzO/fdcq4CYw53BZUvah04i87BSn4+SUBZkbpVTMkk/OTVxlNtL/Nf0TiP0mU\\\\nZGCULrSiuZ5BA23VxKcTfHUednGJUkLKFvGQqbbzTOITq2HJXaakftrebSTr4Tml\\\\ngIvlRY/9Qnz5XSqn7srBbQOkPKEVyFqjb1hwlrDW8RnKJjDhd/cxq8WICbfWMzl0\\\\nMkwaonlpOjIRsQ3FxPeomkHYI0kcTqTTs0L1xixR5AOqrDZyvIDp7i3U/AIg6x8F\\\\nu7hUqgIc\\\\n-----END CERTIFICATE-----\\\\n\\\",\\n \\\"encryptedMetadataKey\\\": \\\"iNlil93Dk8MVUmJ3KKaATIoH9A/USkbDKNIgxobhruIzyU+C/RV6TCiQ4by4p2e9wh+KrRSaAHcGIT/J8iOoDWchoGxWIbYkucGN9/tVNykmcJVVrgMykhtT1HsdWhbmmKqxcKhzDIrqI9V/3Q5r5co0c5nhzHhV1Wjy0tcjabsA4jzW3K/usWenPGHDtd5orANEx8Q7UxwUeIjBrmxKXI8Hnn7mue614n1nNRr9p9gQYV6SOgVpr1hNvhqism/wQ5SiuslwKD0rBC4Ycjxy+VwCpggSPcPAZzfCWbE2Hq7GgnEPlRPr81RV5hYjyC6Ri0FaKEd67AIw==\\\",\\n \\\"userId\\\": \\\"user1\\\"\\n }\\n ],\\n \\\"version\\\": \\\"2.0\\\"\\n}\\n\"},\"meta\":{\"message\":\"OK\",\"status\":\"ok\",\"statuscode\":200}}}"
2024-12-19 03:10:42:353 [ info nextcloud.metadata C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\foldermetadata.cpp:111 ]: Setting up existing metadata
2024-12-19 03:10:42:354 [ info nextcloud.e2e C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\clientsideencryption.cpp:660 ]: Start to work the decryption.
2024-12-19 03:10:42:354 [ info nextcloud.e2e C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\clientsideencryption.cpp:700 ]: Size of output is: 256
2024-12-19 03:10:42:354 [ info nextcloud.e2e C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\clientsideencryption.cpp:701 ]: Size of data is: 256
2024-12-19 03:10:42:355 [ critical nextcloud.e2e C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\clientsideencryption.cpp:708 ]: Could not decrypt the data. "2C370000:error:02000079:rsa routines:RSA_padding_check_PKCS1_OAEP_mgf1:oaep decoding error:..\\openssl-3.3.1\\crypto\\rsa\\rsa_oaep.c:308:\n"
2024-12-19 03:10:42:355 [ warning nextcloud.metadata C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\foldermetadata.cpp:115 ]: Failed to setup FolderMetadata. Could not parse/create metadataKey!
2024-12-19 03:10:42:356 [ info nextcloud.sync.discovery C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\discovery.cpp:2097 ]: serverJob has finished for folder: "admin_encrypted" and it has _isFileDropDetected: false
2024-12-19 03:10:42:356 [ warning nextcloud.sync.discovery C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\discovery.cpp:2110 ]: Server error in directory "admin_encrypted" 0
2024-12-19 03:10:42:356 [ warning nextcloud.gui.activity C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\gui\tray\usermodel.cpp:640 ]: Item "Nextcloud4" retrieved resulted in "Server replied with an error while reading directory \"admin_encrypted\" : Encrypted metadata setup error!"
2024-12-19 03:10:42:356 [ info nextcloud.sync.engine C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\libsync\syncengine.cpp:909 ]: Sync run took 129 ms
2024-12-19 03:10:42:366 [ info nextcloud.gui.folderwatcher C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\gui\folderwatcher.cpp:252 ]: Detected changes in paths: QSet("C:/Users/fisal/Nextcloud4/.sync_894a10bc2e49.db-wal")
2024-12-19 03:10:42:367 [ info nextcloud.gui.folder C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\gui\folder.cpp:1212 ]: Client version 3.15.2 (build 20241216) Qt 6.7.2 SSL OpenSSL 3.3.1 4 Jun 2024
2024-12-19 03:10:42:367 [ warning nextcloud.gui.folder C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\gui\folder.cpp:1219 ]: SyncEngine finished with ERROR
2024-12-19 03:10:42:367 [ info nextcloud.gui.folder C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\gui\folder.cpp:432 ]: Folder "" sync result: OCC::SyncResult::SyncPrepare
2024-12-19 03:10:42:367 [ info nextcloud.gui.folder C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\gui\folder.cpp:1248 ]: the last 1 syncs failed
2024-12-19 03:10:42:367 [ info nextcloud.gui.application C:\Users\User\AppData\Local\Temp\windows-27535\client-building\desktop\src\gui\owncloudgui.cpp:251 ]: Sync state changed for folder "https://192.168.68.64:8002/remote.php/dav/files/admin/" : "Error" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
Hello everyone,
Virtual File Support
is enabled by default. Renaming subfolders within E2EE-encrypted folders fails to work as expected. The problem often occurs when multiple operations—such as renaming, syncing, or adding files are performed in quick succession. These actions can disrupt the encryption metadata, potentially leading to corruption or complete failure of the E2EE feature.Note: In some cases, simply renaming the encrypted folder can help restore it to a less severe state (syncing other files resumes) .
I did not notice the issue when
Virtual File Support
is disabledSteps to reproduce
Now, repeat the above steps, but this time add files within the subfolder before renaming it. After performing a few sync operations and renames, you will notice that the client fails to sync and e2ee becomes corrupted.
Expected behavior
Which files are affected by this bug
nextcloud.log
Operating system
Windows
Which version of the operating system you are running.
Windows 10
Package
Official Linux AppImage
Nextcloud Server version
master
Nextcloud Desktop Client version
3.15.2
Is this bug present after an update or on a fresh install?
Fresh desktop client install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
Are you using an external user-backend?
Nextcloud Server logs
Additional info
No response
The text was updated successfully, but these errors were encountered: