From 04e9f843387a275e7c746d42e271c786b807eca6 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 3 Jan 2024 17:40:31 -0800 Subject: [PATCH] decrypt: instead of waiting, let's try slow typing Seems the bug might just be that plymouth got more sensitive to fast typing, so instead of waiting, let's try slow typing. Signed-off-by: Adam Williamson --- lib/utils.pm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/utils.pm b/lib/utils.pm index 7d788b06..b34acf3f 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -408,12 +408,7 @@ sub boot_decrypt { # decrypt storage during boot; arg is timeout (in seconds) my $timeout = shift || 60; assert_screen "boot_enter_passphrase", $timeout; - # FIXME: wait and re-assert to workaround - # https://bugzilla.redhat.com/show_bug.cgi?id=2256682 , can - # drop this is that is fixed - wait_still_screen 3; - assert_screen "boot_enter_passphrase"; - type_string get_var("ENCRYPT_PASSWORD"); + type_very_safely get_var("ENCRYPT_PASSWORD"); send_key "ret"; }