* [PATCH] commands: add dedicated security menu
@ 2025-06-26 11:23 Ahmad Fatoum
0 siblings, 0 replies; only message in thread
From: Ahmad Fatoum @ 2025-06-26 11:23 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum
Instead of lumping commands like keystore and blobgen with misc
utilities like 2048, add a dedicated security menu for them.
Signed-off-by: Ahmad Fatoum <a.fatoum@barebox.org>
---
commands/Kconfig | 54 +++++++++++++++++++++++++-----------------------
1 file changed, 28 insertions(+), 26 deletions(-)
diff --git a/commands/Kconfig b/commands/Kconfig
index 23cb6d6b7832..6c61bff1cd12 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -2323,15 +2323,7 @@ config CMD_HAB
# end Hardware manipulation commands
endmenu
-
-
-menu "Miscellaneous"
-
-config CMD_2048
- tristate
- prompt "2048"
- help
- Console version of the game "2048" for GNU/Linux
+menu "Security"
config CMD_AVB_PVALUE
depends on OPTEE_AVB_PERSISTENT_VALUES
@@ -2345,6 +2337,33 @@ config CMD_AVB_PVALUE
that must be tamper evident and allows AVB to store arbitrary key-value
pairs.
+config CMD_BLOBGEN
+ bool
+ select BLOBGEN
+ prompt "blobgen"
+ help
+ Provides the "blobgen" command. This command encrypts and decrypts
+ plaintext to/from blobs. This is done with hardware crypto engines,
+ so this command is only useful when you also enable a blobgen capable
+ driver.
+
+config CMD_KEYSTORE
+ depends on CRYPTO_KEYSTORE
+ bool
+ prompt "keystore"
+ help
+ keystore provides access to the barebox keystore.
+
+# end Security commands
+endmenu
+
+menu "Miscellaneous"
+
+config CMD_2048
+ tristate
+ prompt "2048"
+ help
+ Console version of the game "2048" for GNU/Linux
config CMD_BAREBOX_UPDATE
tristate
@@ -2362,16 +2381,6 @@ config CMD_BAREBOX_UPDATE
-y autom. use 'yes' when asking confirmations
-f LEVEL set force level
-config CMD_BLOBGEN
- bool
- select BLOBGEN
- prompt "blobgen"
- help
- Provides the "blobgen" command. This command encrypts and decrypts
- plaintext to/from blobs. This is done with hardware crypto engines,
- so this command is only useful when you also enable a blobgen capable
- driver.
-
config CMD_FIRMWARELOAD
bool
select FIRMWARE
@@ -2389,13 +2398,6 @@ config CMD_KALLSYMS
Usage: kallsyns [SYMBOL | ADDRESS]
-config CMD_KEYSTORE
- depends on CRYPTO_KEYSTORE
- bool
- prompt "keystore"
- help
- keystore provides access to the barebox keystore.
-
config CMD_LINUX_EXEC
bool "linux exec"
depends on SANDBOX
--
2.39.5
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-06-26 12:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-26 11:23 [PATCH] commands: add dedicated security menu Ahmad Fatoum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox