Add DuressPassword feature.
Los mantenedores suelen responder en 5 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 8/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Área
- authentication, security
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Kotlin
- Estrellas
- 678
- Forks
- 84
- Merge medio
- 5 d 9 h
- PR fusionados (30 d)
- 8
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de FossifyOrg/Keyboard
-
Error of the Ukrainian keyboard layoutPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 60/100
FossifyOrg/Keyboard#487 · 1 comentario ·
Los mantenedores suelen responder en 5 días
-
bug needs triage
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
FossifyOrg/Keyboard#484 ·
Los mantenedores suelen responder en 5 días
-
bug needs triage
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
FossifyOrg/Keyboard#462 · 1 comentario ·
Los mantenedores suelen responder en 5 días
-
bug needs triage
Dificultad 4/5 3-5 días Aptitud para principiantes 18/100
FossifyOrg/Keyboard#450 ·
Los mantenedores suelen responder en 5 días
-
Add support for Georgian layoutAbiertofeature request needs triage
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
FossifyOrg/Keyboard#447 ·
Los mantenedores suelen responder en 5 días
Todos los issues de FossifyOrg/Keyboard
Issues similares
-
afk-ok area:data-quality importer size:S
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
enorm-labs/event-junkie#3301 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
rustyrazorblade/easy-db-lab#1017 ·
Los mantenedores suelen responder en 1 día
-
enhancement impact:U1 later P3 reach:R2 size:S
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100