From unknown Sat Jun 21 03:00:01 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#59529 <59529@debbugs.gnu.org> To: bug#59529 <59529@debbugs.gnu.org> Subject: Status: fail to re-prompt after mistyped disk encryption passphrase Reply-To: bug#59529 <59529@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:00:01 +0000 retitle 59529 fail to re-prompt after mistyped disk encryption passphrase reassign 59529 guix submitter 59529 Fran=C3=A7ois-Ren=C3=A9 Rideau severity 59529 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 23 22:40:09 2022 Received: (at submit) by debbugs.gnu.org; 24 Nov 2022 03:40:09 +0000 Received: from localhost ([127.0.0.1]:56822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oy35s-0005rw-OZ for submit@debbugs.gnu.org; Wed, 23 Nov 2022 22:40:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:42982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oy35n-0005ri-Th for submit@debbugs.gnu.org; Wed, 23 Nov 2022 22:40:07 -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 1oy35n-0001tA-P2 for bug-guix@gnu.org; Wed, 23 Nov 2022 22:40:03 -0500 Received: from mail-io1-xd30.google.com ([2607:f8b0:4864:20::d30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oy35X-0007Ba-Ht for bug-guix@gnu.org; Wed, 23 Nov 2022 22:40:02 -0500 Received: by mail-io1-xd30.google.com with SMTP id p184so463406iof.11 for ; Wed, 23 Nov 2022 19:39:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mukn-io.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=3y2+7zqJE8kWHBgycSsOxmwkZ1zf0GulHv6uPEU2QcA=; b=Qabpvgy4dHdtsLmLCScPiccW9RrqGuabOUi3e8fEKzy1O0nd5Xt5L+MGZvTTaH4nSr 9KX7SzJGuXJOoyBcdhZ48lUO2qYuezrPEJxiLdHOiBguBXLAAw2U3dtW2JBPg1NAkW6H uQTg4iW+GPXt1v6L3O4RMZlr18deIGFTs4EQoV5uFvr3zBYU5UXtdT0FdsLWX1ZPaDOt 6Evk9x2LTOsbT4Np3DKiysMnjFOqNgINruR7/HJvnHf+K8rv+0eLAMKsr0m/H3qBJDvk Ig1P9DvmXkPcnowdBBFGfl57w0C7kHrInd7VuCiiK35kgw7GRoZK1t8Mrnz8wCPRQ9r2 zCQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3y2+7zqJE8kWHBgycSsOxmwkZ1zf0GulHv6uPEU2QcA=; b=1mNNNcvNPDZOHkTFgq2eCiTmtm+9pwtVwdeVPek+wsHaAxZ1Ai0F7pLSTPCwroXfgW TFpBYGwBc2xyxUsWgCmsab4ZW5epcborPKtCWFX6nkKLZTkTKe43mcSZ127cfEB+Pv88 QH8jM8wRsaGD5X4g6/FNG14RPQxnw9HfF8t0Ddm89TklDkVbm5upRLa4JoKdY1NDhykE gCzgt+TuI6eH6mmlx3NEyouC7WZSCWtyMDJV7Xb0nk+9OQWRH9vENqb8QxRdysKHEnTz cKXn58sTtJoJwWowqThXYtsiWxWh5GY1jLnsRR8QCxFVL6SnsM/TuE/k1XqkNuWJZNPI +dMA== X-Gm-Message-State: ANoB5pkRQBMIP0bq1SBClkconcLy69JWny9sJoa1e/9XdOZ56gr30yml ztBv16DR43HNmzvt84yhgmAuUzZPZVCNlLA9w7vXbV9CZ7H7fQ== X-Google-Smtp-Source: AA0mqf5bS0O9dTpdfCvC9eQE9D7vbhCoZb8Ub8mDkZyEy0CUcaGK/VX26fDTtk2e9Fd4gkB+TdL+/vYDNsAI88oACZA= X-Received: by 2002:a02:c946:0:b0:375:b0a3:bdf4 with SMTP id u6-20020a02c946000000b00375b0a3bdf4mr14486560jao.107.1669261185083; Wed, 23 Nov 2022 19:39:45 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?B?RnJhbsOnb2lzLVJlbsOpIFJpZGVhdQ==?= Date: Wed, 23 Nov 2022 22:39:34 -0500 Message-ID: Subject: fail to re-prompt after mistyped disk encryption passphrase To: bug-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: softfail client-ip=2607:f8b0:4864:20::d30; envelope-from=fare@mukn.io; helo=mail-io1-xd30.google.com X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) When booting into an encrypted disk, guix correctly prompts for an encryption passphrase, but should the passphrase be somehow mistyped (which happens more often than not for an appropriately long passphrase on some devices' bad keyboards), guix drops to the scheme repl, without any obvious way to usefully restart the process. The only thing left to do is then to reboot and go through the lengthy BIOS cycle again. Could guix, like nix, offer the user many attempts to type the passphrase? Maybe after 3 to 10 failed attempts, or an attempt using an empty string, then dropping to the debugger makes sense=E2=80=94but even then, co= uld some message give a hint about how to do anything useful at the repl, like restarting for instance? NB: Using guix 437718442ca758a3857702cecfe5c80aa5df272b. =E2=80=94=E2=99=AF=C6=92 =E2=80=A2 Fran=C3=A7ois-Ren=C3=A9 Rideau =E2=80=A2= Co-Founder and President, MuKn.io =E2=80=9CIf instead of teaching other people what government should be and should do, you'd teach yourself what government actually is and does do, you'd be a libertarian.=E2=80=9D