feat(relay): the relay service for wanderbooks.link (P15 unit B2)
A new crate, crates/relay (lib `relay`, binary wanderbooks-relay), with no ledger-* dependency. Routes an assistant's TLS connection by the server name in its ClientHello down the line an app holds open, forwarding encrypted bytes only; the line is yamux over TLS 1.3 on 443, the app proving its key with an Ed25519 signature bound to the session's TLS exporter and a fresh nonce. One durable table (SQLite: name, key, created, blocked), four-word names from a curated list of 1454 words (42.0 bits), a PROXY v2 header with the caller's address, an authoritative DNS server that publishes an app's ACME DNS-01 value for its own name only, and a list of certificate authorities served as data. Every table, queue, buffer and time is bounded. New dependencies, each permissive and passing cargo deny: yamux 0.14 (Apache-2.0 OR MIT; the multiplexer), hickory-proto 0.26 (MIT OR Apache-2.0; DNS wire format, std only), rusqlite (already in the tree), rustls and tokio-rustls (already in the tree, ring provider), ring (Ed25519, already in the tree); dev only: rcgen 0.14 (MIT OR Apache-2.0), proptest, tempfile. Added to the kernel-only lint list (no Decimal in the crate). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
5682258f8d
commit
31f706bd7e
22 files changed
+7010
-6
No files matched your search
@@ -63,7 +63,7 @@ check-shard shard:
|
||||
# the workspace, since K-U12. None leaves the list, and `kernel-only`
|
||||
# fails when a folder under crates/ is not in it, so a new crate joins it
|
||||
# on the day it is added.
|
||||
kernel_only_crates := "ledger-core ledger-cli ledger-host ledger-reader ledger-vault ledger-store ledger-config ledger-import ledger-package ledger-mcp ledger-gui"
|
||||
kernel_only_crates := "ledger-core ledger-cli ledger-host ledger-reader ledger-vault ledger-store ledger-config ledger-import ledger-package ledger-mcp ledger-gui relay"
|
||||
|
||||
# Money arithmetic lives in the kernel and nowhere else (AGENTS.md, bar
|
||||
# item 1). The compiler is asked (scripts/raw-decimal-arith.sh): a raw
|
||||
|
||||
Reference in new issue
Block a user