zhanghai / zhanghai/MaterialFiles

sftp使用带密码的私钥时密码留空无法保存设置

Open
#1,066 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
9k
Forks
736
PR merge metrics
No merged PRs in 30d

Description

android 13,质感文件是gg商店版 1.62(34),带密码的私钥是ssh-keygen -t ed25519 -C xxx 生成的。挂载sftp使用带密码的私钥,导入私钥后,私钥密码处留空,保是保存设置时会提示"无效的私钥密码",从而无法保存设置。
在我的想象中,这个功能应该是留空保存后点击sftp标签就弹出输入框吧。

Contributor guide

No contributing guide indexed for this repository

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

Reproduce the issue on Android 13 with an encrypted Ed25519 private key, leaving the private-key password empty while configuring SFTP. Verify the current validation and the expected behavior: settings should save and prompt for the password when the SFTP tab is opened.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.