From 09f655ad4af59ef4ff8ebd02ca5421f8901cb16b Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Tue, 26 Aug 2025 19:12:53 +0100 Subject: [PATCH] sysext: do not attempt to unlock images interactively These images are not using a passphrase, they are using keys or at most TPM-based sealing (not yet implemented, for contexts). Do not use the interactive helper, as it will block and ask the user for a password if it fails to find the signing cert, which is not useful for this tool. Fixes https://github.com/systemd/systemd/issues/33179 --- src/sysext/sysext.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/sysext/sysext.c b/src/sysext/sysext.c index 005ea6d977d..d849ee26106 100644 --- a/src/sysext/sysext.c +++ b/src/sysext/sysext.c @@ -1830,10 +1830,7 @@ static int merge_subprocess( if (r < 0) return r; - r = dissected_image_decrypt_interactively( - m, NULL, - &verity_settings, - flags); + r = dissected_image_decrypt(m, /* passphrase= */ NULL, &verity_settings, flags); if (r < 0) return r; -- 2.47.3