From 11860f29846accb3e44f5a93eca964d7239261b4 Mon Sep 17 00:00:00 2001 From: David Drysdale Date: Tue, 13 Apr 2021 17:22:13 +0100 Subject: [PATCH] Disable KeyMint -> IRemotelyProvisionedComponent test Not required yet. Test: VtsAidlKeyMintTargetTest Bug: 186586864 Change-Id: Ie8fecc4ea4795d7fa4fd6bcf0e6d8013c15f50e5 Merged-In: Ie8fecc4ea4795d7fa4fd6bcf0e6d8013c15f50e5 --- security/keymint/aidl/vts/functional/KeyMintTest.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/security/keymint/aidl/vts/functional/KeyMintTest.cpp b/security/keymint/aidl/vts/functional/KeyMintTest.cpp index 5a87b83854..9797e0e0e7 100644 --- a/security/keymint/aidl/vts/functional/KeyMintTest.cpp +++ b/security/keymint/aidl/vts/functional/KeyMintTest.cpp @@ -945,8 +945,12 @@ TEST_P(NewKeyGenerationTest, RsaWithAttestation) { * * Verifies that keymint can generate all required RSA key sizes, using an attestation key * that has been generated using an associate IRemotelyProvisionedComponent. + * + * This test is disabled because the KeyMint specification does not require that implementations + * of the first version of KeyMint have to also implement IRemotelyProvisionedComponent. + * However, the test is kept in the code because KeyMint v2 will impose this requirement. */ -TEST_P(NewKeyGenerationTest, RsaWithRpkAttestation) { +TEST_P(NewKeyGenerationTest, DISABLED_RsaWithRpkAttestation) { // There should be an IRemotelyProvisionedComponent instance associated with the KeyMint // instance. std::shared_ptr rp;