Raúl Kripalani
|
52a4260be5
|
Introduce routability and protocol events; cache unmarshalled RSA keys (#105)
* event: Add autonat events (#25)
* add events for identify (#26)
* implement caching for rsaKey.Bytes()
* store marshalled protobuf in cache for RsaPublicKey.Bytes()
* fix(crypto): fix build when openssl is enabled
* add godocs to routability events.
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
Co-authored-by: Whyrusleeping <why@ipfs.io>
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
Co-authored-by: Steven Allen <steven@stebalien.com>
|
2020-01-16 02:29:26 +01:00 |
|
Steven Allen
|
543dbe6c29
|
nit: simplify equality check
|
2019-08-01 16:37:58 -07:00 |
|
Steven Allen
|
963cc997b2
|
remove non-constant-time private key comparison
|
2019-08-01 16:37:58 -07:00 |
|
Steven Allen
|
9a4415d1a6
|
use a fallback basicEquals function everywhere
This also ensures we check that the types are equal, even if we're comparing
directly with `k1.Equals(k2)` instead of `KeyEquals(k1, k2)`.
|
2019-08-01 16:37:58 -07:00 |
|
dignifiedquire
|
da42c385fc
|
fix: do not allocate when comparing keys
|
2019-08-01 16:37:30 -07:00 |
|
Cole Brown
|
f10115e58f
|
Raise minimum bits required for RSA key to 2048
|
2019-07-10 17:54:14 -04:00 |
|
Raúl Kripalani
|
6e566d10f4
|
Absorb go-libp2p abstractions and core types into this module (#1)
|
2019-05-22 18:31:11 +01:00 |
|