Commit Graph

7 Commits

Author SHA1 Message Date
Eun0us
8b6c1cd53d ε - ChaCha20-Poly1305 AEAD + HKDF crypto upgrade + C3PO rewrite + docs
Crypto:
- Replace broken ChaCha20 (static nonce) with ChaCha20-Poly1305 AEAD
- HKDF-SHA256 key derivation from per-device factory NVS master keys
- Random 12-byte nonce per message (ESP32 hardware RNG)
- crypto_init/encrypt/decrypt API with mbedtls legacy (ESP-IDF v5.3.2)
- Custom partition table with factory NVS (fctry at 0x10000)

Firmware:
- crypto.c full rewrite, messages.c device_id prefix + AEAD encrypt
- crypto_init() at boot with esp_restart() on failure
- Fix command_t initializations across all modules (sub/help fields)
- Clean CMakeLists dependencies for ESP-IDF v5.3.2

C3PO (C2):
- Rename tools/c2 + tools/c3po -> tools/C3PO
- Per-device CryptoContext with HKDF key derivation
- KeyStore (keys.json) for master key management
- Transport parses device_id:base64(...) wire format

Tools:
- New tools/provisioning/provision.py for factory NVS key generation
- Updated flasher with mbedtls config for v5.3.2

Docs:
- Update all READMEs for new crypto, C3PO paths, provisioning
- Update roadmap, architecture diagrams, security sections
- Update CONTRIBUTING.md project structure
2026-02-10 21:28:45 +01:00
Eun0us
ce6f00e24a ε - TUI multi-pane Textual + camera recording frontend + device naming fix 2026-02-06 09:52:20 +01:00
Eun0us
f2a5b50bfd ε - README-UPDATE 2026-02-05 21:51:43 +01:00
Eun0us
c2b4bb3463 ε - Implémentation du module MLAT et upgrade du C2 2026-01-30 22:00:38 +01:00
Eun0us
3ee76bb605 ε - Implentation module camera in c2 + multilateration on web front start with camera start 2026-01-27 15:11:33 +01:00
Eun0us
a9151d4fd2 ε - Update README 2026-01-19 11:37:27 +01:00
Eun0us
9ef72771dc ε - Init Sources 2026-01-15 00:04:00 +01:00