Skip to main content

FIPS 205 SLH-DSA cipher suite bindings for Swarmauri

Project description

Swarmauri Logo

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

Swarmauri Cipher Suite FIPS 205

SLH-DSA (SPHINCS+) signature suite aligned with NIST FIPS 205.

Features

  • Exposes all SHA2 and SHAKE based SLH-DSA parameter sets from the standard
  • Provides security level metadata for downstream admission control
  • Supplies provider-oriented descriptors for Swarmauri signing flows
  • Publishes an entry point for automatic suite discovery and registration

Installation

pip

pip install swarmauri_cipher_suite_fips205

Poetry

poetry add swarmauri_cipher_suite_fips205

uv

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

uv add swarmauri_cipher_suite_fips205

Or install it into the active environment:

uv pip install swarmauri_cipher_suite_fips205

Usage

from swarmauri_cipher_suite_fips205 import Fips205CipherSuite

suite = Fips205CipherSuite(name="slhdsa")

# Normalise a SLH-DSA-SHAKE-192s signing request
descriptor = suite.normalize(op="sign", alg="SLH-DSA-SHAKE-192s")
print(descriptor["constraints"]["nistLevel"])  # -> 3
print(descriptor["mapped"]["provider"])       # -> slh-dsa:SLH-DSA-SHAKE-192s

Requests for non-SLH-DSA algorithms raise ValueError, surfacing the policy violation early.

Entry Point

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

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_fips205-0.11.0.dev1.tar.gz (3.5 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_fips205-0.11.0.dev1.tar.gz.

File metadata

  • Download URL: swarmauri_cipher_suite_fips205-0.11.0.dev1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for swarmauri_cipher_suite_fips205-0.11.0.dev1.tar.gz
Algorithm Hash digest
SHA256 7505ba40287629f609d86307eaf4b7599181d9b4f31b0c10fc9b9c0ffb6bf7cb
MD5 975f8e6ac592d0fdd6677ccd9c929708
BLAKE2b-256 c3f6d3db66c991d511eb547a375e30c1590fa43a10f38191aa81d5c61a53ec3b

See more details on using hashes here.

File details

Details for the file swarmauri_cipher_suite_fips205-0.11.0.dev1-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_cipher_suite_fips205-0.11.0.dev1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for swarmauri_cipher_suite_fips205-0.11.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 79c1efa2cce9d66c48c7cf2648e1ad09c2db5299e401d13e90bd773e453e7f40
MD5 e62fe7438257ca26e9c797ed5c9cd7fb
BLAKE2b-256 92c13179e462d48f0aad49b54057a0c7c75627dc5385f8b6e6fd3bb2c107d899

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