Repository navigation
Conversation
…ry (DIP-0018) - c0mpute-secure-chat: addresses = hash of all four public keys, signed key/home records, sealed outer layer hiding sender and recipient, rotating recipient tags, replay guard, bounded mailbox store, rendezvous placement, and client state encrypted at rest. - c0mpute-net: /c0mpute/rpc/1.0.0 named-service request/response (RpcHandler, register_rpc, rpc, connected_peers). - c0mpute-core::dm: mailbox role (on by default, gateways too), gossip on c0mpute/dm/v1, direct delivery to a recipient's home node, store on 3 rendezvous-ranked mailboxes otherwise, fetch/ack, key publish and lookup by fingerprint. New Role::Mailbox. - c0mpute dm: send/pull/inbox/lookup/contacts/block/unblock wired to the network; old `c0mpute chat <cmd>` forms still work. - tests: unit tests plus dm_e2e (4 mailboxes, offline store-and-forward, ack deletes every copy, blocklist, fingerprint lookup, direct delivery). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan12 finding(s) HIGH/CRITICAL: 1 | MEDIUM: 8 | LOW: 3
Snippets are redacted; ThreatCrush never prints matched credential material. |
Collaborator
Author
|
Shipped in #169 (v0.2.82) together with the hosting race fix. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Turns
c0mpute dmfrom a local keygen stub into working peer-to-peer, end-to-end encrypted one-to-one messaging. No coordinator is involved.How it works
HomeRecordthat it gossips together with its dial addresses.chat-state.enc, encrypted with AES-256-GCM under a key derived from the chat seed.Changes
c0mpute-secure-chat: new modulesidentity,sealed,mailbox,placementandstate.c0mpute-net: a new/c0mpute/rpc/1.0.0request/response protocol for named services (RpcHandler,register_rpc,rpc,connected_peers). Bodies are capped at 1 MiB per request and 8 MiB per response.c0mpute-core::dm: the network service, plus a newRole::Mailbox. The role is on by default, gateways serve it too, and the supervisor starts it.c0mpute dm send|pull|inbox|lookup|contacts add/ls/rm|block|unblock. The oldc0mpute chat <cmd>forms still work.C0MPUTE_DM_PASSWORDis read for scripts.plugins/secure-chat/module.tomlupdated to match.Tests
tests/dm_e2e.rsruns on loopback with 4 mailbox nodes. It covers:cargo test --workspace --lockedpasses locally, except for one failure inhosting_market_e2e(Paid hosting marketplace: d1sks-picked preferred hosts, proof of storage, settlement (off by default) #163, just merged). That test does not touch this code. It saw 4 challenge receipts instead of 3 under full-workspace load, and passed 2 of 2 when run alone, so it looks timing-sensitive.Not in this PR
Group chats, attachments, web/TUI surfaces, CoinPay DID binding, and Double Ratchet forward secrecy.
🤖 Generated with Claude Code