Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1kODOE-0003KO-7u for mharc-grub-devel@gnu.org; Fri, 02 Oct 2020 01:13:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kODO9-0003HA-Eg for grub-devel@gnu.org; Fri, 02 Oct 2020 01:13:49 -0400 Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]:55003) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kODO2-00055H-0k for grub-devel@gnu.org; Fri, 02 Oct 2020 01:13:49 -0400 Received: by mail-pj1-x1043.google.com with SMTP id j19so148206pjl.4 for ; Thu, 01 Oct 2020 22:13:39 -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=N2wXalIbSE29q+bN+1B//c+xjytTDio3xbrdL2JKBfU=; b=PfwD9ywYEb2TpJky1QM6o3kCDwMNyM+Ov4mcEyaDwYqy+jfHlwogsgaRHvt3EvzWOT jVvKWlHrFWxVx4t6KGstV6X768QgsbaOwJI94Kg+HeErpavOCHw8ZnwOC9tae9Egucm7 bKaWGgsO15njHmx7KkVdAnXhdK8mK2Hr3q5aM= 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=N2wXalIbSE29q+bN+1B//c+xjytTDio3xbrdL2JKBfU=; b=pAMU12Gp/PSV5V/uhZXsTzQ/6F9103C5EpXv8DX6d3g3ain0C+/MiyYkOp8BmK52QG rVpqlLsshUyI9rYP5/gOez/uELQqUxwDjBysobnIUoHkcnvR8vjBS6WuqDc1vkpBbHhV sXD05VNOS7sqiLLwN4nHfor5UTg2MgVTS/sRchE6tarMawUbhuFW+oxsWVx2tkNJKoag lc9UIJSCfaRqgjlx8/BEF9asxlYqCTqjX8uQTtgGvB/S4OyrH9vBHNTYCsM+quCQNGPt 7XH6DRBKs6r1/WGPWiILoGqjeHmZhpz71vOkyOpqpYePhK02NEyg6nkhIf+/aIrPFXaV qe1w== X-Gm-Message-State: AOAM532XRNSSO/m7bUPnVncLwZNJeKmHv4ad6woh+SDlb6d/yUtpheDZ 9AlgE2QB/ulMjNNrV7bHEfht8rzjwPPMWw== X-Google-Smtp-Source: ABdhPJwVI6xcjAC7QsWBt9c3Yzh5yuujpqoXJeKrk91RoMjIBI+EAzLuCHSz0MD8Dj1HBc0KvY9h/g== X-Received: by 2002:a17:90a:b285:: with SMTP id c5mr866873pjr.44.1601615617792; Thu, 01 Oct 2020 22:13:37 -0700 (PDT) Received: from localhost (2001-44b8-111e-5c00-804e-30c2-4157-6268.static.ipv6.internode.on.net. [2001:44b8:111e:5c00:804e:30c2:4157:6268]) by smtp.gmail.com with ESMTPSA id e8sm333576pgj.8.2020.10.01.22.13.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Oct 2020 22:13:37 -0700 (PDT) From: Daniel Axtens To: grub-devel@gnu.org Cc: rashmica.g@gmail.com, alastair@d-silva.org, Daniel Axtens Subject: [PATCH 02/18] docs/grub: --pubkey has been supported for some time Date: Fri, 2 Oct 2020 15:13:05 +1000 Message-Id: <20201002051321.1538488-3-dja@axtens.net> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201002051321.1538488-1-dja@axtens.net> References: <20201002051321.1538488-1-dja@axtens.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::1043; envelope-from=dja@axtens.net; helo=mail-pj1-x1043.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: Fri, 02 Oct 2020 05:13:49 -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 bd72b589522e..327c1bd0f412 100644 --- a/docs/grub.texi +++ b/docs/grub.texi @@ -5822,15 +5822,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