Skip to content

[stable-33.0] fix(e2ee): allow read of metadata 1.2 again - #9593

Merged
mgallien merged 3 commits into
stable-33.0from
backport/9544/stable-33.0
Mar 11, 2026
Merged

[stable-33.0] fix(e2ee): allow read of metadata 1.2 again#9593
mgallien merged 3 commits into
stable-33.0from
backport/9544/stable-33.0

Conversation

@backportbot

@backportbot backportbot Bot commented Mar 10, 2026

Copy link
Copy Markdown

Backport of #9544

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
we should be able to use API version 2 to read legacy metadata that have
not been migrated yet

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
will enable storing again the proper version of the encryption metadata
in client database

that will enable again migration on read from version 1.2 to version 2.0

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
@mgallien
mgallien force-pushed the backport/9544/stable-33.0 branch from 4d8e616 to c60cb82 Compare March 11, 2026 09:33
@mgallien
mgallien marked this pull request as ready for review March 11, 2026 09:33
@mgallien
mgallien enabled auto-merge March 11, 2026 09:35
@github-actions

Copy link
Copy Markdown
Contributor

Artifact containing the AppImage: nextcloud-appimage-pr-9593.zip

Digest: sha256:4278b7db5c3eaf0f6a6ec107460389ef39808c66954a2424190cec0d0b6418f0

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@mgallien
mgallien merged commit 4ad7136 into stable-33.0 Mar 11, 2026
18 of 19 checks passed
@mgallien
mgallien deleted the backport/9544/stable-33.0 branch March 11, 2026 09:52
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
31.2% Coverage on New Code (required ≥ 80%)
E Reliability Rating on New Code (required ≥ A)
1 New Bugs (required ≤ 0)
5 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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