Add DuressPassword feature.
维护者通常 5 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 8/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
调研方向
The payload names no repository files; the work centres on the Android device-admin APIs it cites, DevicePolicyManager.wipeData and setMaximumFailedPasswordsForWipe, plus the uses-policies manifest entries and the target SDK limits. Start by deciding whether a keyboard app can legitimately hold device-admin rights, which is a design question for maintainers before any code. Done would mean a maintainer-approved design and a reviewed security model, not just a working wipe.
由索引模型根据 Issue 内容生成。
描述
Checklist
- I made sure that there are no existing issues - open or closed - to which I could contribute my information.
- I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
- I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
- I have taken the time to fill in all the required details. I understand that the request will be dismissed otherwise.
- This issue contains only one feature request.
- I have read and understood the contribution guidelines.
Feature description
Add DuressPassword feature.
Hello, pls add DuressPassword feature (wipe phone data when DuressPassword entered). On most firmwares keyboards can work on lock screen and you can do it. You can use
DevicePolicyManager.wipeData(flags);
or if target sdk >=34 , this may not work and you can use instead it:
DevicePolicyManager.setMaximumFailedPasswordsForWipe(AdminReceiver, 1);
before send incorrect (Duress) password to system.
You need for first variant:
<uses-policies>
<wipe-data />
</uses-policies>
and target sdk <=33
For second:
<uses-policies>
<wipe-data />
<watch-login/>
</uses-policies>
and any target sdk.
To store duress password just use hash , for example sha256 or Argon.
Example how to do it you can see via this apps:
DuressKeyboard (target sdk<=33):
https://github.com/pofesk0/lastcodeduresskeyboard
https://f-droid.org/packages/duress.keyboard
DuressKeyboardLite (target sdk>=34 and you can use this example for any sdk 8+ if you want):
https://github.com/pofesk0/DuressKeyboardLite
https://f-droid.org/packages/duress.keyboard.lite
Why do you want this feature?
This feature need to help people under duress to wipe phone data by entering special panic code without unlock phone.
Additional information
No response
- 主要语言
- Kotlin
- 星标
- 678
- 派生
- 84
- 平均合并
- 5 天 9 小时
- 30 天内合并 PR
- 8
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
FossifyOrg/Keyboard 的其他 Issue
-
Error of the Ukrainian keyboard layout可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug
难度 2/5 1-3 小时 新手友好度 60/100
FossifyOrg/Keyboard#487 · 1 条评论 ·
维护者通常 5 天内回复
-
bug needs triage
难度 4/5 3-5 天 新手友好度 48/100
FossifyOrg/Keyboard#484 ·
维护者通常 5 天内回复
-
bug needs triage
难度 3/5 1-2 天 新手友好度 35/100
FossifyOrg/Keyboard#462 · 1 条评论 ·
维护者通常 5 天内回复
-
bug needs triage
难度 4/5 3-5 天 新手友好度 18/100
FossifyOrg/Keyboard#450 ·
维护者通常 5 天内回复
-
feature request needs triage
难度 3/5 1-2 天 新手友好度 35/100
FossifyOrg/Keyboard#447 ·
维护者通常 5 天内回复
查看 FossifyOrg/Keyboard 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 83/100
Kotlin/kotlin-lsp#288 ·
-
afk-ok area:data-quality importer size:S
难度 2/5 1-3 小时 新手友好度 77/100
enorm-labs/event-junkie#3166 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 84/100
rajpreetcodes/Skills_MCP_Server#25 ·
维护者通常 1 天内回复
-
bugbane/qf good first issue
难度 2/5 1-3 小时 新手友好度 64/100
osservatorionessuno/bugbane#173 ·
维护者通常 1 天内回复
-
Android: build fails with Android Gradle Plugin 9 (kotlinOptions, lintOptions, proguard-android.txt)未关闭
难度 2/5 1-3 小时 新手友好度 78/100
capacitor-community/stripe#544 ·
维护者通常 1 天内回复