Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1kXaiq-0000W6-DN for mharc-grub-devel@gnu.org; Tue, 27 Oct 2020 21:57:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXail-0000UX-V6 for grub-devel@gnu.org; Tue, 27 Oct 2020 21:57:51 -0400 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]:46043) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXaij-0007mb-NL for grub-devel@gnu.org; Tue, 27 Oct 2020 21:57:51 -0400 Received: by mail-pl1-x643.google.com with SMTP id z1so278863plo.12 for ; Tue, 27 Oct 2020 18:57:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axtens.net; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vAwV6zvX2PV+a6cVWQcnHynyDOjaFhxjTrpyb0N9nuo=; b=LZNUlFHZSL4a4NCLjxb53XGiBc565JRTFIc5eBsCdk82Lmq5+gakM0UHZmEygDFBVY Oscp4sm9nHwTXkS3bPsaQszfX2hHwSFnhCmGMXUktlMidPlj9rt/qc3ZpTS9HX7upIyS xbFYKqBSBAXaLkBDMBpa7R+ifNFExx6TnKQZI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vAwV6zvX2PV+a6cVWQcnHynyDOjaFhxjTrpyb0N9nuo=; b=dNX4MpwlwFqTYoRPDkt9cNSBfeBVIexCBoQSEHbT0yF6D/cJrL09oTLEdg7VKlXz1F Swaf+1V5mSzB9t0n5klgsUW6ilvLfT9jdNV18ikam8T8rBGxKWvZAX3AAItlCutODHwT l4Btiu7f3coGk5V5Ij+jfVQ5jF2rs2XAcey8myuemg+Q1zfKrEVgvACDQE7uF8Jj+954 g03ueSqMvihgJExtVwSRtOtnyMwKtR4gB7R5W4DsaYOz1n2MUNEX0IjYAchuwvtHu7vR Ywsp80njkURJtrm4aMMCvnAEEoBCSHIKIJWXiJNo/PQYAEK4xzVFwb7lNcza0ARY97e9 j7EQ== X-Gm-Message-State: AOAM531hPXErsV3qOApI83Fjx5TjxS0EJjyqzxP/riHfF2mMQ9dsz5Vj +e6k6XJ25UoDDCDb1XGmR8+olv7qxBdOPQ== X-Google-Smtp-Source: ABdhPJydd4gaLqjf4nuQfANe6C5NwZ8X7JNsrNMNHhNI4fQn0HnGyzuakX56e/17rXkD5ddPCi7uQQ== X-Received: by 2002:a17:90a:d584:: with SMTP id v4mr4824704pju.194.1603850267746; Tue, 27 Oct 2020 18:57:47 -0700 (PDT) Received: from localhost (2001-44b8-1113-6700-b4f7-e8d4-abaa-2197.static.ipv6.internode.on.net. [2001:44b8:1113:6700:b4f7:e8d4:abaa:2197]) by smtp.gmail.com with ESMTPSA id e2sm3543291pgd.27.2020.10.27.18.57.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Oct 2020 18:57:47 -0700 (PDT) From: Daniel Axtens To: grub-devel@gnu.org Cc: rashmica.g@gmail.com, alastair@d-silva.org, Daniel Axtens Subject: [PATCH v2 02/18] docs/grub: --pubkey has been supported for some time Date: Wed, 28 Oct 2020 12:57:19 +1100 Message-Id: <20201028015735.1131291-3-dja@axtens.net> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201028015735.1131291-1-dja@axtens.net> References: <20201028015735.1131291-1-dja@axtens.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::643; envelope-from=dja@axtens.net; helo=mail-pl1-x643.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2020 01:57:52 -0000 --pubkey is supported, so we can now document it. Signed-off-by: Daniel Axtens --- docs/grub.texi | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/docs/grub.texi b/docs/grub.texi index 6cbd753d12fd..6bac37728042 100644 --- a/docs/grub.texi +++ b/docs/grub.texi @@ -5821,15 +5821,9 @@ verified with a public key currently trusted by GRUB validation fails, then file @file{foo} cannot be opened. This failure may halt or otherwise impact the boot process. -@comment Unfortunately --pubkey is not yet supported by grub-install, -@comment but we should not bring up internal detail grub-mkimage here -@comment in the user guide (as opposed to developer's manual). - -@comment An initial trusted public key can be embedded within the GRUB -@comment @file{core.img} using the @code{--pubkey} option to -@comment @command{grub-mkimage} (@pxref{Invoking grub-install}). Presently it -@comment is necessary to write a custom wrapper around @command{grub-mkimage} -@comment using the @code{--grub-mkimage} flag to @command{grub-install}. +An initial trusted public key can be embedded within the GRUB +@file{core.img} using the @code{--pubkey} option to +@command{grub-install} (@pxref{Invoking grub-install}). GRUB uses GPG-style detached signatures (meaning that a file @file{foo.sig} will be produced when file @file{foo} is signed), and -- 2.25.1