Skip to content

✉️ L-CHAT-4: Sealed Sender envelope over trios-mesh ETX #32

Open

Description

@gHashTag

Lane L-CHAT-4

Parent EPIC: #28 (Trinity Secure Chat)
Anchor: φ² + φ⁻² = 3
ETA: 4 days

See parent EPIC #28 for full mission scope, threat model (TM-1..TM-10), R-CHAT laws (R-CHAT-1..R-CHAT-12), acceptance gates G-C1..G-C10, and 21 cited sources.

Detailed design: docs/chat/trinity-chat-design.md (added in PR feat/trios-chat-epic).

Coordination Protocol

  • 🛡 claim · 💓 heartbeat (60min) · ✅ done · 🚫 block · 🔓 release after 4h silence

φ² + φ⁻² = 3 · TRINITY · CHAT · NEVER STOP

Activity

  1. gHashTag commented on May 9, 2026

    @gHashTag
    CollaboratorAuthor

    🔥 IGNITE — Trinity Secure Chat scaffold landing

    Anchor: φ² + φ⁻² = 3 · TRINITY · CHAT · ZERO-METADATA

    PR: Trinity-S-AI-DNA/trios#631
    Local trios tracker: Trinity-S-AI-DNA/trios#632

    Verification snapshot [VERIFIED]

    • cargo test -p trios-chat --lib — 35/35 pass
    • cargo run --bin e2e_chat_25 — 25/25 pass
    • cargo run --bin falsifier_runner — direct 100 % / indirect 90 % / multi-turn 100 %
    • cargo test --tests r_chat_guard — 3/3 pass
    • 6 Coq theorems Defined + 1 Admitted (R5 budget honored)
    • 200-attack falsifier corpus committed
    • 10 ADR-CHAT-001..010 + 29 KB design doc with 21 sources

    Honesty (R5)

    Lanes 3 (MLS) and 5 (Persistence) are explicitly [ASPIRATIONAL] in this
    scaffold — ADR-CHAT-001 / ADR-CHAT-008 capture the design; full impl lands
    in follow-up PRs. Coq INV-CHAT-4 (sender unlinkability) is Admitted
    within the documented R5 budget.

    L1 ✅ no .sh · L2 ✅ Closes #632 in PR body.

  2. gHashTag commented on Jul 7, 2026

    @gHashTag
    CollaboratorAuthor

    ✅ L-CHAT-4 implemented → trios-mesh PR #21

    PR: https://github.com/gHashTag/trios-mesh/pull/21
    Files: src/chat/sealed.rs

    Sealed-sender envelope: fresh X25519 ephemeral per message, route bound as AEAD AAD, sender identity only inside the encryption.

    Gate: G-C3 — sender↔receiver unlinkable on the wire.

    Part of EPIC #28. 163 tests green · fmt + clippy -D clean.

  3. dmitrii-f-t27 commented on Oct 11, 2026

    @dmitrii-f-t27
    Collaborator

    Checked against gHashTag/trios main at 8b229e9 (2026-09-24). Trios CI on that commit is green: run 36028910601 runs the unit tests of crates/trios-chat/rings/*.

    The 2026-07-07 comment points to gHashTag/trios-mesh#21. That repository returns 404 for this account, so I cannot confirm that PR was merged, and it is not counted here. Leaving this open.

    On trios main: rings/CR-CHAT-01/src/sealed.rs has a sealed-sender envelope (X25519 + ChaCha20-Poly1305, 16-byte dest_hash, padding class), with round-trip, wrong-recipient and tamper tests in CI.

    Missing:

    • The file tags the G-C3 statistical unlinkability test [ASPIRATIONAL], and I found no such test in trios main.
    • The ring does not depend on trios-mesh. The envelope is not carried over the mesh ETX path.

    Dmitrii Fedorov (@dmitrii-f-t27)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions