Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e94375a8 authored by Annie Meng's avatar Annie Meng
Browse files

Invalidate existing keys when platform_key_generation_id is set

setPlatformKeyGenerationId() is called when a new key is generated.
Invalidate previous keys for the user by setting their recovery status
to RECOVERY_STATUS_PERMANENT_FAILURE.

Bug: 131214837
Test: atest RecoverableKeyStoreDbTest
Change-Id: I0333f1f715d9e3a41c9cc9a957faff1e0b2d6537
parent 1e09d0e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment