feat(mesh): add MLS-Lite to full MLS upgrade path

crypto_negotiation module enables transitioning between crypto modes:

GroupCryptoState tracks current mode:
- MlsLite (signed/unsigned)
- FullMls (classical/hybrid)
- Upgrading (transition state)

MlsLiteBootstrap derives MLS-Lite keys from MLS epoch secret:
- Enables fallback to MLS-Lite over constrained links
- Same group can use full MLS over WiFi, MLS-Lite over LoRa

Upgrade protocol:
1. Member sends KeyPackage over fast link
2. Creator creates MLS Welcome
3. Group transitions to full MLS
4. Optionally maintains MLS-Lite fallback for constrained links
This commit is contained in:
2026-04-01 09:00:57 +02:00
parent 3c6eebdb00
commit 7be7287ba2
2 changed files with 338 additions and 0 deletions

View File

@@ -15,6 +15,7 @@
pub mod address;
pub mod announce;
pub mod announce_protocol;
pub mod crypto_negotiation;
pub mod fapp;
pub mod fapp_router;
pub mod broadcast;