Skip to main content

FIPS 204 ML-DSA cipher suite bindings for Swarmauri

Project description

Swarmauri Logo

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


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.

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

swarmauri_cipher_suite_fips204-0.1.0.dev35.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file swarmauri_cipher_suite_fips204-0.1.0.dev35.tar.gz.

File metadata

  • Download URL: swarmauri_cipher_suite_fips204-0.1.0.dev35.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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}

File hashes

Hashes for swarmauri_cipher_suite_fips204-0.1.0.dev35.tar.gz
Algorithm Hash digest
SHA256 2fa7139ab2d42742b938f7ab18a5a8971fc65f9c03a8c1a350c16d878b138a3a
MD5 553bd0320836a945085468ce8db6986b
BLAKE2b-256 7f00aeee7360d1129a1f6842b269d97cfdf12cbe464e16d3e453517be46c80b7

See more details on using hashes here.

File details

Details for the file swarmauri_cipher_suite_fips204-0.1.0.dev35-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_cipher_suite_fips204-0.1.0.dev35-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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}

File hashes

Hashes for swarmauri_cipher_suite_fips204-0.1.0.dev35-py3-none-any.whl
Algorithm Hash digest
SHA256 9c06d92d65c52a038c5eea4eaceb4d6fe14fdfb8bade4378e506bc3a4f1e6b13
MD5 fcafd99176ff51b54db5c106c73d3a2b
BLAKE2b-256 f1323ee2bb8198e3514c2acc934cfb8bd955264ba3fc57547e90dd2358d179b9

See more details on using hashes here.

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