swarmauri_cipher_suite_fips205 0.2.0.dev5__tar.gz → 0.11.0.dev1__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_fips205
3
- Version: 0.2.0.dev5
3
+ Version: 0.11.0.dev1
4
4
  Summary: FIPS 205 SLH-DSA cipher suite bindings for Swarmauri
5
5
  License-Expression: Apache-2.0
6
6
  Keywords: swarmauri,sdk,standards,cipher,suite,fips,fips205,slh-dsa,sphincs+,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_fips205/">
30
- <img src="https://img.shields.io/pypi/dm/swarmauri_cipher_suite_fips205" alt="PyPI - Downloads"/></a>
30
+ <a href="https://pepy.tech/project/swarmauri_cipher_suite_fips205/">
31
+ <img src="https://static.pepy.tech/badge/swarmauri_cipher_suite_fips205/month" alt="PyPI - Downloads"/></a>
31
32
  <a href="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_cipher_suite_fips205/">
32
33
  <img alt="Hits" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_cipher_suite_fips205.svg"/></a>
33
34
  <a href="https://pypi.org/project/swarmauri_cipher_suite_fips205/">
34
- <img src="https://img.shields.io/pypi/pyversions/swarmauri_cipher_suite_fips205" 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_fips205/">
36
37
  <img src="https://img.shields.io/pypi/l/swarmauri_cipher_suite_fips205" alt="PyPI - License"/></a>
37
38
  <a href="https://pypi.org/project/swarmauri_cipher_suite_fips205/">
38
39
  <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>
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 205
44
44
 
@@ -106,3 +106,5 @@ If you want to contribute to swarmauri-sdk, read up on our
106
106
  [guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md)
107
107
  that will help you get started.
108
108
 
109
+
110
+
@@ -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_fips205/">
5
- <img src="https://img.shields.io/pypi/dm/swarmauri_cipher_suite_fips205" alt="PyPI - Downloads"/></a>
4
+ <a href="https://pepy.tech/project/swarmauri_cipher_suite_fips205/">
5
+ <img src="https://static.pepy.tech/badge/swarmauri_cipher_suite_fips205/month" alt="PyPI - Downloads"/></a>
6
6
  <a href="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_cipher_suite_fips205/">
7
7
  <img alt="Hits" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_cipher_suite_fips205.svg"/></a>
8
8
  <a href="https://pypi.org/project/swarmauri_cipher_suite_fips205/">
9
- <img src="https://img.shields.io/pypi/pyversions/swarmauri_cipher_suite_fips205" 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_fips205/">
11
11
  <img src="https://img.shields.io/pypi/l/swarmauri_cipher_suite_fips205" alt="PyPI - License"/></a>
12
12
  <a href="https://pypi.org/project/swarmauri_cipher_suite_fips205/">
13
13
  <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>
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 205
19
18
 
@@ -80,3 +79,5 @@ The suite registers under the `swarmauri.cipher_suites` entry point as
80
79
  If you want to contribute to swarmauri-sdk, read up on our
81
80
  [guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md)
82
81
  that will help you get started.
82
+
83
+
@@ -1,24 +1,25 @@
1
1
  [project]
2
2
  name = "swarmauri_cipher_suite_fips205"
3
- version = "0.2.0.dev5"
3
+ version = "0.11.0.dev1"
4
4
  description = "FIPS 205 SLH-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",
@@ -45,7 +45,9 @@ class Fips205CipherSuite(CipherSuiteBase):
45
45
  def supports(self) -> Mapping[CipherOp, Iterable[Alg]]:
46
46
  return {"sign": _SLH_DSA, "verify": _SLH_DSA}
47
47
 
48
- def default_alg(self, op: CipherOp, *, for_key: Optional[KeyRef] = None) -> Alg:
48
+ def default_alg(
49
+ self, op: CipherOp, *, for_key: Optional[KeyRef] = None
50
+ ) -> Alg:
49
51
  return "SLH-DSA-SHAKE-192s"
50
52
 
51
53
  def policy(self) -> Mapping[str, object]:
@@ -61,12 +63,18 @@ class Fips205CipherSuite(CipherSuiteBase):
61
63
  "version": 1,
62
64
  "dialects": {"provider": list(_SLH_DSA)},
63
65
  "ops": {
64
- "sign": {"default": "SLH-DSA-SHAKE-192s", "allowed": list(_SLH_DSA)},
66
+ "sign": {
67
+ "default": "SLH-DSA-SHAKE-192s",
68
+ "allowed": list(_SLH_DSA),
69
+ },
65
70
  },
66
71
  "constraints": {"nistSecurityLevels": _SLH_DSA_LEVEL},
67
72
  "compliance": {"fips205": True, "pqc": True},
68
73
  "notes": [
69
- "Implements the SPHINCS+ based SLH-DSA parameter sets from FIPS 205.",
74
+ (
75
+ "Implements the SPHINCS+ based SLH-DSA parameter sets from " # noqa: E501
76
+ "FIPS 205."
77
+ ),
70
78
  ],
71
79
  }
72
80
 
@@ -88,7 +96,10 @@ class Fips205CipherSuite(CipherSuiteBase):
88
96
  chosen_dialect = "provider" if dialect is None else dialect
89
97
  mapped = {"provider": f"slh-dsa:{chosen}"}
90
98
 
91
- constraints = {"nistLevel": _SLH_DSA_LEVEL[chosen], "category": "post-quantum"}
99
+ constraints = {
100
+ "nistLevel": _SLH_DSA_LEVEL[chosen],
101
+ "category": "post-quantum",
102
+ }
92
103
 
93
104
  return {
94
105
  "op": op,