• zelig's avatar
    peer-level integration test for crypto handshake · faa069a1
    zelig authored
    - add const length params for handshake messages
    - add length check to fail early
    - add debug logs to help interop testing (!ABSOLUTELY SHOULD BE DELETED LATER)
    - wrap connection read/writes in error check
    - add cryptoReady channel in peer to signal when secure session setup is finished
    - wait for cryptoReady or timeout in TestPeersHandshake
    faa069a1
crypto.go 15.9 KB