Ethan Buchman
528154f1a2
p2p: PrivKey need not be Ed25519
2018-01-01 19:44:01 -05:00
Ethan Buchman
9529f12c28
more linting
2017-11-27 22:39:12 +00:00
Zach Ramsay
478a10aa41
Write doesn't need error checked
2017-11-27 22:39:12 +00:00
Zach Ramsay
d033470817
lil fixes
2017-11-27 22:39:12 +00:00
Zach Ramsay
15651a931e
linting errors: tackle p2p package
2017-11-27 22:39:11 +00:00
Emmanuel Odeke
5c34d087d9
p2p: use bytes.Equal for key comparison
...
Updates https://github.com/tendermint/tendermint/issues/850
My security alarms falsely blarred when I skimmed and noticed
keys being compared with `==`, without the proper context
so I mistakenly filed an issue, yet the purpose of that
comparison was to check if the local ephemeral public key
was just the least, sorted lexicographically.
Anyways, let's use the proper bytes.Equal check, to save future labor.
2017-11-18 23:34:27 -07:00
zramsay
cf31f8d06f
core: apply megacheck vet tool (unused, gosimple, staticcheck)
2017-05-29 23:11:40 -04:00
Ethan Buchman
57151d6043
p2p: use cmn instead of .
2017-05-04 22:43:55 -04:00
Ethan Buchman
23a6a6f8fc
move into p2p package
2017-04-21 18:07:52 -04:00
Jae Kwon
c4ed55d801
Refactor to move common libraries out of project
2015-10-22 17:39:06 -07:00
Jae Kwon
3be3647dc8
tendermint/binary -> tendermint/wire
2015-07-28 12:18:17 -07:00
Ethan Buchman
8e50bf15de
panic wrapper functions
2015-07-21 10:46:05 -04:00
Ethan Buchman
dc7b912881
crypto byte arrays are fixed length
2015-07-17 17:19:16 -04:00
Ethan Buchman
ba70bffa23
add handshakeTimeout, bound chunkLength, comments
2015-07-17 03:58:57 -04:00
Jae Kwon
84705caefb
fix nil-pointer error in SecretConnection handshake
2015-07-16 01:08:07 -07:00
Jae Kwon
9e2b138c35
Added link to doc above MakeSecretConnection
2015-07-15 15:38:29 -07:00
Jae Kwon
9ef79e59bb
Godeps <- golang.org/x/crypto/nacl etc
2015-07-15 14:56:52 -07:00
Jae Kwon
fd64547ce7
Put a SecretConnection before the MConnection; Node Priv/PubKeys
2015-07-15 14:17:20 -07:00
Jae Kwon
a8d03bddc9
added sts-final doc
2015-07-15 14:16:30 -07:00
Jae Kwon
d13a593afd
Parallel syntax change; SecretConnection implements net.Conn
2015-07-15 12:13:10 -07:00
Jae Kwon
5b41cc4fa5
Added secret_connection benchmark test
2015-07-15 04:07:03 -07:00
Jae Kwon
4981a5993d
fixed handshake test; wrote broken read/write test
2015-07-14 22:35:32 -07:00
Jae Kwon
dbef516659
failing tests for secret_connection
2015-07-14 18:41:24 -07:00
Jae Kwon
402b3a3e52
draft of secret_connection
2015-07-14 17:52:54 -07:00