internal/

directory
v0.16.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2026 License: Apache-2.0

Directories

Path Synopsis
Package bridge implements the SMTP-DMCN bridge protocol, allowing legacy email clients to exchange messages with DMCN users.
Package bridge implements the SMTP-DMCN bridge protocol, allowing legacy email clients to exchange messages with DMCN users.
Package buildinfo resolves the version string a binary reports.
Package buildinfo resolves the version string a binary reports.
core
crypto
Package crypto provides thin wrappers around Go standard library and golang.org/x/crypto primitives for the DMCN protocol.
Package crypto provides thin wrappers around Go standard library and golang.org/x/crypto primitives for the DMCN protocol.
domainverify
Package domainverify implements DOMAIN_DNS domain-control verification for DMCN identities (SPEC.md §1) and the DNS-seeded discovery layer that is the registry's bootstrap root.
Package domainverify implements DOMAIN_DNS domain-control verification for DMCN identities (SPEC.md §1) and the DNS-seeded discovery layer that is the registry's bootstrap root.
identity
Domain Authority Records and address removal records (SPEC.md §2).
Domain Authority Records and address removal records (SPEC.md §2).
mailfilter
Package mailfilter models a recipient's mail block/allow policy (P5 of the domain-anchored federation plan).
Package mailfilter models a recipient's mail block/allow policy (P5 of the domain-anchored federation plan).
message
Package message implements the three-layer message structure defined in SPEC.md §3: PlaintextMessage, SignedMessage, and EncryptedEnvelope.
Package message implements the three-layer message structure defined in SPEC.md §3: PlaintextMessage, SignedMessage, and EncryptedEnvelope.
onion
Package onion implements DMCN onion routing (SPEC.md §6): per-hop layered encryption (SealLayer/OpenLayer), fixed 3-hop packet build/peel (BuildOnion/PeelOnion), and diversity-aware route selection (SelectRoute).
Package onion implements DMCN onion routing (SPEC.md §6): per-hop layered encryption (SealLayer/OpenLayer), fixed 3-hop packet build/peel (BuildOnion/PeelOnion), and diversity-aware route selection (SelectRoute).
pairing
Package pairing provides the throwaway ephemeral-address helpers used by the resolver and the PutRecord path to recognise non-routable pairing addresses.
Package pairing provides the throwaway ephemeral-address helpers used by the resolver and the PutRecord path to recognise non-routable pairing addresses.
Package keystore provides encrypted on-disk storage for identity key material.
Package keystore provides encrypted on-disk storage for identity key material.
Package node provides a combined DMCN node that runs the identity registry and relay service in a single process.
Package node provides a combined DMCN node that runs the identity registry and relay service in a single process.
Package p2plog centralizes how we treat libp2p's internal logging.
Package p2plog centralizes how we treat libp2p's internal logging.
Package peerpolicy decides whether a remote libp2p peer is permitted to federate with this node: connect (via the ConnectionGater), take part in peer discovery, and open relay streams.
Package peerpolicy decides whether a remote libp2p peer is permitted to federate with this node: connect (via the ConnectionGater), take part in peer discovery, and open relay streams.
Package petition implements the mailbox petition queue: the way a person gets an address on a live self-hosted domain without the domain root key ever being on the node.
Package petition implements the mailbox petition queue: the way a person gets an address on a live self-hosted domain without the domain root key ever being on the node.
Package registry is the DMCN identity verification service: the reader-side layer that decides whether a record may be trusted (credential/DAR/routing checks + DNS anchoring).
Package registry is the DMCN identity verification service: the reader-side layer that decides whether a record may be trusted (credential/DAR/routing checks + DNS anchoring).
Package relay implements the DMCN relay node protocol for message storage and delivery.
Package relay implements the DMCN relay node protocol for message storage and delivery.
web
api
Package api implements the HTTP handlers for dmcnd's built-in web mail client: authentication, identity lookup, message send, mailbox sync, and — depending on how the domain is provisioned — either open registration (dev) or the mailbox petition flow (a live domain, whose root key is not on this machine).
Package api implements the HTTP handlers for dmcnd's built-in web mail client: authentication, identity lookup, message send, mailbox sync, and — depending on how the domain is provisioned — either open registration (dev) or the mailbox petition flow (a live domain, whose root key is not on this machine).
server
Package server provides the HTTP server, routing, and TLS configuration for the DMCN web client backend.
Package server provides the HTTP server, routing, and TLS configuration for the DMCN web client backend.
Package webcore holds the HTTP plumbing shared by DMCN's web-facing services (the dmcn-web mail client and the dmcn-b2c funnel service): session tokens, auth/CORS/CSP/rate-limit middleware, JSON error responses, and the challenge-response nonce store.
Package webcore holds the HTTP plumbing shared by DMCN's web-facing services (the dmcn-web mail client and the dmcn-b2c funnel service): session tokens, auth/CORS/CSP/rate-limit middleware, JSON error responses, and the challenge-response nonce store.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL