From patchwork Mon Nov 21 15:03:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitri John Ledkov X-Patchwork-Id: 1707419 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=mWY5L1rR; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NG9d658Zwz23nZ for ; Tue, 22 Nov 2022 02:03:38 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1ox8KZ-0001Bl-N0; Mon, 21 Nov 2022 15:03:31 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1ox8KY-0001Be-6O for kernel-team@lists.ubuntu.com; Mon, 21 Nov 2022 15:03:30 +0000 Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id F28FF3F0BA for ; Mon, 21 Nov 2022 15:03:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1669043009; bh=gC3JVW5l45aJGug1lFFigJaouN9vk0Fmm6DQAY2Yreo=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=mWY5L1rROSoJyPgZhLjzxoYp4S1LgzOvJBa3g6Ctnwtp1XY/8xC1fgMTdViDHUhxp gE7zcYWMFRvCRKOsNMoHSlYU7G3DMMBU3tfZa3uhBULPxMpwMEpRXU/NFYHTtmkZEU j6CghYBmF4q0xbIU7c31X0rXxcOSNnP0MObqj4r8GX3S5jNbwQk022190DaKQIDNVL X6bdDa2Mvnz6spJLI5AMWmQV1PWTIQAglkA+hHwJTJ/sqjbfIVlllKQDpDFuN1mPmm 8JCKHj/IG0lX0qJjJu70oGOb4bnDCGbSHUKD9VO5FrAUDKETwojLQKYpYYDyqMOCou Sijn1emCMkupg== Received: by mail-wm1-f70.google.com with SMTP id ay19-20020a05600c1e1300b003cf758f1617so9416684wmb.5 for ; Mon, 21 Nov 2022 07:03:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gC3JVW5l45aJGug1lFFigJaouN9vk0Fmm6DQAY2Yreo=; b=uytAMCfxqgDJofM6Pb0gWuolmpOFWerX1YHK2jCMrO2t3h7pmQwtW0GHRaO0t6uq/p D68vB9WuGJ6NGCLv8olPYeE702n8qtvvPYaRZ/WrZCU6QRgD33zskNCOW6qAc6fw/lWo AOL0Kk+t+zqPPekuIQJ6wM0DQf7YspSI1stjQ0FEAFfaiIzSYqHC1lLmK7CS7196pBvl tNSEwCsM9VK4bQ3VVbJ946gRbM4rIJkGKk/WFtXRBncW26ssrF+jB4alLopFfA+QsXiI dDWvnfb1dAbCXLGSET9EQgIH10N3Zbk7cma63U+5XM/gMv2BGJhXKXSgJ4w2Apz/rCOL TMPQ== X-Gm-Message-State: ANoB5plAnt13Xiw6/PWwuWiENDZxb4KF/YReDpi21H8p4uCaeaENeBRz qCNAoTyk0dXXlKYO+6jhuCMBg9xl9KcfDJ1HqyeDjO7Dt8Wb90bjmjC71izPNxrj3JOInfgn2aq PbN8+BPWUxrKHCAF32L/LMcOn2XUS8R2C4EwKssSIXQ== X-Received: by 2002:a05:600c:1e02:b0:3cf:5bd9:68a1 with SMTP id ay2-20020a05600c1e0200b003cf5bd968a1mr6941527wmb.113.1669043009248; Mon, 21 Nov 2022 07:03:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf6jzJ0vbD4qcjCr06C0VZ85fzamHXLbCNTtDGEC8DxtCvPo8RFpO5VuWkBU6AQXuEBsDDGSeA== X-Received: by 2002:a05:600c:1e02:b0:3cf:5bd9:68a1 with SMTP id ay2-20020a05600c1e0200b003cf5bd968a1mr6941509wmb.113.1669043008986; Mon, 21 Nov 2022 07:03:28 -0800 (PST) Received: from localhost ([137.220.91.195]) by smtp.gmail.com with ESMTPSA id n128-20020a1ca486000000b003c70191f267sm18573832wme.39.2022.11.21.07.03.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Nov 2022 07:03:28 -0800 (PST) From: Dimitri John Ledkov To: kernel-team@lists.ubuntu.com Subject: [linux-meta][K][L][PATCH 0/2] Check if EFI signatures are revoked at build time Date: Mon, 21 Nov 2022 15:03:22 +0000 Message-Id: <20221121150324.1304110-1-dimitri.ledkov@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1996955 If built-in revocation certificates information is known, verify if freshly signed EFI binaries are revoked. This prevents accidentally publishing signed kernel packages that fail to kexec/kdump under secureboot. Will be active only if both https://bugs.launchpad.net/bugs/1996892 and this patches land in a given kernel. Dimitri John Ledkov (2): UBUNTU: [Packaging] Check if EFI signatures are revoked at build time UBUNTU: [Packaging] Add EFI signed flavours buildinfo build-depends debian/control.stub | 2 ++ debian/rules | 15 +++++++++++++++ 2 files changed, 17 insertions(+)