BBS: TELESC.NET.BR Assunto: src/ssh/TODO.md ssh-auth.c De: Deuc¨ Data: Sat, 28 Mar 2026 12:55:04 -0700 ----------------------------------------------------------- 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)n --- mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net ----------------------------------------------------------- [Voltar]