Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentvault_mls_rs_uniffi-0.1.0.tar.gz (440.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

agentvault_mls_rs_uniffi-0.1.0-py3-none-win_amd64.whl (2.8 MB view details)

Uploaded Python 3Windows x86-64

agentvault_mls_rs_uniffi-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

agentvault_mls_rs_uniffi-0.1.0-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (4.6 MB view details)

Uploaded Python 3macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

Details for the file agentvault_mls_rs_uniffi-0.1.0.tar.gz.

File metadata

  • Download URL: agentvault_mls_rs_uniffi-0.1.0.tar.gz
  • Upload date:
  • Size: 440.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agentvault_mls_rs_uniffi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 69ecc1c226f775a01e9cceb78b9dac0478f2f913ea9e1b53be7793fb3ca4560e
MD5 2d4db3df3eea40f0cc62be79a11f66af
BLAKE2b-256 fcd59ce03e7722f8dcff1798142616037b0e92a27481956e22cf1ffa4304fa53

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentvault_mls_rs_uniffi-0.1.0.tar.gz:

Publisher: release.yml on motiveflowllc/mls-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentvault_mls_rs_uniffi-0.1.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for agentvault_mls_rs_uniffi-0.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d20d3ee7e43e4da20a8b30a645b4e6e705aef264797124cb8ff375b60fe88734
MD5 f60c988893b2cb4da5dc596e40127cc0
BLAKE2b-256 2117979350f098fe8594150b60ee3fed946d4f74bb609235bece991ab2cc7ebf

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentvault_mls_rs_uniffi-0.1.0-py3-none-win_amd64.whl:

Publisher: release.yml on motiveflowllc/mls-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentvault_mls_rs_uniffi-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for agentvault_mls_rs_uniffi-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5b244d58d51c8d5984ef8ad6bafa42a70c3cab26f2fbcc4e4a0ffe6d833df7ed
MD5 7159e52c2c008a68bdbe83b97e75231d
BLAKE2b-256 080716b9f64fa1e9e83ced2f59819f57a221ac97e6834f8344f8d5f00ad0be6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentvault_mls_rs_uniffi-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on motiveflowllc/mls-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentvault_mls_rs_uniffi-0.1.0-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for agentvault_mls_rs_uniffi-0.1.0-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 2c34a7d4f153a018e083407e57ecf89642028d82b6ac0953a0fa26843b5168bf
MD5 4fca7619202731a600a997f3c594db95
BLAKE2b-256 18bba447fcf95aaaf9a57bb460c1aa8f35a7bc0e771686088740f07d5c3abad0

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentvault_mls_rs_uniffi-0.1.0-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:

Publisher: release.yml on motiveflowllc/mls-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page