nuttx-apps/netutils/codecs/Kconfig
Abhishek Mishra 608f13fd4b !fsutils/passwd: Replace TEA with PBKDF2-HMAC-SHA256
Migrate passwd encrypt/verify to PBKDF2 modular crypt format using
kernel cryptodev (CRYPTO_PBKDF2_HMAC_SHA256 via /dev/crypto).  Add
passwd_pbkdf2 wrapper, base64url helpers, complexity validation, and
pbkdf2_test for RFC 6070 vector coverage.  FSUTILS_PASSWD selects
CRYPTO, ALLOW_BSD_COMPONENTS, and CRYPTO_CRYPTODEV so existing sim
defconfigs keep building.  Change NSH_LOGIN_USERNAME default to root and
remove fixed-login password defaults.

BREAKING CHANGE: TEA-encoded /etc/passwd entries no longer verify.
Regenerate each entry after upgrading.  Pair with the nuttx host mkpasswd
changes in apache/nuttx#19209.  Boards must enable the appropriate
software or hardware crypto backend for PBKDF2 at runtime.  When
CONFIG_NSH_LOGIN_FIXED=y, set CONFIG_NSH_LOGIN_PASSWORD in the board
defconfig or menuconfig; there is no default password.

Signed-off-by: Abhishek Mishra <mishra.abhishek2808@gmail.com>
2026-07-22 17:21:22 +08:00

61 lines
1.4 KiB
Text

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config NETUTILS_CODECS
bool "CODEC Library"
default n
---help---
Enables the netutils/code library: Base64 coding, URL coding, MD5.
if NETUTILS_CODECS
config CODECS_BASE64
bool "Base 64 Support"
default n
---help---
Enables support for the following interfaces: base64_encode(),
base64_decode(), base64w_encode(), base64w_decode(),
base64url_encode(), and base64url_decode(),
Contributed NuttX by Darcy Gong.
config CODECS_HASH_MD5
bool "MD5 Support"
default n
---help---
Enables support for the following interfaces: md5_init(),
md5_update(), md5_final(), md5_transform(), md5_sum() and
md5_hash()
Contributed NuttX by Darcy Gong.
config CODECS_URLCODE
bool "URL Decode Support"
default n
---help---
Enables support for the following interfaces: urlencode() and
urldecode()
Contributed NuttX by Darcy Gong.
config CODECS_URLCODE_NEWMEMORY
bool "URL Allocating Decode Support"
default n
---help---
Enables support for the following interfaces: url_encode() and
url_decode()
Contributed NuttX by Darcy Gong.
config CODECS_AVR_URLCODE
bool "URL Raw Decode Support"
default n
---help---
Enables support for the following interfaces: urlrawdecode() and
urlrawencode()
Contributed NuttX by Darcy Gong.
endif