py-libp2p/libp2p/crypto
mhchia 921bfb65cc
Verify the remote pubkey and peer_id
- Add `from_bytes` in RSAPublicKey and Secp256k1PublicKey
- Add `pubkey_from_protobuf` to parse pubkey from protobuf
- Verify key and peer_id in `InsecureSession.run_handshake`
2019-08-22 22:53:48 +08:00
..
pb Update pb 2019-08-22 22:53:46 +08:00
__init__.py Add abstraction for a cryptographic key 2019-08-14 09:00:39 -07:00
keys.py Satisfy mypy 2019-08-20 19:28:32 +02:00
rsa.py Verify the remote pubkey and peer_id 2019-08-22 22:53:48 +08:00
secp256k1.py Verify the remote pubkey and peer_id 2019-08-22 22:53:48 +08:00
utils.py Verify the remote pubkey and peer_id 2019-08-22 22:53:48 +08:00