From ea072d68819744614ac3f263fc8e542fa42450a7 Mon Sep 17 00:00:00 2001 From: Dionna Glaze Date: Tue, 9 Jul 2024 16:53:45 +0000 Subject: [PATCH] Skip old ABI tests for roots without them. --- verify/verify_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/verify/verify_test.go b/verify/verify_test.go index 58f7771..d678eb9 100644 --- a/verify/verify_test.go +++ b/verify/verify_test.go @@ -67,6 +67,10 @@ func TestEmbeddedCertsAppendixB3Expectations(t *testing.T) { // https://www.amd.com/system/files/TechDocs/55766_SEV-KM_API_Specification.pdf // Appendix B.1 for _, root := range trust.DefaultRootCerts { + // Genoa does not use the deprecated key format. + if root.ArkSev == nil || root.AskSev == nil { + continue + } if err := validateAskSev(root); err != nil { t.Errorf("Embedded ASK failed validation: %v", err) }