Repository navigation
Live Endpoint Receipt Live6A
Published documentation mirror. Edit the source through a repository PR. See Project status.
Status: accepted (224 local gates, nine hosted checks, reported manual review and merge). Accepted baseline: LIVE5. This is a native integration increment, not deployed endpoint monitoring.
The existing M6.1 pipeline authenticates the peer,
checks current enrollment and validates the KSTD envelope before calling a
trusted receipt sink. The M6.9 recovery contract
previously used a test-only adapter. SqliteReceiptSink is now a reusable
Qt-independent adapter for the SQLite backend already used by the manager's
read-only event query path. It borrows an explicitly opened store owned by the
serialized trusted receiver owner. It does not create storage, grant network
permission, authenticate peers independently, or install a listener.
The constructor copies a bounded exact source unit, configured journal mode,
endpoint ID and destination binding derived from the configured manager pin.
Every commit checks the endpoint, exact binding and row size independently.
The underlying store validates the canonical row and source, bounds, private
storage, integrity and transaction. Receiver wall-clock milliseconds are
assigned locally; source timestamps are not arrival timestamps. Only a nonzero
ID with durable Ok or ExactRetry permits the existing receiver to attempt
an authenticated ACK. Exceptions and all other outcomes deny receipt. An exact
retry preserves the original received timestamp and evidence. The existing
receiver still revalidates enrollment after commitment, before ACK; a committed
record is not rolled back merely because ACK fails or authority is withdrawn.
Index publication is deliberately separate from raw durability. No index is published by the receipt adapter; the trusted owner must schedule bounded pending-index recovery. A durable raw receipt does not imply searchable evidence, verified endpoint behavior, successful delivery of ACK, or an alert. The existing development SQLite quota remains in force. The adapter must not be called directly with untrusted network/device messages; caller-provided configuration is not an authorization token. No new stored fields or schema, credentials, public egress, privileges or dependencies are introduced.
The existing M6.9 recovery regression remains intact. Its CTest additionally exercises the new adapter using the real durable sender queue, disposable PKI, mutually authenticated TLS sessions (ciphertext relayed in memory), real SQLite transactions and disposable private directories. Tests cover consent denial, unsafe storage, lost ACK, sender and receiver reopen, exact retry, conflict, wrong endpoint/destination/source, malformed input, quota refusal, explicit index publication, query provenance and revocation. The full runner repeats the combined contract in Release and ASan/UBSan. No real LAN data is used. This is not a real TCP transport, daemon listener or physical-device fixture. The desktop is unchanged; manually verify the accepted LIVE5 presentation and absence of automatic endpoint collection in an ordinary launch.
- LIVE6B.1: bounded connected TCP ciphertext driver and actual loopback integration. Subsequent LIVE6B: explicit manager-owned endpoint transport and agent transport, scoped network authorization, credential provisioning, bounded connection/handshake budgets, deadlines, revocation and pending-index scheduling.
- LIVE6C: gateway and agentless device ingress, including separate authorization, metadata-only policy, untrusted UDP provenance, rate and queue budgets, durable typed schema, and stale-source withdrawal. See M9.4.
- LIVE6D: background evidence execution, retention/rotation, durable alert ledger, freshness and long-duration operational qualification. Subdivide further if necessary; M10 remains deferred.
Relevant existing boundaries: TB-04/TB-06/TB-07 and M6.1 TV-06/07/13/25/26. No threat closure or new remote monitoring authority is claimed. The current local LIVE3 evidence format remains separate. Production split-storage receipt integration, global admission limits, verified device relationships and operational alerting remain outstanding.
Source repository · Documentation index · License policy
Documentation mirror — CC-BY-SA-4.0. KnetSentry is not an official KDE project.