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

Commit a1077c5d authored by Ellen Arteca's avatar Ellen Arteca Committed by Automerger Merge Worker
Browse files

Merge "Mitigate LSKF leaks in RecoverableKeyStoreManager" into main am: 4857d701

parents 284f4ffb 4857d701
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1082,7 +1082,8 @@ public class RecoverableKeyStoreManager {
            int keyguardCredentialsType = lockPatternUtilsToKeyguardType(savedCredentialType);
            try (LockscreenCredential credential =
                    createLockscreenCredential(keyguardCredentialsType, decryptedCredentials)) {
                // TODO(b/254335492): remove decryptedCredentials
                Arrays.fill(decryptedCredentials, (byte) 0);
                decryptedCredentials = null;
                VerifyCredentialResponse verifyResponse =
                        lockSettingsService.verifyCredential(credential, userId, 0);
                return handleVerifyCredentialResponse(verifyResponse, userId);