plymouth: fix luks password shown in plain text
This commit is contained in:
parent
470773fdba
commit
a6a027858a
2 changed files with 41 additions and 2 deletions
|
|
@ -0,0 +1,37 @@
|
||||||
|
From 10ac8d2dc927b112ce6aeb06bc73d9c46550954c Mon Sep 17 00:00:00 2001
|
||||||
|
From: n3rdopolis <bluescreen_avenger@verizon.net>
|
||||||
|
Date: Tue, 6 Feb 2024 18:52:25 -0500
|
||||||
|
Subject: [PATCH] ply-boot-splash: Set unbuffered input when creating a text
|
||||||
|
display
|
||||||
|
|
||||||
|
---
|
||||||
|
src/libply-splash-core/ply-boot-splash.c | 6 ++++++
|
||||||
|
1 file changed, 6 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/libply-splash-core/ply-boot-splash.c b/src/libply-splash-core/ply-boot-splash.c
|
||||||
|
index 12fb6c102..217f455e0 100644
|
||||||
|
--- a/src/libply-splash-core/ply-boot-splash.c
|
||||||
|
+++ b/src/libply-splash-core/ply-boot-splash.c
|
||||||
|
@@ -173,6 +173,7 @@ ply_boot_splash_add_text_display (ply_boot_splash_t *splash,
|
||||||
|
ply_text_display_t *display)
|
||||||
|
{
|
||||||
|
int number_of_columns, number_of_rows;
|
||||||
|
+ ply_terminal_t *terminal;
|
||||||
|
|
||||||
|
if (splash->plugin_interface->add_text_display == NULL)
|
||||||
|
return;
|
||||||
|
@@ -183,6 +184,11 @@ ply_boot_splash_add_text_display (ply_boot_splash_t *splash,
|
||||||
|
ply_trace ("adding %dx%d text display", number_of_columns, number_of_rows);
|
||||||
|
|
||||||
|
splash->plugin_interface->add_text_display (splash->plugin, display);
|
||||||
|
+
|
||||||
|
+ terminal = ply_text_display_get_terminal (display);
|
||||||
|
+ if (terminal)
|
||||||
|
+ ply_terminal_set_unbuffered_input (terminal);
|
||||||
|
+
|
||||||
|
ply_list_append_data (splash->text_displays, display);
|
||||||
|
}
|
||||||
|
|
||||||
|
--
|
||||||
|
GitLab
|
||||||
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2024 Luis Guzmán <ark@switnet.org>
|
# Copyright (C) 2025 Luis Guzmán <ark@switnet.org>
|
||||||
# Copyright (C) 2008-2022 Ruben Rodriguez <ruben@trisquel.info>
|
# Copyright (C) 2008-2022 Ruben Rodriguez <ruben@trisquel.info>
|
||||||
# Copyright (C) 2019 Mason Hock <mason@masonhock.com>
|
# Copyright (C) 2019 Mason Hock <mason@masonhock.com>
|
||||||
#
|
#
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
VERSION=14
|
VERSION=15
|
||||||
QUILT=skip
|
QUILT=skip
|
||||||
. ./config
|
. ./config
|
||||||
|
|
||||||
|
|
@ -175,6 +175,8 @@ sed s/Ubuntu/Trisquel/ -i debian/plymouth-theme-trisquel-text.postinst
|
||||||
# Clean up
|
# Clean up
|
||||||
rm ./debian/plymouth-theme-ubuntu-logo.postinst
|
rm ./debian/plymouth-theme-ubuntu-logo.postinst
|
||||||
|
|
||||||
|
apply_patch_changes
|
||||||
|
|
||||||
changelog "Plymouth themes modified for Trisquel"
|
changelog "Plymouth themes modified for Trisquel"
|
||||||
|
|
||||||
package
|
package
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue