Engine/KeyResetUseCases

From the App

User compromised one key

Sole device

key_reset_lose_trust

Grouped device

  • if it is a group key:
    • dissolve_device_group
  • else:
    • key_reset_lose_trust

User compromised all keys

Sole device

  • key_reset_lose_trust

Grouped device

  • dissolve_device_group

Internal

Key needs to be replaced (short living, etc.)

Sole device

  • key_reset_move_trust

Grouped device

  • prepare_group_key_reset
  • key_reset_move_trust
  • send_group_key_reset

Device leaving device group

  • initiate_group_key_reset
  • key_reset_lose_trust

devices remaining in device group when reading initiate_group_key_reset

  • prepare_group_key_reset
  • send_group_key_reset

see also