From ad8a1243df018e7551a78225636cbd949e679bdb Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 21 Nov 2025 10:40:23 -0800 Subject: [PATCH] Use type_safely not type_very_safely for encryption passphrase Thanks to @jlinton , who worked out that the repeated inputs on aarch64 seem to be caused by the relatively lengthy delay on key down that we get when typing very slowly. Typing a bit faster is actually more reliable in this case. I'm working on an os-autoinst tweak that would avoid the lengthy key holds when typing very slowly, which would allow us to revert this. Signed-off-by: Adam Williamson --- lib/utils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.pm b/lib/utils.pm index 86d5885a..eb84d2af 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -431,7 +431,7 @@ sub boot_decrypt { # decrypt storage during boot; arg is timeout (in seconds) my $timeout = shift || 60; assert_screen "boot_enter_passphrase", $timeout; - type_very_safely get_var("ENCRYPT_PASSWORD"); + type_safely get_var("ENCRYPT_PASSWORD"); send_key "ret"; }