Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1npYfV-0001hq-Fk for mharc-grub-devel@gnu.org; Fri, 13 May 2022 13:01:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npYfQ-0001ey-Tu for grub-devel@gnu.org; Fri, 13 May 2022 13:01:30 -0400 Received: from mail-vs1-xe35.google.com ([2607:f8b0:4864:20::e35]:45780) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npYfO-0004xQ-Om for grub-devel@gnu.org; Fri, 13 May 2022 13:01:28 -0400 Received: by mail-vs1-xe35.google.com with SMTP id e19so8987808vsu.12 for ; Fri, 13 May 2022 10:01:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4M2eOsdAvyUyn/0mDpe/6RPP5yOwL9MFh1H3AbOhs0k=; b=DfcrPjLdht0omxHDnP7UG/3cLzHgOQ8Oq0uBpMNvYoemi4lJwAHwTlEVBzWI18Bopo XV+TzlO4ZG1/rqXEREpipQ11aZ/WWCWXcw8Gs4bu3CyCRQP4H7dh0cxvlkN4QrKyCskw zp+0tZLBNsmuyTFaUYVDOvSHu7cZjhaSt0wkxcMMh+oO2ZghAsTjPx0L67/EUcgQM8sB I+2WQk7O0NhlmaBHXoRQiYoE71ovL+FlJWiP+c6a2nhRHjQLSB4k1LPiZ8ElE0av6a1X m5WI9KpPHrzufzME1fsVyo9D0eFr/nBdn+depVNA6vu+tToPI2C2bdLEesIusupsbYVo TYmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4M2eOsdAvyUyn/0mDpe/6RPP5yOwL9MFh1H3AbOhs0k=; b=tRx8TvF8h5iOoAh+a3ECU+klX/tGmd5m3Jvjf12uuJWai6HkjN34QHslAWwOyC8lB9 YGTWP4wSUWtx1+xWoRIbK7KWvRIIe2ZGy/2n7ZWvCRzbbcFTFJfjSuJF5XVpcSG4Rd33 j+PLhJAV94BiN3SM+EWBgjn5+MsMmBTHvwMFn85I0kke+q8w8WU0ffYbK23QHkDnV9CV 3dRpAZ2yormV7Sr3lw/ClB32jKumobWbqEn+F+H9QpDRPfwTxmZlq7cLB8YY+VnIGbaM fooKksTwZjLA0kV9rycDohDExUMGQ2rI187xNWPl4x6jAbRM/3NRysFmgC1TITiv1j3G ZW3A== X-Gm-Message-State: AOAM531kHYzDrIIBeAdrtb+wjVDnV66+KpmsDAPrIgfszKQ08rkLRt1l M+yPW3cejq7sZWXBj+2BTZGiYppxFp076rZq X-Google-Smtp-Source: ABdhPJwnFD67UegosmMfSWdRlxBNEdP7bxrket/DTN66Dl+biM5nVKrfIbWyIVEoATc5qdFgkxO6EQ== X-Received: by 2002:a05:6102:6d1:b0:32d:35ae:f68e with SMTP id m17-20020a05610206d100b0032d35aef68emr2446795vsg.7.1652461285441; Fri, 13 May 2022 10:01:25 -0700 (PDT) Received: from localhost.localdomain ([37.218.244.249]) by smtp.gmail.com with ESMTPSA id g4-20020a1fe904000000b0034e6f1fd03esm346323vkh.8.2022.05.13.10.01.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 10:01:24 -0700 (PDT) From: Glenn Washburn To: grub-devel@gnu.org, Daniel Kiper Cc: Denis 'GNUtoo' Carikli , Patrick Steinhardt , John Lane , Glenn Washburn Subject: [PATCH v2 5/5] docs: Add documentation on keyfile option to cryptomount Date: Fri, 13 May 2022 12:00:51 -0500 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::e35; envelope-from=development@efficientek.com; helo=mail-vs1-xe35.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2022 17:01:30 -0000 Signed-off-by: Glenn Washburn --- docs/grub.texi | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/grub.texi b/docs/grub.texi index 50ef28edd..0a8057482 100644 --- a/docs/grub.texi +++ b/docs/grub.texi @@ -4490,11 +4490,15 @@ Alias for @code{hashsum --hash crc32 arg @dots{}}. See command @command{hashsum} @node cryptomount @subsection cryptomount -@deffn Command cryptomount [@option{-p} password] device|@option{-u} uuid|@option{-a}|@option{-b} -Setup access to encrypted device. If @option{-p} is not given, a passphrase -is requested interactively. Otherwise, the given @var{password} will be used and -no passphrase will be requested interactively. -Option @var{device} configures specific grub device +@deffn Command cryptomount [ [@option{-p} password] | [@option{-k} keyfile [@option{-O} keyoffset] [@option{-S} keysize] ] ] device|@option{-u} uuid|@option{-a}|@option{-b} +Setup access to encrypted device. A passphrase will be requested interactively, +if neither the @option{-p} nor @option{-k} options are given. The option +@option{-p} can be used to supply a passphrase (useful for scripts). +Alternatively the @option{-k} option can be used to supply a keyfile with +options @option{-O} and @option{-S} optionally supplying the offset and size, +respectively, of the key data in the given key file. + +Argument @var{device} configures specific grub device (@pxref{Naming convention}); option @option{-u} @var{uuid} configures device with specified @var{uuid}; option @option{-a} configures all detected encrypted devices; option @option{-b} configures all geli containers that have boot flag set. -- 2.34.1