From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (NAM04-MW2-obe.outbound.protection.outlook.com [40.107.101.52]) by mx.groups.io with SMTP id smtpd.web11.89999.1674255552086575914 for ; Fri, 20 Jan 2023 14:59:12 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@nvidia.com header.s=selector2 header.b=kBHjK1u0; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: nvidia.com, ip: 40.107.101.52, mailfrom: jbobek@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HsugccFvZ5oQxKjkGlUS7Unsk8HvhDd7IRlTPvQTcw+dpdDbblYb4CIG6SsPabg0oCsABLbXeJmE+ZHkAu1Q5R6ZfpfMkeQTaEL0AVOZnGKNl1F56WXHXPjUtpGdSaawBIFOs3Qvg4BhFIRdp/cOvArdsSIJ5QsgWOhDH/84BWlEGBkKRV49L6AufErQ0xW5nhlgFK2BVMS8T8hmtQLngHloz1ceMW51/ePI3Bm9DrchiFAmlzg44SpEsH0EBGgARiD68VFjGkEZRAZPK5Su36xHdSGEIZlJkBhSisaFcnGQnUBCgkrQya41IvvWgYU9zTD/mCiq+zvdKCNslvvCPA== 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=nAbA0hErXrJC0ksrQ44m2zJEfggX1+WICduM0r5XjdA=; b=HmiP6UbLXl863mvlCvznu6Q60ld2WdpD89GFEO2upwZ3TZNF+YKduICYia8FhpnpnNSqntLdkywglwLBXWa9l/aSJTLcSWUowfFTGqKL8BVGTYLJcSdw01KpoutM6txrocuiZmvcsdj1a7soFfkBiZEXD+yrBekIy7aUDhfGI2ZdEYXWpVZeK4OBnkQ24WVXPsJu6SlFoJZle0EzRQ/zXAIXpN0CW/JgbGePh4PJCvHZZJc3YYNvDbi3r6lkGWOiata+GvchG2Pt/V2/gep82PBX8bnA81D9uDY8W3PkjDoswLDls1EG+1RR4XJoK/ioI7wCrI+p4OC5pzrikqpmYw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nAbA0hErXrJC0ksrQ44m2zJEfggX1+WICduM0r5XjdA=; b=kBHjK1u0IUS1nixjbJQVBdryd7PmL+s2L1cEhAGs8/8+6uOOT0JPQiJOwez+Ad9W15893jhCZoAXfbK3XsuyZUoZYYtMvRegasjM0yrFnHL9h7lb4oGlevTLvhQi2tUABggPxGVsZ25yrEVj9OYZfve17vAPjKOaEzJSwdAlDTVmDzE63dDfysfFI92k7wwdWGOsJTZlWYKltXXVkCfzOwqRt9ehI7ed3efN0JbCndtxIBlUQt3Sg7nqoHUbkSufFOU/hCkSyjfh9BLrXqZlwdarq0fIMSgxF3jV5wvYEmIIrWGI6zl7mXLrXQ9FrNtWD0ENm9t10uYmTk7x38Zi/A== Received: from DS7PR05CA0022.namprd05.prod.outlook.com (2603:10b6:5:3b9::27) by BY5PR12MB4322.namprd12.prod.outlook.com (2603:10b6:a03:20a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.27; Fri, 20 Jan 2023 22:59:10 +0000 Received: from DS1PEPF0000E638.namprd02.prod.outlook.com (2603:10b6:5:3b9:cafe::22) by DS7PR05CA0022.outlook.office365.com (2603:10b6:5:3b9::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6023.17 via Frontend Transport; Fri, 20 Jan 2023 22:59:09 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by DS1PEPF0000E638.mail.protection.outlook.com (10.167.17.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.11 via Frontend Transport; Fri, 20 Jan 2023 22:59:09 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Fri, 20 Jan 2023 14:58:58 -0800 Received: from jbobek-titan.nvidia.com (10.126.231.37) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Fri, 20 Jan 2023 14:58:57 -0800 From: "Jan Bobek" To: CC: Jan Bobek , Laszlo Ersek , "Jiewen Yao" , Jian J Wang Subject: [PATCH v1 4/4] SecurityPkg: don't require PK to be self-signed by default Date: Fri, 20 Jan 2023 15:58:35 -0700 Message-ID: <20230120225835.42733-5-jbobek@nvidia.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230120225835.42733-1-jbobek@nvidia.com> References: <20230120225835.42733-1-jbobek@nvidia.com> MIME-Version: 1.0 Return-Path: jbobek@nvidia.com X-Originating-IP: [10.126.231.37] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0000E638:EE_|BY5PR12MB4322:EE_ X-MS-Office365-Filtering-Correlation-Id: f58a9f44-5700-4bb5-52e3-08dafb39f0bb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DX/bP5ir6ivme9kzn7XVth3rsnom3srV+9X6dVKCKQYb7BiFHDm7VUItfK9V0IHJrZ7Mge4p790amxNbiGBevvrvE2RUok9NR7lCbl8QddJ9CbEgMGPu24lEOmSx7iZ16SRj02TZRe4oVDfU2afZpf3ATCNJzFGPLLMIXnKWc8eTKV5Pb67fZfhBdKl4bWZP2BoQ61faq1UBq7+XSnxbd+eCZKgLmvd2gaPDU8vztUjLecIN2j2nJ4evi/L0T+WY3wdN0tdedo19NRZMp3Vp+8pTbGQJIgfcKmmK3stPb0sUouBcRvvyEW83UH9ATF5PnwiOQmramtIrfrpr5t03NwevwLPI0vmXqHFw1HBpzhLvUZ+8169kQ3sFdDBXaraSbqxltRpvj0rP7NXkic8NGGNVJBPrNya1SWMLw+9BhaXpnHRzfGhwvPI3L30uDmMjDtjsb8pX5DempxMjYKL08tkzxiF2F5D1ospswddYsp1AaxVhsPUVSzvOiuFT+ktW/C5uyohmWzEkM1SJRNSZnRJAjNWoqcHvOV//SjKPw8/LRd3aflFdKWSIrUMQbRpUXKDXq8e+lLA492gztURKO2sbNCGLXbxP9SgeSYDxwinDu+tAdjU31xr0KCJm5RIg8l9Y2OWGe6tLXmcN+I1V/H+bLufn58dh+MfpMM7SY/1VpHlMmc99ifJ3/sCy46k0qtqBuTwJT8eP6DzG76jXH8U8hmoQljJmR9Ts/P309CbCsVCS/DtVO67wt1S3NFik X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230022)(4636009)(39860400002)(346002)(396003)(376002)(136003)(451199015)(36840700001)(46966006)(336012)(478600001)(40480700001)(36756003)(86362001)(356005)(316002)(966005)(54906003)(47076005)(70586007)(7696005)(6916009)(5660300002)(8676002)(8936002)(4326008)(41300700001)(70206006)(15650500001)(36860700001)(7636003)(186003)(1076003)(82740400003)(426003)(16526019)(2906002)(26005)(83380400001)(2616005)(6666004)(82310400005);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2023 22:59:09.5299 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f58a9f44-5700-4bb5-52e3-08dafb39f0bb X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0000E638.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4322 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2506 Change the default value of PcdRequireSelfSignedPk to FALSE in accordance with UEFI spec, which states that PK need not be self-signed when enrolling in setup mode. Note that this relaxes the legacy behavior, which required the PK to be self-signed in this case. Cc: Jiewen Yao Cc: Jian J Wang Signed-off-by: Jan Bobek --- SecurityPkg/SecurityPkg.dec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SecurityPkg/SecurityPkg.dec b/SecurityPkg/SecurityPkg.dec index d3b7ad7ff6fb..0382090f4e75 100644 --- a/SecurityPkg/SecurityPkg.dec +++ b/SecurityPkg/SecurityPkg.dec @@ -585,7 +585,7 @@ [PcdsFeatureFlag] # TRUE - Require PK to be self-signed. # FALSE - Do not require PK to be self-signed. # @Prompt Require PK to be self-signed - gEfiMdeModulePkgTokenSpaceGuid.PcdRequireSelfSignedPk|TRUE|BOOLEAN|0x000= 10027 + gEfiMdeModulePkgTokenSpaceGuid.PcdRequireSelfSignedPk|FALSE|BOOLEAN|0x00= 010027 =20 [UserExtensions.TianoCore."ExtraFiles"] SecurityPkgExtra.uni --=20 2.30.2