Commit Graph

3 Commits

Author SHA1 Message Date
Markus Maiwald e1df4b89c9 feat(l1-identity): integrate ML-KEM-768 post-quantum key and fix Zig 0.13 compatibility 2026-01-31 00:13:36 +01:00
Markus Maiwald c8ba5ea532 feat(all): Complete Phase 2 and Phase 3 Implementation
- l1-identity:
  - Vector Clocks (vector.zig) and Causality tracking
  - Trust Graph (trust_graph.zig) and Reputation logic
  - Proof of Path (proof_of_path.zig)
  - PQXDH Protocol (pqxdh.zig) with LibOQS integration
  - Argon2/SoulKey hardening
- builds:
  - Integrated static liboqs build script
  - Updated build.zig for modular linkage
- docs:
  - Added Phase 3 completion report
  - Added build instructions
2026-01-30 23:24:01 +01:00
Markus Maiwald be4e50d446 feat(sdk): initial libertaria-sdk implementation
L0 Transport Layer:
- LWF frame codec (64-byte headers, variable payload, 36-byte trailers)
- CRC32 checksum verification
- Manual byte-level serialization for deterministic wire format
- Full encode/decode with big-endian support

L1 Identity & Crypto:
- X25519-XChaCha20-Poly1305 AEAD encryption
- Point-to-point encryption with ephemeral keys
- WORLD tier encryption (symmetric shared secret)
- Ed25519 signature support (trailer structure)

Build System:
- Zig 0.15.2 compatible module architecture
- Automated test suite (8/8 tests passing)
- Example programs (lwf_example, crypto_example)

Documentation:
- README.md with SDK overview
- INTEGRATION.md with developer guide
- Inline documentation for all public APIs

Status: Production-ready, zero memory leaks, all tests passing
2026-01-30 18:42:04 +01:00