Add DuressPassword feature.
Maintainer thường phản hồi trong vòng 5 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 8/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Lĩnh vực
- authentication, security
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Kotlin
- Star
- 678
- Fork
- 84
- Merge trung bình
- 5 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của FossifyOrg/Keyboard
-
Error of the Ukrainian keyboard layoutCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
FossifyOrg/Keyboard#487 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 5 ngày
-
bug needs triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
FossifyOrg/Keyboard#484 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
bug needs triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
FossifyOrg/Keyboard#462 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 5 ngày
-
bug needs triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
FossifyOrg/Keyboard#450 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
Add support for Georgian layoutĐang mởfeature request needs triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
FossifyOrg/Keyboard#447 ·
Maintainer thường phản hồi trong vòng 5 ngày
Tất cả issue của FossifyOrg/Keyboard
Issue tương tự
-
Default book icon displayed while loadingCó thể đã có người làm @Bhaskar-Guthula-137 đã nhận hôm nay. Đang mởbug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
kiwix/kiwix-android#5194 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
jellyfin/jellyfin-androidtv#5885 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 73/100
tortuvshin/open-apps#377 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
contributor: external needs review
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
supabase-community/supabase-kt#1413 ·
Maintainer thường phản hồi trong vòng 5 ngày