mirror of
https://github.com/jmcorgan/fips.git
synced 2026-08-09 00:04:54 +00:00
cd7064595d33e7d0967f22cbf1ed11dcf0d60ab9
Fix promote_connection to transfer NoiseSession, session indices, transport ID, and source address to ActivePeer. Populate peers_by_index during promotion for O(1) encrypted frame dispatch. Add responder-side promotion in handle_msg1 — after sending msg2, the responder immediately promotes to ActivePeer since Noise IK completes in one step for the responder side. Wire run_rx_loop into the fips binary using tokio::select with Ctrl+C shutdown signal, so the daemon actually processes incoming packets. Add end-to-end integration test: two nodes with real UDP sockets perform full Noise IK handshake and bidirectional encrypted frame exchange (266 tests, all passing).
FIPS Documentation
| Directory | Description |
|---|---|
| design/ | Protocol design specifications and analysis |
Languages
Rust
83.6%
Shell
11.7%
Python
4.2%
PowerShell
0.2%
Makefile
0.1%