Skip to main content

Crate umbera_core

Crate umbera_core 

Source

Modules§

amf
AMF — Asymmetric Message Franking (verifiable abuse reporting), server-blind.
callkey
devlink
pdf
primitives
provider

Structs§

CommitBundle
IncomingWithSender
Result of process_incoming_with_sender.
KeyPackageInfo
What is known about a key package before adding it: suite and its leaf’s memberId (signature verified).
MemberInfo
MlsClient
One MLS identity + its groups. uniffi Object (Arc on the Kotlin/Swift side).
SenderLeaf
Sender leaf of an incoming frame: tree index and credential (identity), verified by OpenMLS (leaf signature).

Enums§

Incoming
Classified result of feeding an inbound MLS message to the group.
MlsError

Constants§

LEGACY_LEAF_CAP
Leaf limit while any member lacks the new-core marker (= the old limit).
MAXIMUM_FORWARD_DISTANCE
Forward distance — the OpenMLS default (as on 0.6).
MAX_GROUP_LEAVES
Leaf limit when all leaves run the new core: 20 people × (phone + 4 desktops).
MAX_GROUP_MEMBERS
Hard cap on group membership, enforced at the CRYPTO layer (audit finding #1).
MULTI_DEVICE_CAPABILITY
“Core supports linked devices” marker in a leaf’s capabilities: an extension type from the private-use range (RFC 9420 §17.3, 0xF000–0xFFFF). Old clients parse it as an unknown type and ignore it.
OUT_OF_ORDER_TOLERANCE
Sender ratchet window (SenderRatchetConfiguration) for all our groups.
XWING_CAPABILITY
“Core supports X-Wing groups” marker in a leaf’s capabilities, RFC 9420 private range.

Functions§

key_package_info
Parse and validate a key package (signature, lifetime, suite) without a group.
mls_suite_legacy
Legacy suite code (0x0001), exposed to the app.
mls_suite_xwing
X-Wing suite code (0x004D, X25519 + ML-KEM-768), exposed to the app.
quant_address
What add_members hands back: the Commit to fan out to EXISTING members, and the Welcome to send to the NEW members (both already MLS-encrypted). Anti-equivocation: recompute the public “quant address” from a peer’s classical (secp256k1) + Dilithium public keys, EXACTLY as the server computes it, so a client can check resolved keys against an address it got out of band: raw = BLAKE3(classical || dilithium); checksum = BLAKE3(raw)[:4]; address = “quant” + base58(raw || checksum).