#federation #commucat #signature

commucat-federation

Federation event signing and verification for CommuCat domains

24 stable releases

Uses new Rust 2024

1.0.103 Oct 22, 2025
1.0.102 Oct 5, 2025
1.0.60 Sep 29, 2025

#720 in Cryptography

MPL-2.0 license

55KB
1K SLoC

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.

Dependencies

~7–10MB
~185K SLoC