Catalog PyPI
PACKAGE EXPLORERView in registry

agentvault-mls-rs-uniffi

PyPI

AgentVault's patched UniFFI Python bindings for mls-rs (RFC 9420 MLS)

cryptographye2eemlsrfc9420uniffi
Versions collected1
Direct dependencies0From release 0.1.1
Last observed20 Oct, 23:38 UTC

README

Version 0.1.1 documentation

agentvault-mls-rs-uniffi

AgentVault's patched UniFFI Python bindings for mls-rs (RFC 9420 Messaging Layer Security).

What's in this fork

This is a fork of upstream awslabs/mls-rs published as a Python wheel. It adds three additive UniFFI exports needed for wire-format interop with ts-mls:

  • Group.export_secret(label, context, len) — RFC 9420 §8.5
  • Message.to_bytes() — serialize to wire bytes
  • Message.from_bytes(bytes) — deserialize from wire bytes

The patches are additive (no breaking changes) and are intended to be upstreamed to awslabs/mls-rs. Once upstreamed and a release is cut, this package will be deprecated in favor of the upstream wheel.

Install

pip install agentvault-mls-rs-uniffi

Wheels are published for:

  • Linux x86_64 (manylinux2014)
  • macOS universal2 (x86_64 + arm64)
  • Windows x86_64
  • Python 3.10, 3.11, 3.12, 3.13

Usage

from mls_rs_uniffi import Client, ClientConfig, generate_signature_keypair, CipherSuite

config = ClientConfig()
keypair = generate_signature_keypair(CipherSuite.CURVE25519_AES128)
client = Client(name=b"alice", signature_keypair=keypair, client_config=config)
key_package = client.generate_key_package_message()

See the upstream mls-rs-uniffi tests for more examples.

Why a fork

Phase 0 of AgentVault's Hermes plugin validated wire-format interop between Python (mls-rs-uniffi) and Node (ts-mls), but ts-mls requires access to the message wire bytes and the group's exported secret — neither of which is exposed by upstream mls-rs-uniffi as of v0.13.0. The fork adds these as additive UniFFI methods. See the patch for full diff.

License

Apache-2.0 OR MIT (matching upstream).

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.19 May 20260

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
awslabs/mls-rs

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
motiveflowllc/mls-rs

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 23:38 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:7208a38b3a9c2a8198aae881d5da3b610390cae3bd65baab7131356ac6c344b5