• src/ssh/key_algo/rsa-sha2

    From Deuc¿@VERT to Git commit to main/sbbs/m on Thu Aug 6 18:15:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/07ee3b559c8411a766271474
    Modified Files:
    src/ssh/key_algo/rsa-sha2-256-botan.cpp rsa-sha2-512-botan.cpp ssh-ed25519-botan.cpp src/ssh/test/test_selftest.c
    Log Message:
    Fix sanitizer-detected undefined behavior

    Match Botan key callback definitions to the typed C vtable declarations
    so calls do not pass through incompatible function pointer types.

    Keep borrowed channel getter strings within the channel lifetime in the self-test instead of retaining them after close.

    Co-Authored-By: OpenAI Codex <noreply@openai.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/m on Sat Aug 29 06:29:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/0b5e9c14602dc4b7b8980b48
    Modified Files:
    src/ssh/key_algo/rsa-sha2-256-botan.cpp rsa-sha2-256-openssl.c rsa-sha2-512-botan.cpp rsa-sha2-512-openssl.c ssh-ed25519-botan.cpp ssh-ed25519-openssl.c
    Log Message:
    ssh: use binary mode for private key files

    Windows text-mode translation made Botan's size-based private key loader expect more bytes than fread returned, causing load failures and key regeneration on every connection. Open private key files in binary mode for both Botan and OpenSSL so saved bytes reload unchanged.

    Co-Authored-By: OpenAI Codex <noreply@openai.com>

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