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

Commit a795d5e3 authored by Shawn Willden's avatar Shawn Willden Committed by android-build-merger
Browse files

Require KM4 attestations contain the right version

am: 0f2b0966

Change-Id: I04801fc26713513d8d39a836e30545e148fd1f50
parents 95f20ea7 0f2b0966
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -308,7 +308,7 @@ bool verify_attestation_record(const string& challenge, const string& app_id,

    expected_sw_enforced.push_back(TAG_ATTESTATION_APPLICATION_ID, HidlBuf(app_id));

    EXPECT_GE(att_keymaster_version, 3U);
    EXPECT_EQ(att_keymaster_version, 4U);
    EXPECT_EQ(security_level, att_keymaster_security_level);
    EXPECT_EQ(security_level, att_attestation_security_level);