Add DuressPassword feature.
I maintainer di solito rispondono entro 5 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 8/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Ambito
- authentication, security
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Kotlin
- Stelle
- 678
- Fork
- 84
- Merge medio
- 5g 9h
- PR unite (30g)
- 8
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di FossifyOrg/Keyboard
-
Error of the Ukrainian keyboard layoutForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 60/100
FossifyOrg/Keyboard#487 · 1 commento ·
I maintainer di solito rispondono entro 5 giorni
-
bug needs triage
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
FossifyOrg/Keyboard#484 ·
I maintainer di solito rispondono entro 5 giorni
-
bug needs triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
FossifyOrg/Keyboard#462 · 1 commento ·
I maintainer di solito rispondono entro 5 giorni
-
bug needs triage
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
FossifyOrg/Keyboard#450 ·
I maintainer di solito rispondono entro 5 giorni
-
feature request needs triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
FossifyOrg/Keyboard#447 ·
I maintainer di solito rispondono entro 5 giorni
Tutte le issue di FossifyOrg/Keyboard
Issue simili
-
afk-ok area:data-quality importer size:S
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
enorm-labs/event-junkie#3166 ·
I maintainer di solito rispondono entro 1 giorno
-
bugbane/qf good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
osservatorionessuno/bugbane#173 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
theopenconversationkit/tock#2113 ·
I maintainer di solito rispondono entro 1 giorno
-
Bayern feature:Application ready web
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
digitalfabrik/entitlementcard#3176 ·
I maintainer di solito rispondono entro 7 giorni