commucat-federation

Crates.iocommucat-federation
lib.rscommucat-federation
version1.0.103
created_at2025-09-24 03:58:50.535433+00
updated_at2025-10-22 00:40:02.267411+00
descriptionFederation event signing and verification for CommuCat domains
homepagehttps://commucat.tech
repositoryhttps://github.com/ducheved/commucat
max_upload_size
id1852470
size33,039
MrDucheved (Ducheved)

documentation

README

commucat-federation

Utilities for signing and validating inter-domain events.

  • FederationEvent – canonical representation of an outbound event (identifier, origin domain, JSON payload, scope).
  • sign_event / verify_event – Ed25519 signatures over a BLAKE3 digest, compatible with commucat-crypto::EventSigner / EventVerifier.
  • PeerDescriptor – metadata describing trusted peers (domain, endpoint, public key, last-seen timestamp).

The crate is used by the server to enqueue outbound events into the federation outbox and to verify inbound payloads delivered through /federation/events. It focuses purely on message authenticity; transport, retries and monitoring are handled by the server crate.

Commit count: 41

cargo fmt