Markus Maiwald
07ccd484f1
refactor: restructure repository with tiered licensing
...
Major restructuring of libertaria-sdk -> libertaria-stack:
FOLDER REORGANIZATION:
- core/ - L0-L3 layers (Commonwealth LCL-1.0)
- l0-transport/
- l1-identity/
- l2_session/
- l2-federation/
- l2-membrane/
- sdk/ - L4+ and bindings (Sovereign LSL-1.0)
- janus-sdk/
- l4-feed/
- apps/ - Examples (Unbound LUL-1.0)
- examples/
- legal/ - All license texts
LICENSES ADDED:
- LICENSE_COMMONWEALTH.md (LCL-1.0) - Viral reciprocity for Core
- LICENSE_SOVEREIGN.md (LSL-1.0) - Business-friendly for SDK
- LICENSE_UNBOUND.md (LUL-1.0) - Maximum freedom for docs/apps
BUILD.ZIG UPDATED:
- All paths updated to new structure
- Examples imports fixed
README.md REWRITTEN:
- Documents new folder structure
- Explains tiered licensing strategy
- Clear SPDX identifiers per component
NO CLA REQUIRED - contributors keep copyright
2026-02-05 20:12:32 +01:00
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
97251137af
feat(l1): Integrate real LibOQS (ML-KEM-768)
...
- Build System: Link against static liboqs.a (built without OpenSSL)
- PQXDH: Replace stubs with OQS_KEM_ml_kem_768 functions
- Tests: Verify full handshake with real post-quantum KEM
- Disable Kyber (old) in liboqs build to fix symbol conflicts
2026-01-30 23:08:15 +01:00
Markus Maiwald
97e1ad3f69
feat(l1): PQXDH Protocol & Security Hardening
...
- Implement PQXDH handshake (RFC-0830) with stubbed KEM
- Complete X3DH key agreement logic (Alice <-> Bob)
- Correctly implements HKDF-SHA256 key derivation
- Unit tests verify shared secret agreement
- NOTE: ML-KEM-768 is currently stubbed pending liboqs integration
- Harden SoulKey Implementation
- Replace potentially unsafe @memset with std.crypto.secureZero
- Ensure private keys and seeds are wiped from memory
- Documentation
- Add FFI export comments to crypto.zig
- Build System
- specific test step for PQXDH
2026-01-30 22:57:12 +01:00