Raúl Kripalani
8890e1b22b
Revert "update insecure transport to plaintext/2.0.0 ( #37 )" ( #38 )
...
This reverts commit b5729d89f3
.
2019-07-15 00:10:22 +01:00
bigs
1d45af25d9
Merge pull request #33 from libp2p/bug/curve-name
...
Return error rather than panic in GenerateEKeyPair
2019-07-12 17:32:13 -04:00
Cole Brown
c7c0a1cdf0
Add test for unknown elliptic curves
2019-07-12 17:09:27 -04:00
bigs
c3f7bb216e
Merge pull request #32 from libp2p/bug/key-equality
...
Replace bytes.Equal -> subtle.ConstantTimeCompare
2019-07-12 16:45:22 -04:00
Cole Brown
652a852edd
Use short-circuiting comparisons for public keys
2019-07-12 16:34:29 -04:00
Yusef Napora
b5729d89f3
update insecure transport to plaintext/2.0.0 ( #37 )
...
* add plaintext/2.0.0 (with ugly protoc hack)
* gofmt
* gofmt (for real this time)
* add `go_package` option to proto files
* Revert "add `go_package` option to proto files"
5a543a79bd
* less hacky protobuf imports
* add doc comment for PublicKeyFromProto
* clean up handshake
* go fmt, lol
* use network.MessageSizeMax for ggio reader
2019-07-12 13:24:30 -04:00
Cole Brown
23da4bd6da
Return error rather than panic in GenerateEKeyPair
2019-07-10 15:42:51 -04:00
Cole Brown
2726b6493c
Replace bytes.Equal -> subtle.ConstantTimeCompare
2019-07-10 15:30:22 -04:00
Raúl Kripalani
07fbce0b46
absorb {crypto,peer} test utils. ( #8 )
...
Avoids circular module dependency.
2019-05-23 16:07:58 +01:00
Raúl Kripalani
6e566d10f4
Absorb go-libp2p abstractions and core types into this module ( #1 )
2019-05-22 18:31:11 +01:00