mirror of
https://github.com/nextcloud/server.git
synced 2026-11-26 16:15:53 +01:00
`fixUnencryptedSize()` asked the encryption module for the unencrypted block size before calling `begin()`. The module only learns the encoding of the file (binary or legacy base64) from the header in `begin()`, so the block size of binary encoded files was used for legacy base64 files. This stored an inflated unencrypted size for legacy files, which then breaks downloads: the announced content length is too large and the signature check of the last block fails with "Bad Signature". Fixes #63662 Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
31 lines
1.0 KiB
XML
31 lines
1.0 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
- SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
|
|
- SPDX-FileCopyrightText: 2015 owncloud, Inc.
|
|
- SPDX-License-Identifier: AGPL-3.0-only
|
|
-->
|
|
<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
|
|
<id>testing</id>
|
|
<name>QA testing</name>
|
|
<summary>This app is only for testing! It is dangerous to have it enabled in a live instance</summary>
|
|
<description>This app is only for testing! It is dangerous to have it enabled in a live instance</description>
|
|
<version>3.0.0-dev.0</version>
|
|
<licence>agpl</licence>
|
|
<author>Joas Schilling</author>
|
|
<types>
|
|
<authentication/>
|
|
</types>
|
|
|
|
<commands>
|
|
<command>OCA\Testing\Command\SetUnencryptedSize</command>
|
|
<command>OCA\Testing\Command\StaticHunt</command>
|
|
</commands>
|
|
|
|
<category>monitoring</category>
|
|
<bugs>https://github.com/nextcloud/server/issues</bugs>
|
|
<dependencies>
|
|
<nextcloud min-version="36" max-version="36"/>
|
|
</dependencies>
|
|
</info>
|