Skip to content

Conversation

@backportbot-nextcloud
Copy link

@backportbot-nextcloud backportbot-nextcloud bot commented Aug 26, 2021

⚠️ This backport had conflicts and is incomplete ⚠️

backport of #28373

Whenever the command is run and a "legacy cipher" seems to be detected
when the legacy option is disabled, it's highly likely that the file is
actually unencrypted but the database contains a encrypted version
higher than 0 for some reason.

The command now detects this case and automatically sets the encrypted
version to 0 so that the file can be read again.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
This prevents side effects in tests by properly cleaning up
even with expected exceptions.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
@PVince81 PVince81 force-pushed the backport/28373/stable20 branch from f4862a8 to 610e765 Compare August 26, 2021 12:29
@PVince81
Copy link
Member

conflicts solved by backporting from the stable21 PR

@PVince81 PVince81 self-assigned this Aug 26, 2021
@PVince81 PVince81 added the 3. to review Waiting for reviews label Aug 26, 2021
@MichaIng MichaIng merged commit 84d9245 into stable20 Aug 26, 2021
@MichaIng MichaIng deleted the backport/28373/stable20 branch August 26, 2021 21:42
@blizzz blizzz mentioned this pull request Sep 23, 2021
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants