swarmauri_cipher_suite_fips204 0.2.0.dev5__tar.gz → 0.11.0.dev2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,44 +1,44 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: swarmauri_cipher_suite_fips204
3
- Version: 0.2.0.dev5
3
+ Version: 0.11.0.dev2
4
4
  Summary: FIPS 204 ML-DSA cipher suite bindings for Swarmauri
5
5
  License-Expression: Apache-2.0
6
6
  Keywords: swarmauri,sdk,standards,cipher,suite,fips,fips204,ml-dsa,dilithium,post-quantum,cryptography
7
7
  Author: Jacob Stewart
8
8
  Author-email: jacob@swarmauri.com
9
- Requires-Python: >=3.10,<3.13
9
+ Requires-Python: >=3.10,<3.15
10
10
  Classifier: License :: OSI Approved :: Apache Software License
11
11
  Classifier: Natural Language :: English
12
- Classifier: Programming Language :: Python :: 3.10
13
- Classifier: Programming Language :: Python :: 3.11
14
- Classifier: Programming Language :: Python :: 3.12
15
- Classifier: Programming Language :: Python :: 3.13
16
12
  Classifier: Development Status :: 3 - Alpha
17
13
  Classifier: Topic :: Security :: Cryptography
18
14
  Classifier: Intended Audience :: Developers
19
15
  Classifier: Programming Language :: Python
20
16
  Classifier: Programming Language :: Python :: 3
21
17
  Classifier: Programming Language :: Python :: 3 :: Only
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Programming Language :: Python :: 3.14
22
23
  Requires-Dist: swarmauri_base
23
24
  Requires-Dist: swarmauri_core
24
25
  Description-Content-Type: text/markdown
25
26
 
26
- ![Swarmauri Logo](https://github.com/swarmauri/swarmauri-sdk/blob/master/assets/swarmauri.brand.theme.svg)
27
+ ![Swarmauri Logo](https://raw.githubusercontent.com/swarmauri/swarmauri-sdk/master/assets/swarmauri_sdk_brand.png)
27
28
 
28
29
  <p align="center">
29
- <a href="https://pypi.org/project/swarmauri_cipher_suite_fips204/">
30
- <img src="https://img.shields.io/pypi/dm/swarmauri_cipher_suite_fips204" alt="PyPI - Downloads"/></a>
30
+ <a href="https://pepy.tech/project/swarmauri_cipher_suite_fips204/">
31
+ <img src="https://static.pepy.tech/badge/swarmauri_cipher_suite_fips204/month" alt="PyPI - Downloads"/></a>
31
32
  <a href="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_cipher_suite_fips204/">
32
33
  <img alt="Hits" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_cipher_suite_fips204.svg"/></a>
33
34
  <a href="https://pypi.org/project/swarmauri_cipher_suite_fips204/">
34
- <img src="https://img.shields.io/pypi/pyversions/swarmauri_cipher_suite_fips204" alt="PyPI - Python Version"/></a>
35
+ <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>
35
36
  <a href="https://pypi.org/project/swarmauri_cipher_suite_fips204/">
36
37
  <img src="https://img.shields.io/pypi/l/swarmauri_cipher_suite_fips204" alt="PyPI - License"/></a>
37
38
  <a href="https://pypi.org/project/swarmauri_cipher_suite_fips204/">
38
39
  <img src="https://img.shields.io/pypi/v/swarmauri_cipher_suite_fips204?label=swarmauri_cipher_suite_fips204&color=green" alt="PyPI - swarmauri_cipher_suite_fips204"/></a>
39
- </p>
40
-
41
- ---
40
+ <a href="https://discord.gg/N4UpBuQv8T">
41
+ <img src="https://img.shields.io/badge/Discord-Join%20Chat-5865F2?logo=discord&logoColor=white" alt="Discord"/></a></p>
42
42
 
43
43
  # Swarmauri Cipher Suite FIPS 204
44
44
 
@@ -108,3 +108,5 @@ If you want to contribute to swarmauri-sdk, read up on our
108
108
  [guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md)
109
109
  that will help you get started.
110
110
 
111
+
112
+
@@ -1,19 +1,18 @@
1
- ![Swarmauri Logo](https://github.com/swarmauri/swarmauri-sdk/blob/master/assets/swarmauri.brand.theme.svg)
1
+ ![Swarmauri Logo](https://raw.githubusercontent.com/swarmauri/swarmauri-sdk/master/assets/swarmauri_sdk_brand.png)
2
2
 
3
3
  <p align="center">
4
- <a href="https://pypi.org/project/swarmauri_cipher_suite_fips204/">
5
- <img src="https://img.shields.io/pypi/dm/swarmauri_cipher_suite_fips204" alt="PyPI - Downloads"/></a>
4
+ <a href="https://pepy.tech/project/swarmauri_cipher_suite_fips204/">
5
+ <img src="https://static.pepy.tech/badge/swarmauri_cipher_suite_fips204/month" alt="PyPI - Downloads"/></a>
6
6
  <a href="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_cipher_suite_fips204/">
7
7
  <img alt="Hits" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_cipher_suite_fips204.svg"/></a>
8
8
  <a href="https://pypi.org/project/swarmauri_cipher_suite_fips204/">
9
- <img src="https://img.shields.io/pypi/pyversions/swarmauri_cipher_suite_fips204" alt="PyPI - Python Version"/></a>
9
+ <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>
10
10
  <a href="https://pypi.org/project/swarmauri_cipher_suite_fips204/">
11
11
  <img src="https://img.shields.io/pypi/l/swarmauri_cipher_suite_fips204" alt="PyPI - License"/></a>
12
12
  <a href="https://pypi.org/project/swarmauri_cipher_suite_fips204/">
13
13
  <img src="https://img.shields.io/pypi/v/swarmauri_cipher_suite_fips204?label=swarmauri_cipher_suite_fips204&color=green" alt="PyPI - swarmauri_cipher_suite_fips204"/></a>
14
- </p>
15
-
16
- ---
14
+ <a href="https://discord.gg/N4UpBuQv8T">
15
+ <img src="https://img.shields.io/badge/Discord-Join%20Chat-5865F2?logo=discord&logoColor=white" alt="Discord"/></a></p>
17
16
 
18
17
  # Swarmauri Cipher Suite FIPS 204
19
18
 
@@ -82,3 +81,5 @@ The suite registers under the `swarmauri.cipher_suites` entry point as
82
81
  If you want to contribute to swarmauri-sdk, read up on our
83
82
  [guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md)
84
83
  that will help you get started.
84
+
85
+
@@ -1,24 +1,25 @@
1
1
  [project]
2
2
  name = "swarmauri_cipher_suite_fips204"
3
- version = "0.2.0.dev5"
3
+ version = "0.11.0.dev2"
4
4
  description = "FIPS 204 ML-DSA cipher suite bindings for Swarmauri"
5
5
  license = "Apache-2.0"
6
6
  readme = "README.md"
7
- requires-python = ">=3.10,<3.13"
7
+ requires-python = ">=3.10,<3.15"
8
8
  authors = [{ name = "Jacob Stewart", email = "jacob@swarmauri.com" }]
9
9
  classifiers = [
10
10
  "License :: OSI Approved :: Apache Software License",
11
11
  "Natural Language :: English",
12
- "Programming Language :: Python :: 3.10",
13
- "Programming Language :: Python :: 3.11",
14
- "Programming Language :: Python :: 3.12",
15
- "Programming Language :: Python :: 3.13",
16
12
  "Development Status :: 3 - Alpha",
17
13
  "Topic :: Security :: Cryptography",
18
14
  "Intended Audience :: Developers",
19
15
  "Programming Language :: Python",
20
16
  "Programming Language :: Python :: 3",
21
17
  "Programming Language :: Python :: 3 :: Only",
18
+ "Programming Language :: Python :: 3.10",
19
+ "Programming Language :: Python :: 3.11",
20
+ "Programming Language :: Python :: 3.12",
21
+ "Programming Language :: Python :: 3.13",
22
+ "Programming Language :: Python :: 3.14",
22
23
  ]
23
24
  dependencies = [
24
25
  "swarmauri_core",
@@ -27,7 +27,9 @@ class Fips204CipherSuite(CipherSuiteBase):
27
27
  def supports(self) -> Mapping[CipherOp, Iterable[Alg]]:
28
28
  return {"sign": _ML_DSA, "verify": _ML_DSA}
29
29
 
30
- def default_alg(self, op: CipherOp, *, for_key: Optional[KeyRef] = None) -> Alg:
30
+ def default_alg(
31
+ self, op: CipherOp, *, for_key: Optional[KeyRef] = None
32
+ ) -> Alg:
31
33
  return "ML-DSA-65"
32
34
 
33
35
  def policy(self) -> Mapping[str, object]:
@@ -48,7 +50,11 @@ class Fips204CipherSuite(CipherSuiteBase):
48
50
  "constraints": {"nistSecurityLevels": _ML_DSA_LEVEL},
49
51
  "compliance": {"fips204": True, "pqc": True},
50
52
  "notes": [
51
- "Implements the ML-DSA (Dilithium) parameter sets from FIPS 204.",
53
+ (
54
+ "Implements the ML-DSA (Dilithium) parameter sets from "
55
+ "FIPS "
56
+ "204."
57
+ ),
52
58
  ],
53
59
  }
54
60
 
@@ -70,7 +76,10 @@ class Fips204CipherSuite(CipherSuiteBase):
70
76
  chosen_dialect = "provider" if dialect is None else dialect
71
77
  mapped = {"provider": f"ml-dsa:{chosen}"}
72
78
 
73
- constraints = {"nistLevel": _ML_DSA_LEVEL[chosen], "category": "post-quantum"}
79
+ constraints = {
80
+ "nistLevel": _ML_DSA_LEVEL[chosen],
81
+ "category": "post-quantum",
82
+ }
74
83
 
75
84
  return {
76
85
  "op": op,