From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (NAM11-DM6-obe.outbound.protection.outlook.com [40.107.223.93]) by mx.groups.io with SMTP id smtpd.web10.450.1681962549428295191 for ; Wed, 19 Apr 2023 20:49:09 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="no key for verify" header.i=@amperemail.onmicrosoft.com header.s=selector1-amperemail-onmicrosoft-com header.b=OiyiAMIW; spf=pass (domain: os.amperecomputing.com, ip: 40.107.223.93, mailfrom: nhi@os.amperecomputing.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GWQu7osgPR5IYlIbxUiBE2KHVnwxWgKoJwkAPvszLZWepV6Z6bkTogHBVOXidJPbhziwvTL0RW+tzej+y5oyeRT9BV/LrnN0KVxrGrMhS+m5FrH0FxwhX+DmFU27LUGwbrHJfUYohduirhRcfeeLCLMRzsXfqH4+RuuVAxLWYE1pKAHkkvzNHUeua8ov4F0T1u5+LQ3bqSHMZEvoiTt31kd0iGNBsgx+WBXIaKjOro4Z7yNpn9XNNrRXkMCQvYstxOhuJuelZSQFVAob7dd992vsyjWmhYa17EOyr9EZfrAnk1Bi+HxgEZG7qydbNPwrn3eC4cS8O8Oq7B/pp46QFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OySeQMowQP4Vr3vinwbmc0/BCepg/4G1gP88uFM4tFs=; b=Oonuzp+/5dsMPK9Kov1+AXD4+aqZrLRwd38AUWPTaCXPumlBt3zPbslrx3YsZ2LbR2CzbGlAcYa84JHfUgiRBmV25RJUWy0aNBW+kW+II1ivY7vckleUUOQ4jiGoj3Znx5elmtZw6j2AzhwHCDcYzgqCsEv6UCCl5AYCsl9+uzv1DCmOSP/DDppATmslDdx2no3gTrysXeil7g6oxsJZSeop7WAZ3pT/x/AlUTVJY4j1/0MrlCGy8ImNkwjTbah1jhQO8brBbaKA602KbYmwS6IalCKejM4IT+GkO1AJfJW0UimkklkxEdy6+ypvQA7DcqmmvNPeJtlBElQsZracPQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=amperemail.onmicrosoft.com; dkim=pass header.d=amperemail.onmicrosoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amperemail.onmicrosoft.com; s=selector1-amperemail-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OySeQMowQP4Vr3vinwbmc0/BCepg/4G1gP88uFM4tFs=; b=OiyiAMIWDTkq45mkp+3sUsccsrtIPM1nNSvJ4vbPlq6sryJy+g7BIEInuUNNLOk/Wltu8hpfR43WGMu4Ue1kI0nk4KZcwMGIHPzV/klZGYn+jAGniaoRvKln3tKL+0aWBAnkq7zUg24HFYKYqoaRA95no0Lu6f/37n+DtlTbffg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amperemail.onmicrosoft.com; Received: from PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) by SJ0PR01MB6143.prod.exchangelabs.com (2603:10b6:a03:296::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.9; Thu, 20 Apr 2023 03:49:05 +0000 Received: from PH0PR01MB7287.prod.exchangelabs.com ([fe80::4904:fc7d:35e6:f99]) by PH0PR01MB7287.prod.exchangelabs.com ([fe80::4904:fc7d:35e6:f99%7]) with mapi id 15.20.6319.019; Thu, 20 Apr 2023 03:49:04 +0000 Message-ID: Date: Thu, 20 Apr 2023 10:48:55 +0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [edk2-devel] [PATCH 1/1] SecurityPkg/DxeImageVerificationLib: Add AUTH_SIG_NOT_FOUND Action To: "Xu, Min M" , "devel@edk2.groups.io" , "nhi@os.amperecomputing.com" , "Yao, Jiewen" , "Wang, Jian J" Cc: "patches@amperecomputing.com" References: <20230412092149.138221-1-nhi@os.amperecomputing.com> From: "Nhi Pham" In-Reply-To: X-ClientProxiedBy: SI2P153CA0033.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::21) To PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) Return-Path: nhi@os.amperecomputing.com MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR01MB7287:EE_|SJ0PR01MB6143:EE_ X-MS-Office365-Filtering-Correlation-Id: 0e5efb21-9d99-4451-64be-08db41522f95 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8rG1T74av2gRKkz6ga7jiJT3P7pBvzG5lf+6MpsWhtY6dhd6NonPoIbgbi9MukrjO0TzK6iNihvF6BSdkX0e+Lmxxe4N1SsEyq9AAzFGefw4N74g0dbNSzCQF+bspPF8PhXskhLcqrYybKAp3jta1Ui5vG6BKP+0+VO+AGlixWEyifN0yyMVmM4FurYT8p1oNWvyvO4n1WXVmLGq1dyxpzb/RAnhINJZ5DEjXFOlXcciTHB9NDD7KJsJSveErtcVfkL+5gWSN8+pIt5KbKiRcMTLFEMNvKTZRWBvOBzUJ7KM2lV0AOjrvQlEe2BaSwSTrknp3X7RnmRVuOiMJQTmcaewmfz1JmsLZ6NL+oMTDetCj4nG5IFSD/ov2AH1LNj4Zpq34mFez+ZuoU88vvdw7XzgJmfkN6RP4Tk7+W0dZEigFwp3/0Hr+gTYRGJvoNz2fTmCIFJaOR2l0m70pFZsDIj+52HSTze7Mcicyyp/GXpNwYZmIF9+uFVXnHmiQ2Kroi9ytgaRa6cnc7yWz8Zmqn7B+kMW/R6Ir5igxYRpZybw0kgzcbFiPBEQ+hZfKbE9rSbhBaUwyRB1GYlN83THvCzn5g5mKv4gsEpQbYFI2ZQ= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR01MB7287.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(39850400004)(366004)(346002)(376002)(396003)(451199021)(83170400001)(31686004)(6486002)(31696002)(316002)(42882007)(83380400001)(38100700002)(2616005)(107886003)(66946007)(6506007)(6512007)(110136005)(53546011)(186003)(26005)(6666004)(966005)(478600001)(15650500001)(66556008)(66476007)(4326008)(8936002)(8676002)(41300700001)(2906002)(4744005)(5660300002)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SDVQNFVqbVZDb2tTVjM1cW03MTJVNldQbDIzcGk3WktrekRqQUNvYU93WTNp?= =?utf-8?B?cWsrbWJWL0UwQVN0WUFibGdjYXZHdEQrdEswRForYzQxUGJwdzlRRGo4R1Jj?= =?utf-8?B?bkw2SnMxWlJnamcyK3VmVzErZTNHcU9CZDg1dW9ONkwzK0NOWjhlUEN5dGRH?= =?utf-8?B?UjNCS0Q5S1RNUE1SZXVQT2V5Zk1NMkhwcXlIWUFKVEVsczE4b1FyN1ZmY29o?= =?utf-8?B?QlBFNjdrZFJ0YmFNbWFuVDhUWEdnTVBQRUF3c1JnM3FWSkxqdmZBSDM1Vm1i?= =?utf-8?B?Vm5hWWNzTVJ4N0N2bjN0a3RaaTdXSWpCczN1SVNmbVFwOXI1NGlJUHNxdHpL?= =?utf-8?B?OVRmdEE4MGcwbkpETEE0WGxjb2t1S0VJZHVXYzJNajJVNWs5VTFUUXIyTUxT?= =?utf-8?B?bjZJQ0JpQXBwak9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change-CrossTenant-Network-Message-Id: 0e5efb21-9d99-4451-64be-08db41522f95 X-MS-Exchange-CrossTenant-AuthSource: PH0PR01MB7287.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2023 03:49:04.8364 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 1LULFwdL2PYR6x5ryWU7CcvVlTscFUjH4qqn6uFbmFQ9JotkpXop98yskhmZvlMhEbvmfre13SwDiXQ782YZBSPHrcIdj63u35hV4g2t0IU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR01MB6143 Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Min, This SEI test passes: SecureBoot - TestImage2.bin in Image Execution Info Table with SIG_NOT_FOUND. -- PASS 00C3C2F2-39D5-4D35-B7E7-587CA0F3CB75 SctPkg/TestCase/UEFI/EFI/RuntimeServices/SecureBoot/BlackBoxTest/ImageLoadingBBTest.c:1103:Status - Success The test image binary is different to the one in the commit message due to some bug fixes in the SEI test suite. The right test case to catch this bug is 00C3C2F2-39D5-4D35-B7E7-587CA0F3CB75 You can check the test code at https://github.com/ARM-software/bbr-acs/blob/main/bbsr/sct-tests/SecureBoot/BlackBoxTest/ImageLoadingBBTest.c Thanks, Nhi On 4/19/2023 6:20 AM, Xu, Min M wrote: > On Friday, April 14, 2023 1:18 PM, Nhi Pham wrote: >> Hi, >> >> Ping for reviewing. >> >> Let me know if I need anything for this patch. > Do you test the change and what's the test result? Can you provide the validation result? > > Thanks > Min