mirror of
https://github.com/bitwarden/android.git
synced 2024-11-24 10:25:57 +03:00
PM-11354: TDE unlock since we already have the correct key from the identity service (#3835)
This commit is contained in:
parent
0676cf8826
commit
522e3bb939
2 changed files with 0 additions and 5 deletions
|
@ -554,7 +554,6 @@ class AuthRepositoryImpl(
|
|||
)
|
||||
}
|
||||
|
||||
authDiskSource.storeUserKey(userId = userId, userKey = asymmetricalKey)
|
||||
vaultRepository.syncIfNecessary()
|
||||
return LoginResult.Success
|
||||
}
|
||||
|
|
|
@ -1346,7 +1346,6 @@ class AuthRepositoryTest {
|
|||
)
|
||||
vaultRepository.syncIfNecessary()
|
||||
}
|
||||
fakeAuthDiskSource.assertUserKey(userId = USER_ID_1, userKey = asymmetricalKey)
|
||||
assertEquals(LoginResult.Success, result)
|
||||
}
|
||||
|
||||
|
@ -1392,12 +1391,9 @@ class AuthRepositoryTest {
|
|||
organizationKeys = orgKeys,
|
||||
)
|
||||
}
|
||||
|
||||
coVerify(exactly = 0) {
|
||||
vaultRepository.syncIfNecessary()
|
||||
}
|
||||
|
||||
fakeAuthDiskSource.assertUserKey(userId = USER_ID_1, userKey = null)
|
||||
assertEquals(LoginResult.Error(errorMessage = null), result)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue