mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Expand Gatekeeper test
Try verifying a previous enrollment after replacing it with a new enrollment. This used to succeed when using in-memory records, but should fail. Bug: 160731903 Test: build, run Change-Id: Ibe3c86c9b8b6afb7d2941c6805416817d7b76f21
This commit is contained in:
@@ -306,6 +306,8 @@ TEST_P(GatekeeperHidlTest, UntrustedReenroll) {
|
||||
if (first != nullptr && second != nullptr) {
|
||||
EXPECT_NE(first->user_id, second->user_id);
|
||||
}
|
||||
// the old enrollment should be invalid now
|
||||
verifyPassword(password, enrollRsp.data, 0, verifyRsp, false);
|
||||
ALOGI("Testing Untrusted Reenroll done");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user