Harden BLE pairing and actually revoke removed phones
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 34/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- rust
- Área
- embedded-iot, security
Línea de trabajo
Read boards/esp/src/lib.rs:80 and the bond management and disconnect handling in ble/transport.rs, especially around line 521; trace how BondStore and the controller lists are updated. The issue identifies several separate security behaviors, including phone revocation, normal disconnect handling, and bond limits. Done means removed phones can no longer connect and ordinary disconnects do not erase bonds; pairing limits and the separate issue linked for Just Works pairing also need review.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
- Revocation doesn't work. On ESP,
RemovePairedPhone/ClearPairedPhones
(boards/esp/src/lib.rs:80) only edit the in-memoryPAIRED_PHONESlist,
which nothing on ESP uses for authorization. The real credentials (LTKs in
BondStoreflash plus the controller filter-accept/resolving lists) are
untouched, so a removed phone still connects. Remove the bond via
stack.remove_bond_information,BondStore::remove_bondand
remove_bond_from_controller(all exist inble/transport.rs), and drop the
separate registry or make it the source of truth. - Just Works pairing and the boot-time window on buttonless boards: https://github.com/OpenCarControls/firmware/issues/18.
- Auto-heal is too aggressive.
ble/transport.rs:521treats
REMOTE_USER_TERMINATED_CONN(a normal phone disconnect) as a security
failure, so any disconnect during the pairing window wipes that phone's bond. max_bonded_phonesisn't enforced on BLE bonds (the store is hard-capped at 8).- Later: LTKs are stored unencrypted in flash (flash encryption).
- Lenguaje dominante
- Rust
- Estrellas
- 1
- Forks
- 0
- Merge medio
- 13 h 37 min
- PR fusionados (30 d)
- 8
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Sin 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 OpenCarControls/firmware
-
Refresh stale docsAbierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 67/100
OpenCarControls/firmware#35 ·
Los mantenedores suelen responder en 1 día
-
Clean up E-GMP leftoversAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
OpenCarControls/firmware#34 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
OpenCarControls/firmware#31 ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
OpenCarControls/firmware#30 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
OpenCarControls/firmware#57 ·
Los mantenedores suelen responder en 1 día
Todos los issues de OpenCarControls/firmware
Issues similares
-
area: config effort: S good first issue P3 type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
ferenyl/azuredevopstui#63 ·
-
needs-triage O-Arm T-libs
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
bug CLI config mcp
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
documentation good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
yunaremaia/sandbox-ffi-layers#56 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
git-ai-project/git-ai#2434 ·
Los mantenedores suelen responder en 1 día