From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kOpuJQUuA2OGQAAAbAwnHQ (envelope-from ) for ; Mon, 22 Aug 2022 09:19:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oNV4JQUuA2NOlAAA9RJhRA (envelope-from ) for ; Mon, 22 Aug 2022 09:19:33 +0200 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 3B46D3D7D4 for ; Mon, 22 Aug 2022 09:19:33 +0200 (CEST) Received: from localhost ([::1]:35848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQ1id-0004Qz-Qs for larch@yhetil.org; Mon, 22 Aug 2022 03:19:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQ1iR-0004Qg-9A for help-guix@gnu.org; Mon, 22 Aug 2022 03:19:19 -0400 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]:41792) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQ1iP-0007yw-JP for help-guix@gnu.org; Mon, 22 Aug 2022 03:19:18 -0400 Received: by mail-ej1-x636.google.com with SMTP id gk3so19361334ejb.8 for ; Mon, 22 Aug 2022 00:19:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=hWl9iCVWMmZngMEZW85IqYzNrA1vreR8Ed96BxBZimI=; b=AwN6bmyyNS6dv4fGOh0y8aefC76QZSO8HZM4D6dauVFzScUcLH2vc90j4oX900O408 o2uVQADboZoJCgjz+Z0yGu2CFQq2AnGOUIl7xB1oJUefKitFJ5TvQbkjPLTx3L/1ERlf chadM1YEwM5RgfMRTRZR3HJRLBVQSbdr8DqXU3yuV6EOT/MqoPHSeJs3lChnnyjyhx92 atMCG/iYPryqj9tcQUE5zta+lXP8r4TryVwd7M7T7o7YigkNyR4O6UyOY1V2cyP9YoNl LjLdwie5NfaLIhIV4HsZF0jBljtgHvQdhYENUZrF3KDhaW/bumyCpn5lv9AKVqGdm7PB /8og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=hWl9iCVWMmZngMEZW85IqYzNrA1vreR8Ed96BxBZimI=; b=g66u3iB+6RYgvss42Mu+vm8qjS/DesSVovqfwGtAK2Xh3Jamk1CsmK8Mvl3wB8aGeA vas8W5Z1BoW6jcsClT67BCTD9vbWBzIzH4jhCBpIWOqvkzsRNs0lBNrdUi+u1BFUFf/M RBH0LIf1nOy8lyahJ8KuWWavPK19Tt+55KAA1nL1fxRxZAyQEPVZlNO79848opfNYgJP SjZuJ3cm1Zrkq9SlROWJj03zcDZc7rYJlg1cIcgWHA99ixbcFKTtgJWgxuMQnT4B9E4B MqXcg7cwlI4B0KGHRnFirYUa5LSL9afg4UDLRVkW0V05izG9faMyhmbYbSCHKNvwmcHW rWJA== X-Gm-Message-State: ACgBeo2fP4Q5YHi/5FzA6oVZrgR9VxbK/uvOsCWnrofIzDQgBZvYwXBN ymppHfaEnmSkahtFg6HeMUOJ2Gh7wLPJXZ+CR3Y= X-Google-Smtp-Source: AA6agR5YexLkmSRbCTOZIM3gicO7BeP+yj2nwmKJu2kA44cFbJOuX02h84v12pTGRkt4kBGiaoYC2rdXi/DiuZNVMNc= X-Received: by 2002:a17:907:3f23:b0:738:545f:3f29 with SMTP id hq35-20020a1709073f2300b00738545f3f29mr11867061ejc.521.1661152754629; Mon, 22 Aug 2022 00:19:14 -0700 (PDT) MIME-Version: 1.0 References: <166057943684.8.1636695400544226142.57309203@simplelogin.com> <871qt87qce.fsf@systemreboot.net> In-Reply-To: <871qt87qce.fsf@systemreboot.net> From: alex sassmannshausen Date: Mon, 22 Aug 2022 09:19:02 +0200 Message-ID: Subject: Re: Avoiding Typing Encryption Passphrase Multiple Times To: Arun Isaac Cc: guix.rc7ys@simplelogin.com, help-guix Received-SPF: pass client-ip=2a00:1450:4864:20::636; envelope-from=alex.sassmannshausen@gmail.com; helo=mail-ej1-x636.google.com 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661152773; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Vx7Wt4so2W6g9oU9I46l7He+jNArj62dGeRlJhYrdU4=; b=JYggbtDc69+j2QqPeBSvXfPNQsN2fPXIHyPlq+ADp4Sy+qC1aKMfZI0BqNG1aXbWko+F2t f0oLIO/UrIFMFvupGZ+CeIkq+tmAsna8rqhwc87gRWU7XHkDaLx5rkiYzYymoAQ3at+J1q 8FdKhk75rfNYkOWaSUaw5KzRV6bwySSs+G0j2ZhtUuQyfEntP152QGyejIfteFsekOzVVN sUNiMjBMgUCrmpG4w7rn9jVWh8tNFc4V/o2A3gc+CRPLNCBn5jqkPayDtJAc3C4tMgqb4e E/oEz20zhWo9bIrpsCn5sSlc+YcES/qyxTcRGc7WqoEYGl/kv6F2/Bf20G3eWA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661152773; a=rsa-sha256; cv=none; b=n0MIwA7mUEGeJh+h7FlmcXGZQmoAAAt/5bG8yBm8bTQI/Vu+KYgSTqxaYjln4Kjx5MwK5D 4RtbR4YbxEJQV3WlC+XZthjvRT3m9Pm83Gb7pklNfKOESjdawnwgxYR2EsNPnAVptxMUlk RwCUm0UPVByFP/H+EoBEOiPws70+xlCxoCxJyqj14y0+Dqo/gxis7NTpYjHmFV5SF1aoWZ Rklv6fSyUnqxxSSa94WjAShjJ7ScgL7wA6tCjtROwjVdtY6uFl6Smho0o/ItTVaLAq9sPi pLQ1HxtvhYH04NmRC4LrIg8OvjRltRjL0zFHIDkC9Yn5kLKhT/Mfl8xB8wjUhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=AwN6bmyy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.58 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=AwN6bmyy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3B46D3D7D4 X-Spam-Score: 7.58 X-Migadu-Scanner: scn0.migadu.com X-TUID: Y82BJrXNBBRp Specifically this section might be useful for avoiding the second half of the passwords that need to be typed: https://wiki.archlinux.org/title/Dm-crypt/Device_encryption#With_a_keyfile_embedded_in_the_initramfs I'd be interested in seeing your os declaration if you succeed with this! Best wishes, Alex On Mon, 22 Aug 2022, 08:19 Arun Isaac, wrote: > > Hi John, > > I believe the canonical way to do this is to set up LVM on LUKS. See > pros and cons of different approaches in the table at > > https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system#Overview > With LVM on LUKS, you only need to enter the passphrase once to unlock > the LVM. All partitions inside the LVM are automatically unlocked as a > result. > > Hope that helps! > > Regards, > Arun > >