mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-09 14:40:53 +00:00
Use a different ECC backend with a compatible serializer
This library has the ``SEC1`` encoder which is compatible with the serialization of ECC keys/points used in the Go libp2p impl
This commit is contained in:
@ -283,7 +283,7 @@ async def _establish_session_parameters(
|
||||
|
||||
remote_ephemeral_public_key_bytes = remote_exchange.ephemeral_public_key
|
||||
remote_ephemeral_public_key = ECCPublicKey.from_bytes(
|
||||
remote_ephemeral_public_key_bytes
|
||||
remote_ephemeral_public_key_bytes, curve_param
|
||||
)
|
||||
remote_encryption_parameters.ephemeral_public_key = remote_ephemeral_public_key
|
||||
remote_selection = (
|
||||
|
||||
Reference in New Issue
Block a user