Metadata-Version: 2.4
Name: swarmauri_cipher_suite_fips205
Version: 0.11.0.dev1
Summary: FIPS 205 SLH-DSA cipher suite bindings for Swarmauri
License-Expression: Apache-2.0
Keywords: swarmauri,sdk,standards,cipher,suite,fips,fips205,slh-dsa,sphincs+,post-quantum,cryptography
Author: Jacob Stewart
Author-email: jacob@swarmauri.com
Requires-Python: >=3.10,<3.15
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Development Status :: 3 - Alpha
Classifier: Topic :: Security :: Cryptography
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: swarmauri_base
Requires-Dist: swarmauri_core
Description-Content-Type: text/markdown

![Swarmauri Logo](https://raw.githubusercontent.com/swarmauri/swarmauri-sdk/master/assets/swarmauri_sdk_brand.png)

<p align="center">
    <a href="https://pepy.tech/project/swarmauri_cipher_suite_fips205/">
        <img src="https://static.pepy.tech/badge/swarmauri_cipher_suite_fips205/month" alt="PyPI - Downloads"/></a>
    <a href="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_cipher_suite_fips205/">
        <img alt="Hits" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_cipher_suite_fips205.svg"/></a>
    <a href="https://pypi.org/project/swarmauri_cipher_suite_fips205/">
        <img src="https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-blue" alt="PyPI - Python Version"/></a>
    <a href="https://pypi.org/project/swarmauri_cipher_suite_fips205/">
        <img src="https://img.shields.io/pypi/l/swarmauri_cipher_suite_fips205" alt="PyPI - License"/></a>
    <a href="https://pypi.org/project/swarmauri_cipher_suite_fips205/">
        <img src="https://img.shields.io/pypi/v/swarmauri_cipher_suite_fips205?label=swarmauri_cipher_suite_fips205&color=green" alt="PyPI - swarmauri_cipher_suite_fips205"/></a>
    <a href="https://discord.gg/N4UpBuQv8T">
        <img src="https://img.shields.io/badge/Discord-Join%20Chat-5865F2?logo=discord&logoColor=white" alt="Discord"/></a></p>

# 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

```bash
pip install swarmauri_cipher_suite_fips205
```

### Poetry

```bash
poetry add swarmauri_cipher_suite_fips205
```

### uv

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

```bash
uv add swarmauri_cipher_suite_fips205
```

Or install it into the active environment:

```bash
uv pip install swarmauri_cipher_suite_fips205
```

## Usage

```python
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](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md)
that will help you get started.



