TeamAmaze / TeamAmaze/AmazeFileManager
File decryption hanging for 20 minutes before failing
Nobody has claimed this yet.
- 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:
- Encrypt folder containing pictures and videos
- Open encrypted folder (no password required)
- Tap on 3 dots menu of encrypted video file (70MB)
- Type password and press OK
- 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
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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