mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] commands: add dedicated security menu
@ 2025-06-26 11:23 Ahmad Fatoum
  2025-06-27 14:43 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages 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] 2+ messages in thread

* Re: [PATCH] commands: add dedicated security menu
  2025-06-26 11:23 [PATCH] commands: add dedicated security menu Ahmad Fatoum
@ 2025-06-27 14:43 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2025-06-27 14:43 UTC (permalink / raw)
  To: barebox, Ahmad Fatoum


On Thu, 26 Jun 2025 13:23:01 +0200, Ahmad Fatoum wrote:
> Instead of lumping commands like keystore and blobgen with misc
> utilities like 2048, add a dedicated security menu for them.
> 
> 

Applied, thanks!

[1/1] commands: add dedicated security menu
      https://git.pengutronix.de/cgit/barebox/commit/?id=9534d138b530 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-06-27 15:09 UTC | newest]

Thread overview: 2+ messages (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
2025-06-27 14:43 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox