Files
markbase/markbase-core
Warren 96143a6c0e
Some checks failed
Test / test (push) Has been cancelled
Test / build (push) Has been cancelled
Fix SSH MAC verification: Add OpenSSH strict KEX extension support
Problem:
- OpenSSH 10.2 requires 'kex-strict-s-v00@openssh.com' extension
- Client sends SSH_MSG_EXT_INFO (type 7) before SSH_MSG_SERVICE_REQUEST
- Missing support caused 'Corrupted MAC on input' error

Solution:
1. Add 'ext-info-s,kex-strict-s-v00@openssh.com' to kex_algorithms (kex.rs)
2. Define SSH_MSG_EXT_INFO packet type (packet.rs)
3. Handle SSH_MSG_EXT_INFO before SERVICE_REQUEST (server.rs)

Result:
- SSH handshake now fully compatible with OpenSSH 10.2
- MAC verification successful for all encrypted packets
- Progress: SSH implementation 95% complete (Phase 1-4 + strict KEX)
2026-06-15 04:11:29 +08:00
..