mgmt: fs: Add security warning

Add a warning in fs mgmt option about security risks.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2020-06-09 09:08:29 -07:00 committed by Carles Cufí
commit 77bc3815af

View file

@ -22,11 +22,16 @@ config MGMT_CBORATTR_MAX_SIZE
menu "Command Handlers"
menuconfig MCUMGR_CMD_FS_MGMT
bool "Enable mcumgr handlers for file management"
bool "Enable mcumgr handlers for file management (insecure)"
depends on FILE_SYSTEM
help
Enables mcumgr handlers for file management
This option allows mcumgr clients to access anything in the
file system, including application-stored secrets like
private keys. Use of this feature in production is strongly
discouraged.
if MCUMGR_CMD_FS_MGMT
choice FS_MGMT_MAX_FILE_SIZE