mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-27 21:37:57 +08:00
There was doublewrapping with an unneeded msgio. given that we use a stream muxer now, msgio is only needed by secureConn -- to signal the boundaries of an encrypted / mac-ed ciphertext. Side note: i think including the varint length in the clear is actually a bad idea that can be exploited by an attacker. it should be encrypted, too. (TODO) License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com> |
||
|---|---|---|
| .. | ||
| conn_test.go | ||
| conn.go | ||
| dial_test.go | ||
| dial.go | ||
| interface.go | ||
| listen.go | ||
| secure_conn_test.go | ||
| secure_conn.go | ||