1
0
mirror of https://github.com/libp2p/go-libp2p-core.git synced 2025-04-18 15:50:23 +08:00
Commit Graph

5 Commits

Author SHA1 Message Date
Raúl Kripalani
52a4260be5 Introduce routability and protocol events; cache unmarshalled RSA keys ()
* event: Add autonat events ()

* add events for identify ()

* 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
bf79471ef0 fix(key size): forbid small openssl RSA keys
Also, add a test.
2019-10-21 15:52:27 -07:00
dignifiedquire
2df9672ee4 use equal method from openssl
uses https://github.com/spacemonkeygo/openssl/pull/126
2019-08-01 16:37:58 -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 () 2019-05-22 18:31:11 +01:00