services/core/java/com/android/server/locksettings/recoverablekeystore/PlatformEncryptionKey.java
0 → 100644
+62
−0
+3
−4
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This is so that when we persist them, we can tell that they were wrapped with a specific version of the platform key. This will be useful for us to provide error messages to the users of recoverable keys. (i.e., in the case where the user had an application key that was wrapped with a platform key that is no longer valid, they MUST rotate key.) Test: adb shell am instrument -w -e package com.android.server.locksettings.recoverablekeystore com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner Change-Id: I91569bcaf23b49d89a9caa9d313d9c93952b620d