Hidden album: verify the biometric-only key with Android key attestation

Aperta
#66 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
android, kotlin, python

Direzione di ricerca

Read android/feature/private/PrivateGalleryKey.kt, hub/cloudbridge_hub/private_keys.py, and docs/threat-model.md to understand pairing and existing key checks. Then investigate Android key attestation and the hub’s offline validation requirements, including behavior when a device lacks attestation. Done means the design, threat model, synthetic-chain tests, revocation handling, and two-reviewer security review meet the acceptance criteria.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

android backend difficulty: advanced help wanted security status: needs design

Context

The hub accepts the Hidden album public key at pairing but cannot verify that it is a non-exportable Keystore key
requiring a strong biometric per use and invalidated by new enrolments. It trusts the app. Android key attestation
would let the hub check these properties.

Acceptance criteria

  • Design: the app sends the attestation certificate chain at pairing; the hub validates it offline against pinned
    Google attestation roots and checks userAuthType, authTimeout, invalidatedByBiometricEnrollment,
    non-exportability and security level; behaviour for devices without attestation is stated.
  • No network calls from the hub (revocation list handling documented).
  • Threat model updated; tests with synthetic attestation chains.
  • Security review by two reviewers.

Pointers

  • android/feature/private/ (PrivateGalleryKey.kt), hub/cloudbridge_hub/private_keys.py, docs/threat-model.md
Lingua principale
Kotlin
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ft-dev-org/cloudbridge-oss

Tutte le issue di ft-dev-org/cloudbridge-oss

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.