This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 pushed a change to branch releases/13.0
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
from 20ffb1a3a apps/nsh: Don't disable error by default
new 1d4a66f64 netutils/dropbear: add Dropbear SSH server port for NuttX
new 6207771de netutils/dropbear: add scp support via SSH exec requests
new a5be8eb6a netutils/dropbear: add scp support via SSH exec requests
new 3f1073b7b dropbear: rename libtomcrypt symbols to avoid NuttX
collisions
new d8b442aca netutils/dropbear: don't require a hardware TRNG
new 065651c05 netutils/dropbear: retain child exit status for NSH PTY
session
new 34a14f583 ci: supply sim/login ROMFS passwd credential in build jobs
new 0308de798 !fsutils/passwd: Replace TEA with PBKDF2-HMAC-SHA256
new 290d638ee !nshlib: Remove fixed login; require FSUTILS_PASSWD
new 64ffa3e55 ci: fix sim/login ROMFS passwd credential for promptpasswd.sh
new 82271b0d7 netutils/dropbear: back hmac-sha2-256 with NuttX /dev/crypto
new da0b51920 netutils/dropbear: back chacha20-poly1305 with NuttX
/dev/crypto
The 12 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/build.yml | 9 +
fsutils/passwd/CMakeLists.txt | 3 +-
fsutils/passwd/Kconfig | 38 +-
fsutils/passwd/Makefile | 1 +
fsutils/passwd/passwd.h | 26 +-
fsutils/passwd/passwd_append.c | 2 +-
fsutils/passwd/passwd_encrypt.c | 277 +++----
.../dev_alt.c => fsutils/passwd/passwd_pbkdf2.c | 102 +--
.../passwd/passwd_pbkdf2.h | 24 +-
fsutils/passwd/passwd_verify.c | 126 +++-
include/fsutils/passwd.h | 11 +-
include/netutils/base64.h | 26 +-
netutils/codecs/Kconfig | 3 +-
netutils/codecs/base64.c | 147 ++++
netutils/dropbear/.gitignore | 6 +
netutils/dropbear/CMakeLists.txt | 256 +++++++
netutils/dropbear/Kconfig | 157 ++++
{audioutils/lame => netutils/dropbear}/Make.defs | 6 +-
netutils/dropbear/Makefile | 205 +++++
netutils/dropbear/dropbear_main.c | 329 ++++++++
netutils/dropbear/dropbear_nshsession.c | 829 +++++++++++++++++++++
.../patch/0001-guard-platform-declarations.patch | 26 +
.../patch/0002-use-nuttx-passwd-auth.patch | 87 +++
...-localoptions-to-override-tracking-malloc.patch | 24 +
.../patch/0004-use-nuttx-unused-macro.patch | 202 +++++
netutils/dropbear/port/config.h | 20 +
netutils/dropbear/port/dropbear_chachapoly.c | 389 ++++++++++
netutils/dropbear/port/dropbear_ltc_hmac_sha256.c | 255 +++++++
netutils/dropbear/port/dropbear_utils.c | 149 ++++
netutils/dropbear/port/dropbear_utils.h | 31 +
netutils/dropbear/port/localoptions.h | 81 ++
netutils/dropbear/port/nuttx_auth.c | 109 +++
netutils/dropbear/port/nuttx_config.h | 142 ++++
.../dropbear/port/nuttx_scp.c | 32 +-
.../dropbear/port/nuttx_scp.h | 15 +-
nshlib/CMakeLists.txt | 4 +
nshlib/Kconfig | 53 +-
nshlib/Makefile | 4 +
nshlib/nsh.h | 13 +-
system/i2c/i2c_reset.c => nshlib/nsh_dropbear.c | 53 +-
nshlib/nsh_identity.c | 3 -
nshlib/nsh_init.c | 12 +
nshlib/nsh_login.c | 3 -
nshlib/nsh_passwdcmds.c | 30 +-
nshlib/nsh_telnetlogin.c | 3 -
{examples => testing/crypto}/CMakeLists.txt | 4 +-
{benchmarks => testing/crypto}/Make.defs | 8 +-
.../{mm/heaptest => crypto/passwd}/CMakeLists.txt | 18 +-
testing/crypto/passwd/Kconfig | 34 +
.../lame => testing/crypto/passwd}/Make.defs | 10 +-
{boot/nxboot => testing/crypto/passwd}/Makefile | 20 +-
testing/crypto/passwd/pbkdf2_test.c | 287 +++++++
52 files changed, 4315 insertions(+), 389 deletions(-)
copy crypto/mbedtls/source/dev_alt.c => fsutils/passwd/passwd_pbkdf2.c (51%)
copy examples/camera/camera_fileutil.h => fsutils/passwd/passwd_pbkdf2.h (75%)
create mode 100644 netutils/dropbear/.gitignore
create mode 100644 netutils/dropbear/CMakeLists.txt
create mode 100644 netutils/dropbear/Kconfig
copy {audioutils/lame => netutils/dropbear}/Make.defs (89%)
create mode 100644 netutils/dropbear/Makefile
create mode 100644 netutils/dropbear/dropbear_main.c
create mode 100644 netutils/dropbear/dropbear_nshsession.c
create mode 100644
netutils/dropbear/patch/0001-guard-platform-declarations.patch
create mode 100644 netutils/dropbear/patch/0002-use-nuttx-passwd-auth.patch
create mode 100644
netutils/dropbear/patch/0003-allow-localoptions-to-override-tracking-malloc.patch
create mode 100644 netutils/dropbear/patch/0004-use-nuttx-unused-macro.patch
create mode 100644 netutils/dropbear/port/config.h
create mode 100644 netutils/dropbear/port/dropbear_chachapoly.c
create mode 100644 netutils/dropbear/port/dropbear_ltc_hmac_sha256.c
create mode 100644 netutils/dropbear/port/dropbear_utils.c
create mode 100644 netutils/dropbear/port/dropbear_utils.h
create mode 100644 netutils/dropbear/port/localoptions.h
create mode 100644 netutils/dropbear/port/nuttx_auth.c
create mode 100644 netutils/dropbear/port/nuttx_config.h
copy system/dhcp6c/renew6_main.c => netutils/dropbear/port/nuttx_scp.c (78%)
copy system/nxinit/builtin.h => netutils/dropbear/port/nuttx_scp.h (80%)
copy system/i2c/i2c_reset.c => nshlib/nsh_dropbear.c (64%)
copy {examples => testing/crypto}/CMakeLists.txt (92%)
copy {benchmarks => testing/crypto}/Make.defs (88%)
copy testing/{mm/heaptest => crypto/passwd}/CMakeLists.txt (80%)
create mode 100644 testing/crypto/passwd/Kconfig
copy {audioutils/lame => testing/crypto/passwd}/Make.defs (86%)
copy {boot/nxboot => testing/crypto/passwd}/Makefile (77%)
create mode 100644 testing/crypto/passwd/pbkdf2_test.c