[Feature] A password type for extension settings
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Start in pkg/download/extension.go where setting types are defined; add a password type alongside string/number/boolean. Trace the GET /api/v1/extensions handler to mask the value, and check the settings form widget used for the proxy password to reuse obscuring. Done means the form shows dots, API returns a mask, and saving the mask keeps the stored secret.
Written by the indexing model from the issue text.
Description
What. A password type for extension settings.
Why. Extensions for file hosts and debrid services need API keys and passwords. Setting types are only string, number and boolean (pkg/download/extension.go), so these values are shown in the settings form and returned by GET /api/v1/extensions in plain text. Anyone who sees the screen, or can call the API, can read them. Gopeed's own API token and proxy password fields are already obscured.
Proposal.
- The settings form shows a
passwordsetting obscured, like the proxy password. - The API returns a mask instead of the value.
- A settings update that sends the mask back keeps the stored value.
Our debrid extension (silasmariusz@debrid in the store) would use it for its API keys. Today our QNAP package masks these values in a proxy in front of the API, which only helps that package.
Version. main at b8ff5ff.
- Dominant language
- Dart
- Stars
- 27.7k
- Forks
- 1.8k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 26
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from GopeedLab/gopeed
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
GopeedLab/gopeed#1616 · 1 comment ·
Maintainers usually reply within 2 days
-
[Bug] Linux 点击创建任务后窗口不显示:setHasShadow 抛出 MissingPluginExceptionPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
GopeedLab/gopeed#1338 · 1 comment ·
Maintainers usually reply within 2 days
All issues in GopeedLab/gopeed
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Timer with tickCount stays finished after start() or reset()Possibly taken @matthewalberto claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
flame-engine/flame#4240 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
spotiflacapp/SpotiFLAC-Mobile#935 ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
chriskelly/wish-together#193 ·
Maintainers usually reply within 1 day
-
area: player feature request
Difficulty 2/5 1-3 hours Newbie friendliness 65/100