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.5Message.to_bytes()— serialize to wire bytesMessage.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69ecc1c226f775a01e9cceb78b9dac0478f2f913ea9e1b53be7793fb3ca4560e
|
|
| MD5 |
2d4db3df3eea40f0cc62be79a11f66af
|
|
| BLAKE2b-256 |
fcd59ce03e7722f8dcff1798142616037b0e92a27481956e22cf1ffa4304fa53
|
Provenance
The following attestation bundles were made for agentvault_mls_rs_uniffi-0.1.0.tar.gz:
Publisher:
release.yml on motiveflowllc/mls-rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentvault_mls_rs_uniffi-0.1.0.tar.gz -
Subject digest:
69ecc1c226f775a01e9cceb78b9dac0478f2f913ea9e1b53be7793fb3ca4560e - Sigstore transparency entry: 1476196273
- Sigstore integration time:
-
Permalink:
motiveflowllc/mls-rs@3e93395ae591b6984026a581694af7d061fe0d78 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/motiveflowllc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3e93395ae591b6984026a581694af7d061fe0d78 -
Trigger Event:
push
-
Statement type:
File details
Details for the file agentvault_mls_rs_uniffi-0.1.0-py3-none-win_amd64.whl.
File metadata
- Download URL: agentvault_mls_rs_uniffi-0.1.0-py3-none-win_amd64.whl
- Upload date:
- Size: 2.8 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d20d3ee7e43e4da20a8b30a645b4e6e705aef264797124cb8ff375b60fe88734
|
|
| MD5 |
f60c988893b2cb4da5dc596e40127cc0
|
|
| BLAKE2b-256 |
2117979350f098fe8594150b60ee3fed946d4f74bb609235bece991ab2cc7ebf
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentvault_mls_rs_uniffi-0.1.0-py3-none-win_amd64.whl -
Subject digest:
d20d3ee7e43e4da20a8b30a645b4e6e705aef264797124cb8ff375b60fe88734 - Sigstore transparency entry: 1476196360
- Sigstore integration time:
-
Permalink:
motiveflowllc/mls-rs@3e93395ae591b6984026a581694af7d061fe0d78 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/motiveflowllc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3e93395ae591b6984026a581694af7d061fe0d78 -
Trigger Event:
push
-
Statement type:
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
- Download URL: agentvault_mls_rs_uniffi-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.4 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b244d58d51c8d5984ef8ad6bafa42a70c3cab26f2fbcc4e4a0ffe6d833df7ed
|
|
| MD5 |
7159e52c2c008a68bdbe83b97e75231d
|
|
| BLAKE2b-256 |
080716b9f64fa1e9e83ced2f59819f57a221ac97e6834f8344f8d5f00ad0be6c
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentvault_mls_rs_uniffi-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
5b244d58d51c8d5984ef8ad6bafa42a70c3cab26f2fbcc4e4a0ffe6d833df7ed - Sigstore transparency entry: 1476196640
- Sigstore integration time:
-
Permalink:
motiveflowllc/mls-rs@3e93395ae591b6984026a581694af7d061fe0d78 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/motiveflowllc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3e93395ae591b6984026a581694af7d061fe0d78 -
Trigger Event:
push
-
Statement type:
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
- Download URL: agentvault_mls_rs_uniffi-0.1.0-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
- Upload date:
- Size: 4.6 MB
- Tags: Python 3, macOS 10.12+ universal2 (ARM64, x86-64), macOS 10.12+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c34a7d4f153a018e083407e57ecf89642028d82b6ac0953a0fa26843b5168bf
|
|
| MD5 |
4fca7619202731a600a997f3c594db95
|
|
| BLAKE2b-256 |
18bba447fcf95aaaf9a57bb460c1aa8f35a7bc0e771686088740f07d5c3abad0
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentvault_mls_rs_uniffi-0.1.0-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl -
Subject digest:
2c34a7d4f153a018e083407e57ecf89642028d82b6ac0953a0fa26843b5168bf - Sigstore transparency entry: 1476196488
- Sigstore integration time:
-
Permalink:
motiveflowllc/mls-rs@3e93395ae591b6984026a581694af7d061fe0d78 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/motiveflowllc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3e93395ae591b6984026a581694af7d061fe0d78 -
Trigger Event:
push
-
Statement type: