Subj : src/ssh/CMakeLists.txt src/ssh/test/test_dhgex_provider.h To : Git commit to main/sbbs/master From : Deucе Date : Mon Mar 23 2026 20:49:18 https://gitlab.synchro.net/main/sbbs/-/commit/30feea027d05d936299b6747 Modified Files: src/ssh/CMakeLists.txt src/ssh/test/test_dhgex_provider.h Log Message: Cache test host keys to avoid repeated RSA keygen test_generate_host_key() now checks DSSH_TEST_ED25519_KEY and DSSH_TEST_RSA_KEY environment variables. If set to a file path: - Load the key from that file if it exists - Otherwise generate and save it for next time If the env var is not set, generates a fresh key every time (preserving original behavior for manual runs). CMakeLists.txt sets both env vars to build-directory paths for all CTest configurations, so keys are generated once and reused across the 23 test runs. Test suite time: ~130s -> ~42s (3x speedup). Co-Authored-By: Claude Opus 4.6 (1M context) --- ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net .