Skip to main content

Communication b/w Nodes

  • must use noise channels ECDH (FHE) - snow
    • Elliptic curve diffie helman Key exchange
    • ECIES ?
  • gRPC with Protocol Buffers
  • Transport: TCP with TLS 1.3
  • Discovery: DHT (Kademlia) for WAN

Each node maintains:

  • Routing table
  • Connection pool
  • Message queue
  • State store

Protocol: Noise Protocol Framework

  • Pattern: Noise_XX_25519_AESGCM_SHA256

Key Management

  • Static Keys: Ed25519 keypairs for node identity
  • Ephemeral Keys: X25519 for Noise handshakes
  • Key Rotation:
    • Session keys: Every 1000 messages or 1 hour
    • Static keys: Manual rotation with certificate transparency

Cryptographic Primitives

  • Asymmetric: Ed25519 (signatures), X25519 (key exchange)
  • Symmetric: AES-256-GCM
  • Hash: BLAKE3
  • KDF: HKDF-SHA256

DO WE NEED SOMETHING LIKE KAFKA ? I MEAN I FEEL IT INCREASES NETWORK LATENCY WHAT IF SIGAG IS BROKER IN KAFKA OR RABBIT MQ ?

should think about it! theoritically they are just TCP wrappers right ? why not use bare tcp with custom security and serde ?

Am i missing anything

loggin how ?

sharding how ?

MAC ? HMAC ?