Skip to content

Android can't open encrypted folder #16882

@kuggu

Description

@kuggu

Cause of error

Exception in thread "Thread-22" java.lang.IllegalStateException: Metadata is corrupt!
    at com.owncloud.android.utils.EncryptionUtilsV2.decryptFolderMetadataFile(EncryptionUtilsV2.kt:254)
    at com.owncloud.android.utils.EncryptionUtilsV2.parseAnyMetadata(EncryptionUtilsV2.kt:619)
    at com.owncloud.android.utils.EncryptionUtils.downloadFolderMetadata(EncryptionUtils.java:421)
    at com.owncloud.android.operations.RefreshFolderOperation.getDecryptedFolderMetadata(RefreshFolderOperation.java:649)
    at com.owncloud.android.operations.RefreshFolderOperation.synchronizeData(RefreshFolderOperation.java:535)
    at com.owncloud.android.operations.RefreshFolderOperation.fetchAndSyncRemoteFolder(RefreshFolderOperation.java:464)
    at com.owncloud.android.operations.RefreshFolderOperation.run(RefreshFolderOperation.java:275)
    at com.owncloud.android.lib.common.operations.RemoteOperation.run(RemoteOperation.java:387)
    at java.lang.Thread.run(Thread.java:1564)

App information

  • ID: com.nextcloud.client
  • Version: 330000190
  • Build flavor: gplay

Device information

  • Brand: google
  • Device: tokay
  • Model: Pixel 9
  • Id: CP1A.260405.005
  • Product: tokay

Firmware

  • SDK: 36
  • Release: 16
  • Incremental: 15001963

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

Add Nextcloud instance to Android app. Then try to open encrypted folder.

Expected behaviour

Opened encrypted folder.

Actual behaviour

Gives error.

Android version

Newest current Android.

Device brand and model

Google Pixel 9

Stock or custom OS?

Stock

Nextcloud android app version

Current

Nextcloud server version

Current

Using a reverse proxy?

I don't know

Android logs

No response

Server error logs

Additional information

No response

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions