TeamAmaze / TeamAmaze/AmazeFileManager

File decryption hanging for 20 minutes before failing

Open
#1,826 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Cryptography Issue-Bug
Dominant language
Kotlin
Stars
6.4k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
1

Description

Describe the bug
Decryption fails on encrypted video file inside encrypted folder

To Reproduce
Steps to reproduce the behavior:

  1. Encrypt folder containing pictures and videos
  2. Open encrypted folder (no password required)
  3. Tap on 3 dots menu of encrypted video file (70MB)
  4. Type password and press OK
  5. Decrypted video file is created and shows corrupt file icon and its size is 0B. Notification is stuck on time remaining unknown and transfer rate unknown
  6. Decryption stops after several minutes and Amaze reports it couldn't decrypt the file

Expected behavior
Decrypted video file is created and can be opened normally after a reasonable amount of time

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: bq Aquaris X2 Pro
  • OS: Android Pie 9 (Android One)
  • Rooted: no
  • Version: not sure about this question

See logcat attached.
amaze.log

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the listed steps with a 70MB encrypted video inside an encrypted folder, then inspect the attached amaze.log and trace the Android file-decryption entry point. Done means decryption completes in a reasonable time and produces a non-empty video that opens normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.