nuttx-apps/fsutils
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
..
flash_eraseall include/debug.h: fix checkpatch fallout in touched apps files 2026-04-11 10:39:27 -03:00
flashtool include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
inifile include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
inih fsutils: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
ipcfg include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
libtinycbor fsutils/libtinycbor: Update TinyCBOR to 0.6.1 2025-08-13 22:09:32 +08:00
mkfatfs !apps: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-22 13:38:25 +08:00
mkgpt include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
mkmbr fsutils: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
mksmartfs fsutils: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
passwd !fsutils/passwd: Replace TEA with PBKDF2-HMAC-SHA256 2026-07-22 17:21:22 +08:00
.gitignore Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00
CMakeLists.txt fsutils: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
Make.defs fsutils: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
Makefile fsutils: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00