hide-mls
Group messaging for HIDE identities
over MLS (RFC 9420), built on mls-rs. The join this crate implements: an MLS
credential carries a HIDE device id, the device's hybrid verifying key, and a
HIDE signature over the fresh MLS signature key. The identity provider checks
every roster entry against the identity log's current Membership, so a
device the log has revoked is refused at the door and visible as stale if it
was already inside.
HIDE adds no cryptography of its own on top of MLS. The MLS ciphersuite is
classical: post-quantum MLS suites are still a draft (hide_mls::PQ_STATUS).
use IdentityLog;
use ;
use SigningIdentity;
let laptop = generate?;
let phone = generate?;
let recovery = generate?;
let mut log = create?;
log.enrol?;
let alice = client_for?;
let bob = client_for?;
let mut group = alice.create_group?;
let key_package = bob.generate_key_package_message?;
let commit = group.commit_builder.add_member?.build?;
group.apply_pending_commit?;
let = bob.join_group?;
let sent = group.encrypt_application_message?;
let received = bobs_group.process_incoming_message?;
assert!;
// Receiving a message is not enough: the sender must still be a device the
// identity trusts. `process_incoming_message` alone accepts a revoked device.
accept_from_trusted?;
assert!;
# Ok::
mls-rs has no public third-party audit; neither does this crate.
Experimental and unaudited. Licensed Apache-2.0.