TeamAmaze / TeamAmaze/AmazeFileManager
SSH connection asks for private key password on every directory change
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
v3.11.3 fixed the issue with ed25519 keys. SSH now works with these connections. However, the decrypted private key is not cached and the session is terminated immediately (Note that I am guessing from the observed behavior)
To Reproduce
Steps to reproduce the behavior:
- Create ssh connection with ed25519 encrypted privkey
- Use the connection
- Get asked for password (expected for the initial connection, i don't want my decrypted privkey stored by the app)
- Change directory
- Goto 3.
Note: App closes if you select 'cancel' on the password prompt
Expected behavior
Keep ssh session open until I close the tab or 5min of inactivity or sth.
Smartphone (please complete the following information):
- Device: pixel 8a
- OS: latest grapheneos
- Rooted: no
- Version: v3.11.3
Additional Notes
I have observed being able to cd without re-entering the passphrase sometimes. Have not found a way to consistently reproduce.
I have not checked if this is specific to ed25519 with encrypted privkey
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
No files, tests, or entry points are named. Reproduce the ed25519 encrypted-key flow, especially changing directories and cancelling the passphrase prompt, then trace the SSH session lifecycle; done means the session remains usable without prompting on each directory change and cancellation does not close the app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100