Skip to main content

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).

Metadata

Release files for agentvault-mls-rs-uniffi 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentvault-mls-rs-uniffi 0.1.1
File Size Uploaded Provenance Actions
agentvault_mls_rs_uniffi-0.1.1.tar.gz 440.3 kB With provenance Details for agentvault_mls_rs_uniffi-0.1.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for agentvault-mls-rs-uniffi 0.1.1
File Interpreter ABI Platform Actions
agentvault_mls_rs_uniffi-0.1.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for agentvault_mls_rs_uniffi-0.1.1-py3-none-win_amd64.whl
agentvault_mls_rs_uniffi-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for agentvault_mls_rs_uniffi-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
agentvault_mls_rs_uniffi-0.1.1-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl Python 3 none macOS 10.12+ x86-64, macOS 11.0+ ARM64, macOS 10.12+ universal2 (ARM64, x86-64) Details for agentvault_mls_rs_uniffi-0.1.1-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl

Total release size: 10.9 MB

Release files / agentvault_mls_rs_uniffi-0.1.1.tar.gz

Download URL agentvault_mls_rs_uniffi-0.1.1.tar.gz
Size 440.3 kB
Tags Source
SHA-256 checksum
How to use checksums
073980e5594ff5222a9204f8025d6df9bf5cb5583ecd34289a5c28db7ad479cf
BLAKE2b-256 checksum
How to use checksums
77806a7ab0bfb3a7f2bc542ca82c26b8e58ab44a61c875239130d0535e3b13cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Release files / agentvault_mls_rs_uniffi-0.1.1-py3-none-win_amd64.whl

Download URL agentvault_mls_rs_uniffi-0.1.1-py3-none-win_amd64.whl
Size 2.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
ced25ed15706800a77a4e044e8772356ac50a9d55d2ad1e0a677d6cfc40446fc
BLAKE2b-256 checksum
How to use checksums
b32e7bcc0996591c89d07c5b6ea5b38c84f694e4cb3f305e2a210f267d27ec8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Release files / agentvault_mls_rs_uniffi-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL agentvault_mls_rs_uniffi-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.7 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
343a38afdf77e7630b0b11b2acd8ec03aa0efc9063966fc83d49cd3adc75b9f6
BLAKE2b-256 checksum
How to use checksums
5f7cd3c2aa9faf64caab483d8088f81e34ebd757277af29bf01e685c6cc927c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Release files / agentvault_mls_rs_uniffi-0.1.1-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl

Download URL agentvault_mls_rs_uniffi-0.1.1-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Size 5.0 MB
Tags Python 3 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4d73628e78cd8d79c162a889de75e767151c39e2bea62c3e962175cc9f5c0d53
BLAKE2b-256 checksum
How to use checksums
ee26937936595af2ad84eb1507004f8fe828390a967dd5ef6abf86822a1cc8ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Security for agentvault-mls-rs-uniffi 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for agentvault_mls_rs_uniffi-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

4 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page