nym icon indicating copy to clipboard operation
nym copied to clipboard

Add shared derivation material support for thread-safe key generation, use with NM clients

Open durch opened this issue 8 months ago • 1 comments

  • Add serialization support to DerivationMaterial for persistence/sharing
  • Implement shared derivation material in BaseClientBuilder with Arc<Mutex<>> for thread safety
  • Add network monitor support for deterministic key generation from file
  • Extend MixnetClientBuilder with shared derivation material functionality
  • Add comprehensive documentation explaining thread-safe sharing and key generation priority

This enables multiple clients to derive keys from the same source material while maintaining thread safety, particularly useful for network monitoring where consistent client identities are needed across multiple instances.


This change is Reviewable

durch avatar Jun 12 '25 15:06 durch

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nym-explorer-v2 🛑 Canceled (Inspect) Jun 12, 2025 3:39pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-nextra ⬜️ Ignored (Inspect) Visit Preview Jun 12, 2025 3:39pm
nym-next-explorer ⬜️ Ignored (Inspect) Visit Preview Jun 12, 2025 3:39pm

vercel[bot] avatar Jun 12 '25 15:06 vercel[bot]