257 Commits (master)

Author SHA1 Message Date
adam d5faed8b70 adds ability to create keys from crypto.PrivateKey types 5 years ago
Jorik Schellekens 0601ec2e9a The docs seem to lie 5 years ago
Cole Brown 8c4b2e6911 Ensure all tests pass without weak RSA key flag 5 years ago
Kevin Mai-Husan Chia fa4a3a09b3 Get `remoteID` from pb message 5 years ago
Alex Stokes e0f4801172 Compare multihash `Code` to `IDENTITY` when extracting public key 5 years ago
Cole Brown 4527fe046d Return error in Emit 5 years ago
Cole Brown 876a0fc72f Add test for panic on unknown cipher type 5 years ago
Cole Brown 1be6b00e11 Add note about panic to KeyStretcher comments 5 years ago
Steven Allen 13e58e6822 fix: use fallback comparison for ed25519 keys 5 years ago
Steven Allen 9e141011c2 nit: simplify equality check 5 years ago
Steven Allen 707efc9b1b remove non-constant-time private key comparison 5 years ago
Steven Allen c8185ac62a use a fallback basicEquals function everywhere 5 years ago
dignifiedquire c79f0a088a use equal method from openssl 5 years ago
dignifiedquire e64c9568ba fixup: openssl 5 years ago
dignifiedquire 5915b53974 fix: do not allocate when comparing keys 5 years ago
Cole Brown b07ce71d04 Rename constant for weak RSA key environment variable 5 years ago
Cole Brown 3cfa7eebba UNSAFE -> WEAK in RSA key environment variable 5 years ago
Yusef Napora 8dbcc5a9f5 bring back plaintext 2.0.0 with new constructor (#42) 5 years ago
Jakub Sztandera 34c4b5bde0 Add compat check (#40) 5 years ago
Steven Allen 1df1ff755d avoid duplicate randomly generated keys/peer-ids 5 years ago
Cole Brown 21142a6fb6 Add defualt case with meaningful panic 5 years ago
Raúl Kripalani cfafedbcdb Revert "update insecure transport to plaintext/2.0.0 (#37)" (#38) 5 years ago
Cole Brown a9b8c568af Add test for unknown elliptic curves 5 years ago
Cole Brown d1866f89ae Use short-circuiting comparisons for public keys 5 years ago
Cole Brown cc9f17d667 Add env flag for allowing unsafe rsa keys in tests 5 years ago
Yusef Napora 4ff4dbef60 update insecure transport to plaintext/2.0.0 (#37) 5 years ago
Cole Brown 9b5e158caf Raise minimum bits required for RSA key to 2048 5 years ago
Cole Brown 7fd5c8611a Remove support for blowfish 5 years ago
Cole Brown 3257399c97 Return error rather than panic in GenerateEKeyPair 5 years ago
Cole Brown 7888bb008d Replace bytes.Equal -> subtle.ConstantTimeCompare 5 years ago
Jakub Sztandera 8483b62ecd Add license files (#24) 5 years ago
Łukasz Magiera d3e5c0cc85 eventbus interface changes (#22) 5 years ago
Cole Brown 464d1e2220 Add OpenCensus metrics registration functionality to core 5 years ago
Whyrusleeping d962316f81 eventbus abstraction + initial events (#17) 5 years ago
Raúl Kripalani ebfb757744 peerstore/protobook: support removing protocols. (#20) 5 years ago
Steven Allen 5a976ee3d8 feat(peer): implement AddrInfosFromP2pAddrs and SplitAddr 6 years ago
Steven Allen f914c757b1 fix: handle empty addrs case 6 years ago
Steven Allen 6d13581574 chore: cleanup address parsing 6 years ago
Raúl Kripalani 717e15fe60 fix duplicated import. 6 years ago
Raúl Kripalani d090163dda absorb {crypto,peer} test utils. (#8) 6 years ago
Raúl Kripalani 0a9354a857 Absorb go-libp2p abstractions and core types into this module (#1) 6 years ago