Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Swarmauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_cipher_suite_fips204 Discord

Swarmauri Cipher Suite FIPS 204

ML-DSA (Dilithium) signature suite aligned with the requirements of NIST FIPS 204.

Features

  • Supports ML-DSA-44, ML-DSA-65, and ML-DSA-87 parameter sets
  • Provides NIST security level metadata for policy-aware services
  • Normalises post-quantum signing requests using provider dialect mappings
  • Integrates with Swarmauri discovery via the swarmauri.cipher_suites entry point

Installation

pip

pip install swarmauri_cipher_suite_fips204

Poetry

poetry add swarmauri_cipher_suite_fips204

uv

To add the dependency to a pyproject.toml managed by uv:

uv add swarmauri_cipher_suite_fips204

Or install it into the active environment:

uv pip install swarmauri_cipher_suite_fips204

Usage

from swarmauri_cipher_suite_fips204 import Fips204CipherSuite

suite = Fips204CipherSuite(name="mldsa")

# Prepare a ML-DSA-65 signing descriptor
descriptor = suite.normalize(op="sign", alg="ML-DSA-65")
print(descriptor["constraints"]["nistLevel"])  # -> 3
print(descriptor["mapped"]["provider"])       # -> ml-dsa:ML-DSA-65

Unsupported algorithms raise ValueError, signalling the policy violation to callers.

Entry Point

The suite registers under the swarmauri.cipher_suites entry point as Fips204CipherSuite.

Want to help?

If you want to contribute to swarmauri-sdk, read up on our guidelines for contributing that will help you get started.

Metadata

Release files for swarmauri_cipher_suite_fips204 0.11.0.dev2

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

Source distribution (sdist)

Source distribution for swarmauri_cipher_suite_fips204 0.11.0.dev2
File Size Uploaded Provenance Actions
swarmauri_cipher_suite_fips204-0.11.0.dev2.tar.gz 3.4 kB Without provenance Details for swarmauri_cipher_suite_fips204-0.11.0.dev2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for swarmauri_cipher_suite_fips204 0.11.0.dev2
File Interpreter ABI Platform Actions
swarmauri_cipher_suite_fips204-0.11.0.dev2-py3-none-any.whl Python 3 none any Details for swarmauri_cipher_suite_fips204-0.11.0.dev2-py3-none-any.whl

Total release size: 7.6 kB

Release files / swarmauri_cipher_suite_fips204-0.11.0.dev2.tar.gz

Download URL swarmauri_cipher_suite_fips204-0.11.0.dev2.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
57bf8aec82c92c3a639a6a74270a38b22c63102737072cdffd662fd384cdff0b
BLAKE2b-256 checksum
How to use checksums
06560f4c410f7aea68c08e02056dcabadaeeadd98886e1f3f823ee07f15b8ad2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / swarmauri_cipher_suite_fips204-0.11.0.dev2-py3-none-any.whl

Download URL swarmauri_cipher_suite_fips204-0.11.0.dev2-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94ba58170c194cfe55aae8f59752fc9388f27a69050aeee3cac84162bca5c8db
BLAKE2b-256 checksum
How to use checksums
35b9c6c873b9c71a597cad68c682600fdc0740ca369987b9b85ddc47f4312dce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for swarmauri_cipher_suite_fips204 0.11.0.dev2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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