_  _    __    ___  __    ___  _____  _  _
 ( \( )  /__\  / __)(  )  / __)(  _  )( \( )
  )  (  /(__)\( (__  )(__( (__  )(_)(  )  (
 (_)\_)(__)(__)\___)(____)\___)(_____)(_)\_)

The History of Hacking  ·  May 31 – June 2, 2026  ·  Carolina Beach, NC

  • src/ssh/TODO.md ssh-auth.c

    From Deucе@VERT to Git commit to main/sbbs/master on Sat Mar 28 12:55:04 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/e0d57ec867e5c7e469991072
    Modified Files:
    src/ssh/TODO.md ssh-auth.c
    Log Message:
    Close items 10, 11: decompose auth_server_impl, eliminate SER macros

    Extract 4 per-method handlers (handle_auth_none, handle_auth_password, handle_auth_kbi, handle_auth_publickey) plus password_dispatch helper. auth_server_impl reduced from ~575 to ~80 lines of dispatch using AUTH_HANDLER_CONTINUE/AUTH_HANDLER_SUCCESS return macros.

    Replace all 5 local SER/SD_SER/MSG_SER/KBI_SER macros with direct DSSH_PUT_U32() calls. Extract build_userauth_request() prefix builder
    for 5 client call sites, eliminating ~60 lines of duplicated
    serialization.

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net