Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1l7HPx-0003qI-RM for mharc-grub-devel@gnu.org; Wed, 03 Feb 2021 07:37:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7HPv-0003oQ-A3 for grub-devel@gnu.org; Wed, 03 Feb 2021 07:37:55 -0500 Received: from darkstar.slint.fr ([172.105.89.79]:57012) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7HPs-0001mk-81 for grub-devel@gnu.org; Wed, 03 Feb 2021 07:37:54 -0500 Received: from darkstar.example.slint (men75-h08-176-172-247-100.dsl.sta.abo.bbox.fr [176.172.247.100]) by darkstar.slint.fr (Postfix) with ESMTPSA id 190FABE2FB for ; Wed, 3 Feb 2021 12:36:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=slint.fr; s=default; t=1612352201; bh=UXgSKtK0js7x1eFGGilmc8snPMg/sypSUhu9pQBizts=; h=To:From:Subject:Date:From; b=V+ap1bFXLlJ0zKV4bkOe5JgKICWtR1gD8WdmJoJGXZl61M4BJWxk9S9xZiZPTsxU1 nh0R1J3Av8IJltvvqG/RNCChEV96DEagu52fbXpSB3Zeasn3Cum7nE+8yQLZ5775uS tUJiSCtyn7BKHKNpY1eq1GW8P6Py2qeLMR3x8CFhfAyc+wmaFiPIkvWfyni2GObwCG MmgQMOIwxKZ6yKKJda4or82twvkQXwwMvk1HQ2fOvjSbJ85PcJqopOXLnR63IixGKc gY03OBRdqIg7ZgOYX0UfksXH189DhrB/WZcYAasEHqn805G9iec7m0BCrdFQdznQvk PI8VFuGUQHlXw== To: grub-devel@gnu.org From: Didier Spaier Subject: How-to make grub play a sound when it asks a passphrase and/or in case of an issue. Message-ID: <5870ccc7-16b7-8fa3-902c-abc5814a8a1a@slint.fr> Date: Wed, 3 Feb 2021 13:37:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=172.105.89.79; envelope-from=didier@slint.fr; helo=darkstar.slint.fr X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: Wed, 03 Feb 2021 12:37:55 -0000 Hello devs, The new installer of the Slint Linux distribution that I maintain allows in guided mode to fully (minus the BiosBoot partition and the ESP) encrypt the drive where Slint is installed, if this drive is dedicated to Slint. As the layout of the partition table then includes just one partition (and optionally an additional one if there is enough space on the drive), we store a LUKS keyfile in the initrd and use cryptmount so that GRUB asks the passprase, no need to type it several times. So far, so good. To help blind users GRUB plays a tune when it displays its menu. But in case of an encrypted drive this tune is played after decryption, thus blind users don't know if/when GRUB asks the passphrase, and if they type it blindly but don't hear the tune associated with the display of the boot menu in a reasonable amount of time (10 or 15 seconds or so), they don't know what happened: was the passphrase wrong, was it not asked for some reason, or did GRUB ask to press Enter after a warning to continue? I'd like that GRUB play a sound when asking the passphrase and/or in case of events like: the passphrase doesn't match, or another issue require an user intervention like pressing Enter to acknowledge a warning. Is it already possible through some setting I didn't find? Or can the above be considered as a feature request? In that latter case I am of course ready to test a patch. Best regards, Didier