From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id QLGaBUBNaGfxdAEA62LTzQ:P1 (envelope-from ) for ; Sun, 22 Dec 2024 17:32:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id QLGaBUBNaGfxdAEA62LTzQ (envelope-from ) for ; Sun, 22 Dec 2024 18:32:48 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=planete-kraus.eu header.s=albinoniB header.b=hhXgdJ96; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=planete-kraus.eu ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734888767; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Cx33grlrXGFLelWsHdApi3zOEGeX5ihT/OZzfmZfXiQ=; b=hEN2ed5Gw2veJoNmAlNpvy3bvl34TdenXEhBWi3VCaC6AR6vP+KJEmsaLo9XuLUPWWlrsE HIYPKd4gmS0f8pBvX4+ypu/mwCrz9k8eSaNsZTYcQBsY9csgS6j9x9Os7SnQpd5FMzwfQR 6gLcpRXK9BGB9EA+UPGU//nv2HqOTLRYGwSXKttwk2+vdn/EX8U7QASykk+3YIpcJ8DIoM Edk/4hwOUgiXin906yB0Cd1Ct1KLeJyW/GNuD98mAwYnl/y1knkPNdgecGOJa29e/Q8c4I DGLPOQvFtXqgp0OdGM3b0qfrfyt3Bpd3etTSGd7ESEL8tsTW3soTCjhbrBkX4g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=planete-kraus.eu header.s=albinoniB header.b=hhXgdJ96; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=planete-kraus.eu ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734888767; a=rsa-sha256; cv=none; b=HY4gocMz06Qr1a2Ez1fSBVICChWP6FiOD/SPxgVyMO8ltXberHhpVLfSoRuIl5wMOAfPJ6 iaeEG7LqHCHXUl6tPVKuk7isis1msEpKmz8oXxv54WMhhyjJ9gUn7hNchOHmhSYCbYt6gy wGZ2OXKEC1DVIkk14DNpMkQAt8PpETiZ4vlhUIrXTkNt+jhtGcu8eNCo/imXVa4NIvMTo+ gn7PFZ8PPj5swbvUvccXsmuBtRONfchYM2l3xmHXGWpSkfZ3OIMi5z4N523euBB9oxBkht mo+nnAcWANCAeS1Sdty+TBvl9RGRcgM25XhBJDMjlwsGsmk7tnqfrHewdzsFCw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D776DA1886 for ; Sun, 22 Dec 2024 18:32:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPPoO-0000Vp-Ai; Sun, 22 Dec 2024 12:32:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPPoK-0000VT-21 for guix-devel@gnu.org; Sun, 22 Dec 2024 12:32:13 -0500 Received: from planete-kraus.eu ([89.234.140.182]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tPPoH-0002Zv-Ol for guix-devel@gnu.org; Sun, 22 Dec 2024 12:32:11 -0500 Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id a761e4dd for ; Sun, 22 Dec 2024 17:32:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:subject:from:to:date:content-type :content-transfer-encoding:mime-version; s=albinoniB; bh=cE/9gTz fhG9b5/xcQn5dd2ahHLU=; b=hhXgdJ96gl2sxvxzr73akKU4xQEO7zgaZ4yHWzE PjpJw1K08mUWL+GamrErQ0ziFXFluhAbeIUfEePN3ciM5hSIcry7tKIaR+eoMpao j069JuaDG/KElP95cJU97JybMAl97SOWgnsWg6FPhRL1PMDO9oA8RXYapjTIU3Kp ztAHlWCYyZPnp/WbJHvgbd8bxrhxg+3x6cB+CX3cxZmA+HnnctML5XVocYchqnOn IJn0PTqRc2pfHXrVRua7JBVxbbUy4DEhBjyBOgo2eRD/YtKM99atS6YoU6EWLgzA fpgZkp5xgfJ4NZQUXOq3Xp3qRu3BAJOhmNtrhwShm+Dolfw== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 1a3c13ac (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for ; Sun, 22 Dec 2024 17:32:01 +0000 (UTC) Message-ID: Subject: Grub disk decryption with key file on another device From: Vivien Kraus To: guix-devel@gnu.org Date: Sun, 22 Dec 2024 18:31:59 +0100 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 MIME-Version: 1.0 Received-SPF: pass client-ip=89.234.140.182; envelope-from=vivien@planete-kraus.eu; helo=planete-kraus.eu 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_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -7.22 X-Spam-Score: -7.22 X-Migadu-Queue-Id: D776DA1886 X-Migadu-Scanner: mx10.migadu.com X-TUID: /uy5Q5KMr/6x Dear Guix, I have a fully encrypted disk: it has an EFI partition where I install grub-efi-bootloader and the rest is a single-partition luks device (including the grub configuration /boot). I also have another disk that I can partition however I want. I would like the other disk to store a key file to decrypt the main disk. Is this possible? I see in the manual that grub can be configured to load a CPIO archive containing the key, but from what I understand, the cpio archive must be in the root file system, which is encrypted in my case, so it does not appear to solve the issue. Or can I somehow instruct grub to load it from another disk? Best regards, Vivien