Skip to content

Commit 534c4ec

Browse files
Flavio Ceolinnashif
authored andcommitted
mgmt: fs: Add security warning
Add a warning in fs mgmt option about security risks. Signed-off-by: Flavio Ceolin <[email protected]>
1 parent 2d096e1 commit 534c4ec

File tree

1 file changed

+6
-1
lines changed
  • ext/lib/mgmt/mcumgr/cmd/fs_mgmt

1 file changed

+6
-1
lines changed

ext/lib/mgmt/mcumgr/cmd/fs_mgmt/Kconfig

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,16 @@
1616
# Under the License.
1717

1818
menuconfig MCUMGR_CMD_FS_MGMT
19-
bool "Enable mcumgr handlers for file management"
19+
bool "Enable mcumgr handlers for file management (insecure)"
2020
depends on FILE_SYSTEM
2121
help
2222
Enables mcumgr handlers for file management
2323

24+
This option allows mcumgr clients to access anything in the
25+
file system, including application-stored secrets like
26+
private keys. Use of this feature in production is strongly
27+
discouraged.
28+
2429
if MCUMGR_CMD_FS_MGMT
2530
config FS_MGMT_UL_CHUNK_SIZE
2631
int "Maximum chunk size for file uploads"

0 commit comments

Comments
 (0)