• zelig's avatar
    first stab at integrating crypto in our p2p · e252c634
    zelig authored
    - abstract the entire handshake logic in cryptoId.Run() taking session-relevant parameters
    - changes in peer to accomodate how the encryption layer would be switched on
    - modify arguments of handshake components
    - fixed test getting the wrong pubkey but it till crashes on DH in newSession()
    e252c634
crypto.go 11.5 KB