Skip to content

View E2E Encrypted File Uploaded From Desktop on iOS Client Resulted in seeing extra hash string appended to it #2405

@shubymao

Description

@shubymao

Steps to reproduce

  1. Ensure E2E encryption is enabled on both iOS and desktop client.
  2. Create a new text file in e2e encrypted folder on desktop client.
  3. Edit the file and add some string to the text file (ex. hello world)
  4. View the file content in preview within the iOS client

Expected behaviour

  • See exact same string as you enter in step 3. (i.e hello world)

Actual behaviour

  • On the iOS device, we see the original message along with some extra hash like characters when preview or download the file. I presume there might be some inconsistency in the way the file is decrypted on iOS Client vs encrypted on Desktop

Screenshots

What file looks like on desktop client.
image

What I see on iOS device.
2023-04-30 01-02-25-0

Logs

If applicable, you can post the iOS app or server logs (removing any sensitive information).

Reasoning or why should it be changed/implemented?

Data consistency is core to any storage service. If the app can't maintain good consistent on the e2ee file then this doesn't provide the user with confidence to use this feature.

Environment data

Nextcloud Desktop Version
Nextcloud Window 3.8.1

Windows Version
10

iOS version:
IPadOS 15.5.

Nextcloud iOS app version: see More > Settings
NextCloud Liquid iOS 4.8.0.5

Server operating system:
TrueNas (Debian, Linux)

Nextcloud version:
26.0.1

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions