Replies: 1 comment
-
Noise Implementation Checklist / TasksNoise Protocol Core
Identity Verification
Secure Channel Transport
Multistream-select Integration
Interoperability Tests
Unit & Integration Tests
Documentation & Spec Reference
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We propose implementing the libp2p Noise protocol in
py-libp2p
, with full compliance to the/noise
protocol specification and interoperability with Go, JS, and Rust libp2p peers.The solution consists of the following components:
1. Handshake Implementation (Noise_XX)
XX
handshake pattern, using the Noise Protocol Framework as the base.X25519
for Diffie-Hellman key exchange,AES-GCM
orChaCha20-Poly1305
for encryption, andSHA256
as the hash function (per spec).prologue = "libp2p-noise:" + identity_key_protocol
2. Key and Identity Management
3. Secure Channel Construction
Connection
abstraction with read/write stream support.4. Multistream-select Integration
/noise
as a security protocol option during the secure channel negotiation phase./noise
as part of multistream-select negotiation (/multistream/1.0.0
).5. Fallback and Configurability
6. Testing and Interoperability
Implement test cases for:
Test interop with
go-libp2p-noise
andjs-libp2p-noise
nodes.7. Spec Compliance and Maintenance
Ensure the implementation tracks the libp2p Noise spec .
Reference implementation and design guidance can be drawn from:
Beta Was this translation helpful? Give feedback.
All reactions