swarmauri_cipher_suite_ipsec 0.2.0.dev5__tar.gz → 0.11.0__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.
- swarmauri_cipher_suite_ipsec-0.11.0/NOTICE +7 -0
- swarmauri_cipher_suite_ipsec-0.11.0/PKG-INFO +358 -0
- swarmauri_cipher_suite_ipsec-0.11.0/README.md +330 -0
- {swarmauri_cipher_suite_ipsec-0.2.0.dev5 → swarmauri_cipher_suite_ipsec-0.11.0}/pyproject.toml +57 -7
- {swarmauri_cipher_suite_ipsec-0.2.0.dev5 → swarmauri_cipher_suite_ipsec-0.11.0}/swarmauri_cipher_suite_ipsec/IpsecCipherSuite.py +9 -2
- swarmauri_cipher_suite_ipsec-0.2.0.dev5/PKG-INFO +0 -103
- swarmauri_cipher_suite_ipsec-0.2.0.dev5/README.md +0 -76
- {swarmauri_cipher_suite_ipsec-0.2.0.dev5 → swarmauri_cipher_suite_ipsec-0.11.0}/LICENSE +0 -0
- {swarmauri_cipher_suite_ipsec-0.2.0.dev5 → swarmauri_cipher_suite_ipsec-0.11.0}/swarmauri_cipher_suite_ipsec/__init__.py +0 -0
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: swarmauri_cipher_suite_ipsec
|
|
3
|
+
Version: 0.11.0
|
|
4
|
+
Summary: IPsec / IKE cipher suite skeleton for Swarmauri
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
License-File: LICENSE
|
|
7
|
+
License-File: NOTICE
|
|
8
|
+
Keywords: swarmauri,sdk,standards,cipher,suite,ipsec,cryptography,IPsec,IKEv2,RFC 8247,RFC 4106,RFC 7634,AES-GCM-16,ChaCha20-Poly1305,HMAC-SHA2-256,HMAC-SHA2-384,Diffie-Hellman group14,Diffie-Hellman group19,Diffie-Hellman group20,Diffie-Hellman group31
|
|
9
|
+
Author: Jacob Stewart
|
|
10
|
+
Author-email: jacob@swarmauri.com
|
|
11
|
+
Requires-Python: >=3.10,<3.15
|
|
12
|
+
Classifier: Natural Language :: English
|
|
13
|
+
Classifier: Development Status :: 3 - Alpha
|
|
14
|
+
Classifier: Topic :: Security :: Cryptography
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Programming Language :: Python
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
24
|
+
Requires-Dist: swarmauri_base
|
|
25
|
+
Requires-Dist: swarmauri_core
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
|
|
28
|
+
# swarmauri_cipher_suite_ipsec
|
|
29
|
+
|
|
30
|
+
<!-- readme-standards:begin branding -->
|
|
31
|
+
<p align="center"><a href="https://github.com/swarmauri/swarmauri-sdk"><img src="https://raw.githubusercontent.com/swarmauri/swarmauri-sdk/master/assets/swarmauri.brand.theme.svg" alt="Swarmauri SDK" width="300"></a></p>
|
|
32
|
+
<p align="center"><strong>swarmauri_cipher_suite_ipsec</strong></p>
|
|
33
|
+
<p align="center">IPsec / IKE cipher suite skeleton for Swarmauri</p>
|
|
34
|
+
<p align="center">
|
|
35
|
+
<a href="https://pypi.org/project/swarmauri_cipher_suite_ipsec/"><img alt="pypi: swarmauri_cipher_suite_ipsec" src="https://img.shields.io/pypi/v/swarmauri_cipher_suite_ipsec?labelColor=1E293B&color=1D4ED8"></a>
|
|
36
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/pyproject.toml"><img alt="Source version: 0.11.0" src="https://img.shields.io/static/v1?label=Source%20version&message=0.11.0&labelColor=1E293B&color=4338CA"></a>
|
|
37
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/pyproject.toml"><img alt="Python: >=3.10,<3.15" src="https://img.shields.io/static/v1?label=Python&message=%3E%3D3.10%2C%3C3.15&labelColor=1E293B&color=0F766E"></a>
|
|
38
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/pyproject.toml"><img alt="Layer: standards" src="https://img.shields.io/static/v1?label=Layer&message=standards&labelColor=1E293B&color=6D28D9"></a>
|
|
39
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/README.md#lifecycle-and-migration"><img alt="Lifecycle: active" src="https://img.shields.io/static/v1?label=Lifecycle&message=active&labelColor=1E293B&color=166534"></a>
|
|
40
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/LICENSE"><img alt="License: Apache-2.0" src="https://img.shields.io/static/v1?label=License&message=Apache-2.0&labelColor=1E293B&color=86198F"></a>
|
|
41
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/NOTICE"><img alt="Notice: attribution" src="https://img.shields.io/static/v1?label=Notice&message=attribution&labelColor=1E293B&color=86198F"></a>
|
|
42
|
+
</p>
|
|
43
|
+
<p align="center">
|
|
44
|
+
<a href="https://pypi.org/project/swarmauri_cipher_suite_ipsec/"><img alt="Monthly PyPI downloads: swarmauri_cipher_suite_ipsec" src="https://img.shields.io/pypi/dm/swarmauri_cipher_suite_ipsec?labelColor=1E293B&color=0E7490"></a>
|
|
45
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/README.md"><img alt="README hits: swarmauri_cipher_suite_ipsec" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/pkgs/40-standards/swarmauri_cipher_suite_ipsec/README.md.svg?label=README%20hits&labelColor=1E293B&color=0E7490"></a>
|
|
46
|
+
</p>
|
|
47
|
+
<p align="center">
|
|
48
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml"><img alt="README standards: CI gate" src="https://img.shields.io/static/v1?label=README%20standards&message=CI%20gate&labelColor=1E293B&color=1D4ED8"></a>
|
|
49
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/tests/unit/test_readme_sources.py"><img alt="Tests: example source" src="https://img.shields.io/static/v1?label=Tests&message=example%20source&labelColor=1E293B&color=0F766E"></a>
|
|
50
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/README.md#certification-status"><img alt="Certification: not certified" src="https://img.shields.io/static/v1?label=Certification&message=not%20certified&labelColor=1E293B&color=92400E"></a>
|
|
51
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/tools/readme/POLICY.md"><img alt="Governance: repository policy" src="https://img.shields.io/static/v1?label=Governance&message=repository%20policy&labelColor=1E293B&color=4338CA"></a>
|
|
52
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml"><img alt="Evidence: source and CI" src="https://img.shields.io/static/v1?label=Evidence&message=source%20and%20CI&labelColor=1E293B&color=6D28D9"></a>
|
|
53
|
+
</p>
|
|
54
|
+
<p align="center"><a href="#overview">Overview</a> · <a href="#installation">Installation</a> · <a href="#quick-start">Quick Start</a> · <a href="#usage">Usage</a> · <a href="#public-api-and-import-surfaces">API</a> · <a href="#contributing">Contributing</a> · <a href="#governance">Governance</a> · <a href="#license">License</a></p>
|
|
55
|
+
<!-- readme-standards:end branding -->
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Overview
|
|
60
|
+
|
|
61
|
+
### Summary
|
|
62
|
+
|
|
63
|
+
IPsec / IKE AEAD, PRF, and DH defaults for tunnel policies.
|
|
64
|
+
|
|
65
|
+
### Why This Package
|
|
66
|
+
|
|
67
|
+
`swarmauri_cipher_suite_ipsec` isolates this responsibility: IPsec / IKE cipher suite skeleton for Swarmauri. Its [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/swarmauri_cipher_suite_ipsec/__init__.py) exposes `IpsecCipherSuite`, allowing consumers to select this package without treating adjacent packages as part of its public contract.
|
|
68
|
+
|
|
69
|
+
### When to Use
|
|
70
|
+
|
|
71
|
+
Choose `swarmauri_cipher_suite_ipsec` when your integration needs iPsec / IKE cipher suite skeleton for Swarmauri. Match the imports below to your application boundary and install its declared dependencies before using the example.
|
|
72
|
+
|
|
73
|
+
### Features
|
|
74
|
+
|
|
75
|
+
- `IpsecCipherSuite`: Skeleton suite for IKE/IPsec policy.
|
|
76
|
+
|
|
77
|
+
### Non-Goals
|
|
78
|
+
|
|
79
|
+
`swarmauri_cipher_suite_ipsec` owns iPsec / IKE cipher suite skeleton for Swarmauri. Its imports do not by themselves configure credentials, deploy a service, or certify the behavior of its consumers. Dependencies and neighboring packages retain their own documented responsibilities.
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## Getting Started
|
|
84
|
+
|
|
85
|
+
### Prerequisites
|
|
86
|
+
|
|
87
|
+
Python `>=3.10,<3.15` is required. The [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/pyproject.toml) declares runtime dependencies including `swarmauri-core`, `swarmauri-base`. Read the example’s inputs and service requirements before execution.
|
|
88
|
+
|
|
89
|
+
### Installation
|
|
90
|
+
|
|
91
|
+
#### uv
|
|
92
|
+
|
|
93
|
+
<!-- readme-standards:begin installation.uv -->
|
|
94
|
+
```bash
|
|
95
|
+
uv add swarmauri_cipher_suite_ipsec
|
|
96
|
+
```
|
|
97
|
+
<!-- readme-standards:end installation.uv -->
|
|
98
|
+
|
|
99
|
+
To add the dependency to a `pyproject.toml` managed by `uv`:
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
uv add swarmauri_cipher_suite_ipsec
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Or install it into the active environment:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
uv pip install swarmauri_cipher_suite_ipsec
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
#### pip
|
|
112
|
+
|
|
113
|
+
<!-- readme-standards:begin installation.pip -->
|
|
114
|
+
```bash
|
|
115
|
+
python -m pip install swarmauri_cipher_suite_ipsec
|
|
116
|
+
```
|
|
117
|
+
<!-- readme-standards:end installation.pip -->
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
pip install swarmauri_cipher_suite_ipsec
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
#### Poetry
|
|
124
|
+
|
|
125
|
+
<!-- readme-standards:begin installation.poetry -->
|
|
126
|
+
```bash
|
|
127
|
+
poetry add swarmauri_cipher_suite_ipsec
|
|
128
|
+
```
|
|
129
|
+
<!-- readme-standards:end installation.poetry -->
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
poetry add swarmauri_cipher_suite_ipsec
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Quick Start
|
|
136
|
+
|
|
137
|
+
#### Example
|
|
138
|
+
|
|
139
|
+
<!-- readme-standards:begin example.quick-start -->
|
|
140
|
+
Source: [docs/readme/quick_start.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/docs/readme/quick_start.py).
|
|
141
|
+
|
|
142
|
+
```python
|
|
143
|
+
from swarmauri_cipher_suite_ipsec import IpsecCipherSuite
|
|
144
|
+
|
|
145
|
+
suite = IpsecCipherSuite(name="demo-ipsec")
|
|
146
|
+
|
|
147
|
+
# Inspect the available operations and defaults
|
|
148
|
+
print(suite.features()["ops"].keys())
|
|
149
|
+
|
|
150
|
+
# Normalize an operation
|
|
151
|
+
descriptor = suite.normalize(op=list(suite.supports().keys())[0])
|
|
152
|
+
print(descriptor["alg"], descriptor["params"])
|
|
153
|
+
```
|
|
154
|
+
<!-- readme-standards:end example.quick-start -->
|
|
155
|
+
|
|
156
|
+
#### Expected Result
|
|
157
|
+
|
|
158
|
+
The example demonstrates the documented `swarmauri_cipher_suite_ipsec` source boundary or workflow. Complete its required configuration first. README CI checks the maintained source’s syntax and declarations; it does not claim that external services or the application workflow were exercised.
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
## Usage
|
|
163
|
+
|
|
164
|
+
### Common Workflows
|
|
165
|
+
|
|
166
|
+
<!-- readme-standards:begin example.usage -->
|
|
167
|
+
Source: [docs/readme/usage.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/docs/readme/usage.py).
|
|
168
|
+
|
|
169
|
+
```python
|
|
170
|
+
from swarmauri_cipher_suite_ipsec import IpsecCipherSuite
|
|
171
|
+
|
|
172
|
+
suite = IpsecCipherSuite(name="demo-ipsec")
|
|
173
|
+
|
|
174
|
+
# Inspect the available operations and defaults
|
|
175
|
+
print(suite.features()["ops"].keys())
|
|
176
|
+
|
|
177
|
+
# Normalize an operation
|
|
178
|
+
descriptor = suite.normalize(op=list(suite.supports().keys())[0])
|
|
179
|
+
print(descriptor["alg"], descriptor["params"])
|
|
180
|
+
```
|
|
181
|
+
<!-- readme-standards:end example.usage -->
|
|
182
|
+
|
|
183
|
+
The suite returns normalized descriptors that include canonical algorithm names,
|
|
184
|
+
per-dialect mappings, and policy metadata so providers can focus on execution.
|
|
185
|
+
|
|
186
|
+
### Configuration
|
|
187
|
+
|
|
188
|
+
Configure `swarmauri_cipher_suite_ipsec` through the APIs in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/swarmauri_cipher_suite_ipsec/__init__.py); its [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/pyproject.toml) describes installation requirements, not an implicit service configuration. No additional package-global configuration contract is inferred from dependencies.
|
|
189
|
+
|
|
190
|
+
### Error Handling
|
|
191
|
+
|
|
192
|
+
The inspected `swarmauri_cipher_suite_ipsec` source raises `ValueError`. Handle these at the calling boundary and consult the implementation for the triggering conditions.
|
|
193
|
+
|
|
194
|
+
### Best Practices
|
|
195
|
+
|
|
196
|
+
Use the explicit `swarmauri_cipher_suite_ipsec` imports documented below and keep collaborator configuration with the caller. Run the package’s relevant tests after changing `IpsecCipherSuite`; an import or successful installation alone does not establish its runtime guarantees.
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
## Package Boundary
|
|
201
|
+
|
|
202
|
+
### What It Owns
|
|
203
|
+
|
|
204
|
+
`swarmauri_cipher_suite_ipsec` is located in `standards` and owns iPsec / IKE cipher suite skeleton for Swarmauri. Source-declared APIs include `IpsecCipherSuite`. The [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/pyproject.toml) records its direct dependency boundary.
|
|
205
|
+
|
|
206
|
+
### Public API and Import Surfaces
|
|
207
|
+
|
|
208
|
+
Import namespace: `swarmauri_cipher_suite_ipsec`.
|
|
209
|
+
|
|
210
|
+
Source-declared exports or types: `IpsecCipherSuite`.
|
|
211
|
+
|
|
212
|
+
Inspect [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/swarmauri_cipher_suite_ipsec/__init__.py) for exact signatures; this inventory does not designate every internal module as stable.
|
|
213
|
+
|
|
214
|
+
### Entry Points
|
|
215
|
+
|
|
216
|
+
<!-- readme-standards:begin entry-points -->
|
|
217
|
+
- `swarmauri.cipher_suites` → `IpsecCipherSuite` → `swarmauri_cipher_suite_ipsec:IpsecCipherSuite`
|
|
218
|
+
<!-- readme-standards:end entry-points -->
|
|
219
|
+
|
|
220
|
+
The suite registers under the `swarmauri.cipher_suites` entry point as `IpsecCipherSuite`.
|
|
221
|
+
|
|
222
|
+
### Injected Dependencies
|
|
223
|
+
|
|
224
|
+
The direct installation dependencies of `swarmauri_cipher_suite_ipsec` are `swarmauri-core`, `swarmauri-base`. These declarations do not imply automatic provider selection. Pass collaborators through the explicit constructors or call signatures in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/swarmauri_cipher_suite_ipsec/__init__.py).
|
|
225
|
+
|
|
226
|
+
### Protocol Consumers
|
|
227
|
+
|
|
228
|
+
No direct package-manifest dependency on `swarmauri_cipher_suite_ipsec` was found in the audited three-repository inventory. External consumers may still use its documented imports or commands.
|
|
229
|
+
|
|
230
|
+
### Extensions
|
|
231
|
+
|
|
232
|
+
For `swarmauri_cipher_suite_ipsec`, use the source-declared public interfaces (`IpsecCipherSuite`) when composing or extending behavior. Its entry-point section below is authoritative for registered plugins; no additional extension loader is inferred from the package name.
|
|
233
|
+
|
|
234
|
+
---
|
|
235
|
+
|
|
236
|
+
## Operations and Readiness
|
|
237
|
+
|
|
238
|
+
### Operational Requirements
|
|
239
|
+
|
|
240
|
+
Operate `swarmauri_cipher_suite_ipsec` according to its actual entry points and collaborators. The dependency and Python requirements in the [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/pyproject.toml) are prerequisites; deployment topology, credentials, and readiness remain the responsibility of the consuming application unless explicitly documented above.
|
|
241
|
+
|
|
242
|
+
### Health and Observability
|
|
243
|
+
|
|
244
|
+
This README does not establish a standalone health endpoint for `swarmauri_cipher_suite_ipsec`. Observe the concrete caller’s results, exceptions, and existing test reports. An application that embeds this package must define its own health and telemetry contract.
|
|
245
|
+
|
|
246
|
+
### Security and Resource Limits
|
|
247
|
+
|
|
248
|
+
Apply the input, credential, and resource constraints implemented in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/swarmauri_cipher_suite_ipsec/__init__.py). The `swarmauri_cipher_suite_ipsec` README gate is a documentation check, not a security review or a substitute for the implementation’s limits and caller authorization.
|
|
249
|
+
|
|
250
|
+
### Compatibility
|
|
251
|
+
|
|
252
|
+
This source version of `swarmauri_cipher_suite_ipsec` declares Python `>=3.10,<3.15`. Consult its dependency constraints before upgrading. Source-version and registry-version badges have separate meanings; this migration makes no additional platform or interoperability certification claim.
|
|
253
|
+
|
|
254
|
+
---
|
|
255
|
+
|
|
256
|
+
## Verification
|
|
257
|
+
|
|
258
|
+
### Tests
|
|
259
|
+
|
|
260
|
+
Run `python -m pytest tests/unit/test_readme_sources.py` from the `swarmauri_cipher_suite_ipsec` package directory for the maintained example source checks (Python compilation and non-Python file presence). Existing package tests include:
|
|
261
|
+
|
|
262
|
+
- [tests/unit/test_IpsecCipherSuite_unit.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/tests/unit/test_IpsecCipherSuite_unit.py)
|
|
263
|
+
|
|
264
|
+
The repository README gate also checks the required heading tree, metadata, managed fragments, and referenced files.
|
|
265
|
+
|
|
266
|
+
### Certification Status
|
|
267
|
+
|
|
268
|
+
No external certification is asserted for `swarmauri_cipher_suite_ipsec` by this documentation migration. README conformance, example syntax, runtime tests, and protocol or security certification are distinct evidence scopes.
|
|
269
|
+
|
|
270
|
+
### Evidence
|
|
271
|
+
|
|
272
|
+
The [README standards CI](https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml) records mechanical documentation results for its tested commit. The [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/swarmauri_cipher_suite_ipsec/__init__.py) and example sources support the package-boundary description; external runtime behavior requires its own test evidence.
|
|
273
|
+
|
|
274
|
+
---
|
|
275
|
+
|
|
276
|
+
## FAQ
|
|
277
|
+
|
|
278
|
+
### Why
|
|
279
|
+
|
|
280
|
+
**Why select this package?** `swarmauri_cipher_suite_ipsec` provides iPsec / IKE cipher suite skeleton for Swarmauri; use its own API boundary rather than assuming neighboring packages are bundled or configured automatically.
|
|
281
|
+
|
|
282
|
+
### How
|
|
283
|
+
|
|
284
|
+
**How do I start?** Install or synchronize the environment under Getting Started, follow the maintained example for `swarmauri_cipher_suite_ipsec`, and consult [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/swarmauri_cipher_suite_ipsec/__init__.py) for the exact types and signatures involved.
|
|
285
|
+
|
|
286
|
+
### When
|
|
287
|
+
|
|
288
|
+
**When should I validate an upgrade?** Recheck `swarmauri_cipher_suite_ipsec` whenever its source version, declared collaborators, configuration, or caller changes. Run relevant behavioral tests in addition to the README gate before promotion.
|
|
289
|
+
|
|
290
|
+
---
|
|
291
|
+
|
|
292
|
+
## Documentation and Related Packages
|
|
293
|
+
|
|
294
|
+
### More Documentation
|
|
295
|
+
|
|
296
|
+
The [repository contribution guide](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md), [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/swarmauri_cipher_suite_ipsec/__init__.py), and [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/pyproject.toml) provide the supporting context for `swarmauri_cipher_suite_ipsec`. The [README policy](https://github.com/groupsum/readme-standards/blob/master/docs/outline.md) defines the common document structure.
|
|
297
|
+
|
|
298
|
+
### Related Packages
|
|
299
|
+
|
|
300
|
+
- [swarmauri_base](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/20-bases/swarmauri_base/README.md): Reusable Swarmauri base classes, mixins, and dynamic Pydantic component models for composable intelligence infrastructure.
|
|
301
|
+
- [swarmauri_core](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/10-interfaces/swarmauri_core/README.md): Core interface contracts and shared types for Swarmauri composable intelligence infrastructure components.
|
|
302
|
+
|
|
303
|
+
### Project Links
|
|
304
|
+
|
|
305
|
+
<!-- readme-standards:begin project-links -->
|
|
306
|
+
- [pypi: swarmauri_cipher_suite_ipsec](https://pypi.org/project/swarmauri_cipher_suite_ipsec/)
|
|
307
|
+
<!-- readme-standards:end project-links -->
|
|
308
|
+
|
|
309
|
+
---
|
|
310
|
+
|
|
311
|
+
## Contributing
|
|
312
|
+
|
|
313
|
+
### How to Contribute
|
|
314
|
+
|
|
315
|
+
If you want to contribute to swarmauri-sdk, read up on our
|
|
316
|
+
[guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md)
|
|
317
|
+
that will help you get started.
|
|
318
|
+
|
|
319
|
+
### Development Setup
|
|
320
|
+
|
|
321
|
+
Work from the `pkgs/40-standards/swarmauri_cipher_suite_ipsec` checkout. Synchronize its declared development environment with uv, then run the relevant package tests and `python -m pytest tests/unit/test_readme_sources.py`. The repository’s dedicated README job installs `readme-standards==0.1.3` without resolving unrelated runtime packages.
|
|
322
|
+
|
|
323
|
+
### Notes for Maintainers
|
|
324
|
+
|
|
325
|
+
Edit authored prose directly in this `swarmauri_cipher_suite_ipsec` README. Update source examples in `docs/readme/`, then run `readme-standards render --root . --write` from the package directory and review the diff. Required headings and generated blocks come from package-guide-v1.
|
|
326
|
+
|
|
327
|
+
---
|
|
328
|
+
|
|
329
|
+
## Governance
|
|
330
|
+
|
|
331
|
+
### Ownership and Decision Making
|
|
332
|
+
|
|
333
|
+
Changes to `swarmauri_cipher_suite_ipsec` follow the maintainer review process of [swarmauri/swarmauri-sdk](https://github.com/swarmauri/swarmauri-sdk) and its contribution guide. Author attribution remains in the [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/pyproject.toml); this README does not assign new publishing or administrative authority.
|
|
334
|
+
|
|
335
|
+
### Standards and Policies
|
|
336
|
+
|
|
337
|
+
`swarmauri_cipher_suite_ipsec` follows the versioned [package-guide-v1 outline](https://github.com/groupsum/readme-standards/blob/master/docs/outline.md). All fixed headings, hierarchy, order, separators, and package-specific branding are checked by CI; reviewers assess the accuracy and usefulness of authored claims.
|
|
338
|
+
|
|
339
|
+
### Lifecycle and Migration
|
|
340
|
+
|
|
341
|
+
The `swarmauri_cipher_suite_ipsec` source version is `0.11.0`.
|
|
342
|
+
|
|
343
|
+
---
|
|
344
|
+
|
|
345
|
+
## License and Attribution
|
|
346
|
+
|
|
347
|
+
### License
|
|
348
|
+
|
|
349
|
+
<!-- readme-standards:begin license -->
|
|
350
|
+
Licensed under `Apache-2.0`. See [LICENSE](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/LICENSE).
|
|
351
|
+
<!-- readme-standards:end license -->
|
|
352
|
+
|
|
353
|
+
### Notices
|
|
354
|
+
|
|
355
|
+
<!-- readme-standards:begin notices -->
|
|
356
|
+
See [NOTICE](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/NOTICE) for attribution.
|
|
357
|
+
<!-- readme-standards:end notices -->
|
|
358
|
+
|
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
# swarmauri_cipher_suite_ipsec
|
|
2
|
+
|
|
3
|
+
<!-- readme-standards:begin branding -->
|
|
4
|
+
<p align="center"><a href="https://github.com/swarmauri/swarmauri-sdk"><img src="https://raw.githubusercontent.com/swarmauri/swarmauri-sdk/master/assets/swarmauri.brand.theme.svg" alt="Swarmauri SDK" width="300"></a></p>
|
|
5
|
+
<p align="center"><strong>swarmauri_cipher_suite_ipsec</strong></p>
|
|
6
|
+
<p align="center">IPsec / IKE cipher suite skeleton for Swarmauri</p>
|
|
7
|
+
<p align="center">
|
|
8
|
+
<a href="https://pypi.org/project/swarmauri_cipher_suite_ipsec/"><img alt="pypi: swarmauri_cipher_suite_ipsec" src="https://img.shields.io/pypi/v/swarmauri_cipher_suite_ipsec?labelColor=1E293B&color=1D4ED8"></a>
|
|
9
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/pyproject.toml"><img alt="Source version: 0.11.0" src="https://img.shields.io/static/v1?label=Source%20version&message=0.11.0&labelColor=1E293B&color=4338CA"></a>
|
|
10
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/pyproject.toml"><img alt="Python: >=3.10,<3.15" src="https://img.shields.io/static/v1?label=Python&message=%3E%3D3.10%2C%3C3.15&labelColor=1E293B&color=0F766E"></a>
|
|
11
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/pyproject.toml"><img alt="Layer: standards" src="https://img.shields.io/static/v1?label=Layer&message=standards&labelColor=1E293B&color=6D28D9"></a>
|
|
12
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/README.md#lifecycle-and-migration"><img alt="Lifecycle: active" src="https://img.shields.io/static/v1?label=Lifecycle&message=active&labelColor=1E293B&color=166534"></a>
|
|
13
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/LICENSE"><img alt="License: Apache-2.0" src="https://img.shields.io/static/v1?label=License&message=Apache-2.0&labelColor=1E293B&color=86198F"></a>
|
|
14
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/NOTICE"><img alt="Notice: attribution" src="https://img.shields.io/static/v1?label=Notice&message=attribution&labelColor=1E293B&color=86198F"></a>
|
|
15
|
+
</p>
|
|
16
|
+
<p align="center">
|
|
17
|
+
<a href="https://pypi.org/project/swarmauri_cipher_suite_ipsec/"><img alt="Monthly PyPI downloads: swarmauri_cipher_suite_ipsec" src="https://img.shields.io/pypi/dm/swarmauri_cipher_suite_ipsec?labelColor=1E293B&color=0E7490"></a>
|
|
18
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/README.md"><img alt="README hits: swarmauri_cipher_suite_ipsec" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/pkgs/40-standards/swarmauri_cipher_suite_ipsec/README.md.svg?label=README%20hits&labelColor=1E293B&color=0E7490"></a>
|
|
19
|
+
</p>
|
|
20
|
+
<p align="center">
|
|
21
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml"><img alt="README standards: CI gate" src="https://img.shields.io/static/v1?label=README%20standards&message=CI%20gate&labelColor=1E293B&color=1D4ED8"></a>
|
|
22
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/tests/unit/test_readme_sources.py"><img alt="Tests: example source" src="https://img.shields.io/static/v1?label=Tests&message=example%20source&labelColor=1E293B&color=0F766E"></a>
|
|
23
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/README.md#certification-status"><img alt="Certification: not certified" src="https://img.shields.io/static/v1?label=Certification&message=not%20certified&labelColor=1E293B&color=92400E"></a>
|
|
24
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/tools/readme/POLICY.md"><img alt="Governance: repository policy" src="https://img.shields.io/static/v1?label=Governance&message=repository%20policy&labelColor=1E293B&color=4338CA"></a>
|
|
25
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml"><img alt="Evidence: source and CI" src="https://img.shields.io/static/v1?label=Evidence&message=source%20and%20CI&labelColor=1E293B&color=6D28D9"></a>
|
|
26
|
+
</p>
|
|
27
|
+
<p align="center"><a href="#overview">Overview</a> · <a href="#installation">Installation</a> · <a href="#quick-start">Quick Start</a> · <a href="#usage">Usage</a> · <a href="#public-api-and-import-surfaces">API</a> · <a href="#contributing">Contributing</a> · <a href="#governance">Governance</a> · <a href="#license">License</a></p>
|
|
28
|
+
<!-- readme-standards:end branding -->
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Overview
|
|
33
|
+
|
|
34
|
+
### Summary
|
|
35
|
+
|
|
36
|
+
IPsec / IKE AEAD, PRF, and DH defaults for tunnel policies.
|
|
37
|
+
|
|
38
|
+
### Why This Package
|
|
39
|
+
|
|
40
|
+
`swarmauri_cipher_suite_ipsec` isolates this responsibility: IPsec / IKE cipher suite skeleton for Swarmauri. Its [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/swarmauri_cipher_suite_ipsec/__init__.py) exposes `IpsecCipherSuite`, allowing consumers to select this package without treating adjacent packages as part of its public contract.
|
|
41
|
+
|
|
42
|
+
### When to Use
|
|
43
|
+
|
|
44
|
+
Choose `swarmauri_cipher_suite_ipsec` when your integration needs iPsec / IKE cipher suite skeleton for Swarmauri. Match the imports below to your application boundary and install its declared dependencies before using the example.
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
- `IpsecCipherSuite`: Skeleton suite for IKE/IPsec policy.
|
|
49
|
+
|
|
50
|
+
### Non-Goals
|
|
51
|
+
|
|
52
|
+
`swarmauri_cipher_suite_ipsec` owns iPsec / IKE cipher suite skeleton for Swarmauri. Its imports do not by themselves configure credentials, deploy a service, or certify the behavior of its consumers. Dependencies and neighboring packages retain their own documented responsibilities.
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Getting Started
|
|
57
|
+
|
|
58
|
+
### Prerequisites
|
|
59
|
+
|
|
60
|
+
Python `>=3.10,<3.15` is required. The [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/pyproject.toml) declares runtime dependencies including `swarmauri-core`, `swarmauri-base`. Read the example’s inputs and service requirements before execution.
|
|
61
|
+
|
|
62
|
+
### Installation
|
|
63
|
+
|
|
64
|
+
#### uv
|
|
65
|
+
|
|
66
|
+
<!-- readme-standards:begin installation.uv -->
|
|
67
|
+
```bash
|
|
68
|
+
uv add swarmauri_cipher_suite_ipsec
|
|
69
|
+
```
|
|
70
|
+
<!-- readme-standards:end installation.uv -->
|
|
71
|
+
|
|
72
|
+
To add the dependency to a `pyproject.toml` managed by `uv`:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
uv add swarmauri_cipher_suite_ipsec
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Or install it into the active environment:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
uv pip install swarmauri_cipher_suite_ipsec
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
#### pip
|
|
85
|
+
|
|
86
|
+
<!-- readme-standards:begin installation.pip -->
|
|
87
|
+
```bash
|
|
88
|
+
python -m pip install swarmauri_cipher_suite_ipsec
|
|
89
|
+
```
|
|
90
|
+
<!-- readme-standards:end installation.pip -->
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
pip install swarmauri_cipher_suite_ipsec
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
#### Poetry
|
|
97
|
+
|
|
98
|
+
<!-- readme-standards:begin installation.poetry -->
|
|
99
|
+
```bash
|
|
100
|
+
poetry add swarmauri_cipher_suite_ipsec
|
|
101
|
+
```
|
|
102
|
+
<!-- readme-standards:end installation.poetry -->
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
poetry add swarmauri_cipher_suite_ipsec
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
### Quick Start
|
|
109
|
+
|
|
110
|
+
#### Example
|
|
111
|
+
|
|
112
|
+
<!-- readme-standards:begin example.quick-start -->
|
|
113
|
+
Source: [docs/readme/quick_start.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/docs/readme/quick_start.py).
|
|
114
|
+
|
|
115
|
+
```python
|
|
116
|
+
from swarmauri_cipher_suite_ipsec import IpsecCipherSuite
|
|
117
|
+
|
|
118
|
+
suite = IpsecCipherSuite(name="demo-ipsec")
|
|
119
|
+
|
|
120
|
+
# Inspect the available operations and defaults
|
|
121
|
+
print(suite.features()["ops"].keys())
|
|
122
|
+
|
|
123
|
+
# Normalize an operation
|
|
124
|
+
descriptor = suite.normalize(op=list(suite.supports().keys())[0])
|
|
125
|
+
print(descriptor["alg"], descriptor["params"])
|
|
126
|
+
```
|
|
127
|
+
<!-- readme-standards:end example.quick-start -->
|
|
128
|
+
|
|
129
|
+
#### Expected Result
|
|
130
|
+
|
|
131
|
+
The example demonstrates the documented `swarmauri_cipher_suite_ipsec` source boundary or workflow. Complete its required configuration first. README CI checks the maintained source’s syntax and declarations; it does not claim that external services or the application workflow were exercised.
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## Usage
|
|
136
|
+
|
|
137
|
+
### Common Workflows
|
|
138
|
+
|
|
139
|
+
<!-- readme-standards:begin example.usage -->
|
|
140
|
+
Source: [docs/readme/usage.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/docs/readme/usage.py).
|
|
141
|
+
|
|
142
|
+
```python
|
|
143
|
+
from swarmauri_cipher_suite_ipsec import IpsecCipherSuite
|
|
144
|
+
|
|
145
|
+
suite = IpsecCipherSuite(name="demo-ipsec")
|
|
146
|
+
|
|
147
|
+
# Inspect the available operations and defaults
|
|
148
|
+
print(suite.features()["ops"].keys())
|
|
149
|
+
|
|
150
|
+
# Normalize an operation
|
|
151
|
+
descriptor = suite.normalize(op=list(suite.supports().keys())[0])
|
|
152
|
+
print(descriptor["alg"], descriptor["params"])
|
|
153
|
+
```
|
|
154
|
+
<!-- readme-standards:end example.usage -->
|
|
155
|
+
|
|
156
|
+
The suite returns normalized descriptors that include canonical algorithm names,
|
|
157
|
+
per-dialect mappings, and policy metadata so providers can focus on execution.
|
|
158
|
+
|
|
159
|
+
### Configuration
|
|
160
|
+
|
|
161
|
+
Configure `swarmauri_cipher_suite_ipsec` through the APIs in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/swarmauri_cipher_suite_ipsec/__init__.py); its [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/pyproject.toml) describes installation requirements, not an implicit service configuration. No additional package-global configuration contract is inferred from dependencies.
|
|
162
|
+
|
|
163
|
+
### Error Handling
|
|
164
|
+
|
|
165
|
+
The inspected `swarmauri_cipher_suite_ipsec` source raises `ValueError`. Handle these at the calling boundary and consult the implementation for the triggering conditions.
|
|
166
|
+
|
|
167
|
+
### Best Practices
|
|
168
|
+
|
|
169
|
+
Use the explicit `swarmauri_cipher_suite_ipsec` imports documented below and keep collaborator configuration with the caller. Run the package’s relevant tests after changing `IpsecCipherSuite`; an import or successful installation alone does not establish its runtime guarantees.
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## Package Boundary
|
|
174
|
+
|
|
175
|
+
### What It Owns
|
|
176
|
+
|
|
177
|
+
`swarmauri_cipher_suite_ipsec` is located in `standards` and owns iPsec / IKE cipher suite skeleton for Swarmauri. Source-declared APIs include `IpsecCipherSuite`. The [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/pyproject.toml) records its direct dependency boundary.
|
|
178
|
+
|
|
179
|
+
### Public API and Import Surfaces
|
|
180
|
+
|
|
181
|
+
Import namespace: `swarmauri_cipher_suite_ipsec`.
|
|
182
|
+
|
|
183
|
+
Source-declared exports or types: `IpsecCipherSuite`.
|
|
184
|
+
|
|
185
|
+
Inspect [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/swarmauri_cipher_suite_ipsec/__init__.py) for exact signatures; this inventory does not designate every internal module as stable.
|
|
186
|
+
|
|
187
|
+
### Entry Points
|
|
188
|
+
|
|
189
|
+
<!-- readme-standards:begin entry-points -->
|
|
190
|
+
- `swarmauri.cipher_suites` → `IpsecCipherSuite` → `swarmauri_cipher_suite_ipsec:IpsecCipherSuite`
|
|
191
|
+
<!-- readme-standards:end entry-points -->
|
|
192
|
+
|
|
193
|
+
The suite registers under the `swarmauri.cipher_suites` entry point as `IpsecCipherSuite`.
|
|
194
|
+
|
|
195
|
+
### Injected Dependencies
|
|
196
|
+
|
|
197
|
+
The direct installation dependencies of `swarmauri_cipher_suite_ipsec` are `swarmauri-core`, `swarmauri-base`. These declarations do not imply automatic provider selection. Pass collaborators through the explicit constructors or call signatures in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/swarmauri_cipher_suite_ipsec/__init__.py).
|
|
198
|
+
|
|
199
|
+
### Protocol Consumers
|
|
200
|
+
|
|
201
|
+
No direct package-manifest dependency on `swarmauri_cipher_suite_ipsec` was found in the audited three-repository inventory. External consumers may still use its documented imports or commands.
|
|
202
|
+
|
|
203
|
+
### Extensions
|
|
204
|
+
|
|
205
|
+
For `swarmauri_cipher_suite_ipsec`, use the source-declared public interfaces (`IpsecCipherSuite`) when composing or extending behavior. Its entry-point section below is authoritative for registered plugins; no additional extension loader is inferred from the package name.
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
## Operations and Readiness
|
|
210
|
+
|
|
211
|
+
### Operational Requirements
|
|
212
|
+
|
|
213
|
+
Operate `swarmauri_cipher_suite_ipsec` according to its actual entry points and collaborators. The dependency and Python requirements in the [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/pyproject.toml) are prerequisites; deployment topology, credentials, and readiness remain the responsibility of the consuming application unless explicitly documented above.
|
|
214
|
+
|
|
215
|
+
### Health and Observability
|
|
216
|
+
|
|
217
|
+
This README does not establish a standalone health endpoint for `swarmauri_cipher_suite_ipsec`. Observe the concrete caller’s results, exceptions, and existing test reports. An application that embeds this package must define its own health and telemetry contract.
|
|
218
|
+
|
|
219
|
+
### Security and Resource Limits
|
|
220
|
+
|
|
221
|
+
Apply the input, credential, and resource constraints implemented in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/swarmauri_cipher_suite_ipsec/__init__.py). The `swarmauri_cipher_suite_ipsec` README gate is a documentation check, not a security review or a substitute for the implementation’s limits and caller authorization.
|
|
222
|
+
|
|
223
|
+
### Compatibility
|
|
224
|
+
|
|
225
|
+
This source version of `swarmauri_cipher_suite_ipsec` declares Python `>=3.10,<3.15`. Consult its dependency constraints before upgrading. Source-version and registry-version badges have separate meanings; this migration makes no additional platform or interoperability certification claim.
|
|
226
|
+
|
|
227
|
+
---
|
|
228
|
+
|
|
229
|
+
## Verification
|
|
230
|
+
|
|
231
|
+
### Tests
|
|
232
|
+
|
|
233
|
+
Run `python -m pytest tests/unit/test_readme_sources.py` from the `swarmauri_cipher_suite_ipsec` package directory for the maintained example source checks (Python compilation and non-Python file presence). Existing package tests include:
|
|
234
|
+
|
|
235
|
+
- [tests/unit/test_IpsecCipherSuite_unit.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/tests/unit/test_IpsecCipherSuite_unit.py)
|
|
236
|
+
|
|
237
|
+
The repository README gate also checks the required heading tree, metadata, managed fragments, and referenced files.
|
|
238
|
+
|
|
239
|
+
### Certification Status
|
|
240
|
+
|
|
241
|
+
No external certification is asserted for `swarmauri_cipher_suite_ipsec` by this documentation migration. README conformance, example syntax, runtime tests, and protocol or security certification are distinct evidence scopes.
|
|
242
|
+
|
|
243
|
+
### Evidence
|
|
244
|
+
|
|
245
|
+
The [README standards CI](https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml) records mechanical documentation results for its tested commit. The [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/swarmauri_cipher_suite_ipsec/__init__.py) and example sources support the package-boundary description; external runtime behavior requires its own test evidence.
|
|
246
|
+
|
|
247
|
+
---
|
|
248
|
+
|
|
249
|
+
## FAQ
|
|
250
|
+
|
|
251
|
+
### Why
|
|
252
|
+
|
|
253
|
+
**Why select this package?** `swarmauri_cipher_suite_ipsec` provides iPsec / IKE cipher suite skeleton for Swarmauri; use its own API boundary rather than assuming neighboring packages are bundled or configured automatically.
|
|
254
|
+
|
|
255
|
+
### How
|
|
256
|
+
|
|
257
|
+
**How do I start?** Install or synchronize the environment under Getting Started, follow the maintained example for `swarmauri_cipher_suite_ipsec`, and consult [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/swarmauri_cipher_suite_ipsec/__init__.py) for the exact types and signatures involved.
|
|
258
|
+
|
|
259
|
+
### When
|
|
260
|
+
|
|
261
|
+
**When should I validate an upgrade?** Recheck `swarmauri_cipher_suite_ipsec` whenever its source version, declared collaborators, configuration, or caller changes. Run relevant behavioral tests in addition to the README gate before promotion.
|
|
262
|
+
|
|
263
|
+
---
|
|
264
|
+
|
|
265
|
+
## Documentation and Related Packages
|
|
266
|
+
|
|
267
|
+
### More Documentation
|
|
268
|
+
|
|
269
|
+
The [repository contribution guide](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md), [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/swarmauri_cipher_suite_ipsec/__init__.py), and [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/pyproject.toml) provide the supporting context for `swarmauri_cipher_suite_ipsec`. The [README policy](https://github.com/groupsum/readme-standards/blob/master/docs/outline.md) defines the common document structure.
|
|
270
|
+
|
|
271
|
+
### Related Packages
|
|
272
|
+
|
|
273
|
+
- [swarmauri_base](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/20-bases/swarmauri_base/README.md): Reusable Swarmauri base classes, mixins, and dynamic Pydantic component models for composable intelligence infrastructure.
|
|
274
|
+
- [swarmauri_core](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/10-interfaces/swarmauri_core/README.md): Core interface contracts and shared types for Swarmauri composable intelligence infrastructure components.
|
|
275
|
+
|
|
276
|
+
### Project Links
|
|
277
|
+
|
|
278
|
+
<!-- readme-standards:begin project-links -->
|
|
279
|
+
- [pypi: swarmauri_cipher_suite_ipsec](https://pypi.org/project/swarmauri_cipher_suite_ipsec/)
|
|
280
|
+
<!-- readme-standards:end project-links -->
|
|
281
|
+
|
|
282
|
+
---
|
|
283
|
+
|
|
284
|
+
## Contributing
|
|
285
|
+
|
|
286
|
+
### How to Contribute
|
|
287
|
+
|
|
288
|
+
If you want to contribute to swarmauri-sdk, read up on our
|
|
289
|
+
[guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md)
|
|
290
|
+
that will help you get started.
|
|
291
|
+
|
|
292
|
+
### Development Setup
|
|
293
|
+
|
|
294
|
+
Work from the `pkgs/40-standards/swarmauri_cipher_suite_ipsec` checkout. Synchronize its declared development environment with uv, then run the relevant package tests and `python -m pytest tests/unit/test_readme_sources.py`. The repository’s dedicated README job installs `readme-standards==0.1.3` without resolving unrelated runtime packages.
|
|
295
|
+
|
|
296
|
+
### Notes for Maintainers
|
|
297
|
+
|
|
298
|
+
Edit authored prose directly in this `swarmauri_cipher_suite_ipsec` README. Update source examples in `docs/readme/`, then run `readme-standards render --root . --write` from the package directory and review the diff. Required headings and generated blocks come from package-guide-v1.
|
|
299
|
+
|
|
300
|
+
---
|
|
301
|
+
|
|
302
|
+
## Governance
|
|
303
|
+
|
|
304
|
+
### Ownership and Decision Making
|
|
305
|
+
|
|
306
|
+
Changes to `swarmauri_cipher_suite_ipsec` follow the maintainer review process of [swarmauri/swarmauri-sdk](https://github.com/swarmauri/swarmauri-sdk) and its contribution guide. Author attribution remains in the [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/pyproject.toml); this README does not assign new publishing or administrative authority.
|
|
307
|
+
|
|
308
|
+
### Standards and Policies
|
|
309
|
+
|
|
310
|
+
`swarmauri_cipher_suite_ipsec` follows the versioned [package-guide-v1 outline](https://github.com/groupsum/readme-standards/blob/master/docs/outline.md). All fixed headings, hierarchy, order, separators, and package-specific branding are checked by CI; reviewers assess the accuracy and usefulness of authored claims.
|
|
311
|
+
|
|
312
|
+
### Lifecycle and Migration
|
|
313
|
+
|
|
314
|
+
The `swarmauri_cipher_suite_ipsec` source version is `0.11.0`.
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
## License and Attribution
|
|
319
|
+
|
|
320
|
+
### License
|
|
321
|
+
|
|
322
|
+
<!-- readme-standards:begin license -->
|
|
323
|
+
Licensed under `Apache-2.0`. See [LICENSE](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/LICENSE).
|
|
324
|
+
<!-- readme-standards:end license -->
|
|
325
|
+
|
|
326
|
+
### Notices
|
|
327
|
+
|
|
328
|
+
<!-- readme-standards:begin notices -->
|
|
329
|
+
See [NOTICE](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/NOTICE) for attribution.
|
|
330
|
+
<!-- readme-standards:end notices -->
|
{swarmauri_cipher_suite_ipsec-0.2.0.dev5 → swarmauri_cipher_suite_ipsec-0.11.0}/pyproject.toml
RENAMED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "swarmauri_cipher_suite_ipsec"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.11.0"
|
|
4
4
|
description = "IPsec / IKE cipher suite skeleton for Swarmauri"
|
|
5
5
|
license = "Apache-2.0"
|
|
6
6
|
readme = "README.md"
|
|
7
|
-
requires-python = ">=3.10,<3.
|
|
7
|
+
requires-python = ">=3.10,<3.15"
|
|
8
8
|
authors = [{ name = "Jacob Stewart", email = "jacob@swarmauri.com" }]
|
|
9
9
|
classifiers = [
|
|
10
|
-
"License :: OSI Approved :: Apache Software License",
|
|
11
10
|
"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
11
|
"Development Status :: 3 - Alpha",
|
|
17
12
|
"Topic :: Security :: Cryptography",
|
|
18
13
|
"Intended Audience :: Developers",
|
|
19
14
|
"Programming Language :: Python",
|
|
20
15
|
"Programming Language :: Python :: 3",
|
|
21
16
|
"Programming Language :: Python :: 3 :: Only",
|
|
17
|
+
"Programming Language :: Python :: 3.10",
|
|
18
|
+
"Programming Language :: Python :: 3.11",
|
|
19
|
+
"Programming Language :: Python :: 3.12",
|
|
20
|
+
"Programming Language :: Python :: 3.13",
|
|
21
|
+
"Programming Language :: Python :: 3.14",
|
|
22
22
|
]
|
|
23
23
|
dependencies = [
|
|
24
24
|
"swarmauri_core",
|
|
@@ -46,6 +46,7 @@ keywords = [
|
|
|
46
46
|
'Diffie-Hellman group20',
|
|
47
47
|
'Diffie-Hellman group31',
|
|
48
48
|
]
|
|
49
|
+
license-files = ["LICENSE", "NOTICE"]
|
|
49
50
|
|
|
50
51
|
[tool.uv.sources]
|
|
51
52
|
swarmauri_core = { workspace = true }
|
|
@@ -69,6 +70,54 @@ log_cli_format = "%(asctime)s [%(levelname)s] %(message)s"
|
|
|
69
70
|
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
|
|
70
71
|
asyncio_default_fixture_loop_scope = "function"
|
|
71
72
|
|
|
73
|
+
[tool.readme_standards]
|
|
74
|
+
policy = "package-guide-v1"
|
|
75
|
+
readme = "README.md"
|
|
76
|
+
brand = "swarmauri"
|
|
77
|
+
brand_catalog = "../../../tools/readme/brands.toml"
|
|
78
|
+
repository = "https://github.com/swarmauri/swarmauri-sdk"
|
|
79
|
+
ref = "master"
|
|
80
|
+
package_path = "pkgs/40-standards/swarmauri_cipher_suite_ipsec"
|
|
81
|
+
layer = "standards"
|
|
82
|
+
lifecycle = "active"
|
|
83
|
+
license_file = "LICENSE"
|
|
84
|
+
notice_file = "NOTICE"
|
|
85
|
+
|
|
86
|
+
[tool.readme_standards.distributions.pypi]
|
|
87
|
+
name = "swarmauri_cipher_suite_ipsec"
|
|
88
|
+
published = true
|
|
89
|
+
|
|
90
|
+
[tool.readme_standards.examples.quick_start]
|
|
91
|
+
source = "docs/readme/quick_start.py"
|
|
92
|
+
test = "tests/unit/test_readme_sources.py"
|
|
93
|
+
language = "python"
|
|
94
|
+
expected_exit_code = 0
|
|
95
|
+
|
|
96
|
+
[tool.readme_standards.examples.usage]
|
|
97
|
+
source = "docs/readme/usage.py"
|
|
98
|
+
test = "tests/unit/test_readme_sources.py"
|
|
99
|
+
language = "python"
|
|
100
|
+
expected_exit_code = 0
|
|
101
|
+
|
|
102
|
+
[tool.readme_standards.statuses.readme]
|
|
103
|
+
label = "CI gate"
|
|
104
|
+
url = "https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml"
|
|
105
|
+
|
|
106
|
+
[tool.readme_standards.statuses.tests]
|
|
107
|
+
label = "example source"
|
|
108
|
+
url = "https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/tests/unit/test_readme_sources.py"
|
|
109
|
+
|
|
110
|
+
[tool.readme_standards.statuses.certification]
|
|
111
|
+
label = "not certified"
|
|
112
|
+
url = "https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_cipher_suite_ipsec/README.md#certification-status"
|
|
113
|
+
|
|
114
|
+
[tool.readme_standards.statuses.governance]
|
|
115
|
+
label = "repository policy"
|
|
116
|
+
url = "https://github.com/swarmauri/swarmauri-sdk/blob/master/tools/readme/POLICY.md"
|
|
117
|
+
|
|
118
|
+
[tool.readme_standards.statuses.evidence]
|
|
119
|
+
label = "source and CI"
|
|
120
|
+
url = "https://github.com/swarmauri/swarmauri-sdk/actions/workflows/readme-standards.yml"
|
|
72
121
|
[dependency-groups]
|
|
73
122
|
dev = [
|
|
74
123
|
"pytest>=8.0",
|
|
@@ -79,6 +128,7 @@ dev = [
|
|
|
79
128
|
"pytest-benchmark>=4.0.0",
|
|
80
129
|
"flake8>=7.0",
|
|
81
130
|
"ruff>=0.9.9",
|
|
131
|
+
"readme-standards==0.1.3; python_version >= \"3.11\"",
|
|
82
132
|
]
|
|
83
133
|
|
|
84
134
|
[build-system]
|
|
@@ -28,7 +28,9 @@ class IpsecCipherSuite(CipherSuiteBase):
|
|
|
28
28
|
def supports(self) -> Mapping[CipherOp, Iterable[Alg]]:
|
|
29
29
|
return {"encrypt": _IPSEC_AEAD, "decrypt": _IPSEC_AEAD}
|
|
30
30
|
|
|
31
|
-
def default_alg(
|
|
31
|
+
def default_alg(
|
|
32
|
+
self, op: CipherOp, *, for_key: Optional[KeyRef] = None
|
|
33
|
+
) -> Alg:
|
|
32
34
|
return "AES-GCM-16"
|
|
33
35
|
|
|
34
36
|
def features(self) -> Features:
|
|
@@ -37,7 +39,12 @@ class IpsecCipherSuite(CipherSuiteBase):
|
|
|
37
39
|
"version": 1,
|
|
38
40
|
"dialects": {"ike": list(_IPSEC_AEAD)},
|
|
39
41
|
"constraints": {"prf": _IPSEC_PRF, "dh": _IPSEC_DH, "pfs": True},
|
|
40
|
-
"ops": {
|
|
42
|
+
"ops": {
|
|
43
|
+
"encrypt": {
|
|
44
|
+
"default": "AES-GCM-16",
|
|
45
|
+
"allowed": list(_IPSEC_AEAD),
|
|
46
|
+
}
|
|
47
|
+
},
|
|
41
48
|
"compliance": {"fips": False},
|
|
42
49
|
}
|
|
43
50
|
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: swarmauri_cipher_suite_ipsec
|
|
3
|
-
Version: 0.2.0.dev5
|
|
4
|
-
Summary: IPsec / IKE cipher suite skeleton for Swarmauri
|
|
5
|
-
License-Expression: Apache-2.0
|
|
6
|
-
License-File: LICENSE
|
|
7
|
-
Keywords: swarmauri,sdk,standards,cipher,suite,ipsec,cryptography,IPsec,IKEv2,RFC 8247,RFC 4106,RFC 7634,AES-GCM-16,ChaCha20-Poly1305,HMAC-SHA2-256,HMAC-SHA2-384,Diffie-Hellman group14,Diffie-Hellman group19,Diffie-Hellman group20,Diffie-Hellman group31
|
|
8
|
-
Author: Jacob Stewart
|
|
9
|
-
Author-email: jacob@swarmauri.com
|
|
10
|
-
Requires-Python: >=3.10,<3.13
|
|
11
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
|
-
Classifier: Natural Language :: English
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
-
Classifier: Development Status :: 3 - Alpha
|
|
18
|
-
Classifier: Topic :: Security :: Cryptography
|
|
19
|
-
Classifier: Intended Audience :: Developers
|
|
20
|
-
Classifier: Programming Language :: Python
|
|
21
|
-
Classifier: Programming Language :: Python :: 3
|
|
22
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
23
|
-
Requires-Dist: swarmauri_base
|
|
24
|
-
Requires-Dist: swarmauri_core
|
|
25
|
-
Description-Content-Type: text/markdown
|
|
26
|
-
|
|
27
|
-

|
|
28
|
-
|
|
29
|
-
<p align="center">
|
|
30
|
-
<a href="https://pypi.org/project/swarmauri_cipher_suite_ipsec/">
|
|
31
|
-
<img src="https://img.shields.io/pypi/dm/swarmauri_cipher_suite_ipsec" alt="PyPI - Downloads"/></a>
|
|
32
|
-
<a href="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_cipher_suite_ipsec/">
|
|
33
|
-
<img alt="Hits" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_cipher_suite_ipsec.svg"/></a>
|
|
34
|
-
<a href="https://pypi.org/project/swarmauri_cipher_suite_ipsec/">
|
|
35
|
-
<img src="https://img.shields.io/pypi/pyversions/swarmauri_cipher_suite_ipsec" alt="PyPI - Python Version"/></a>
|
|
36
|
-
<a href="https://pypi.org/project/swarmauri_cipher_suite_ipsec/">
|
|
37
|
-
<img src="https://img.shields.io/pypi/l/swarmauri_cipher_suite_ipsec" alt="PyPI - License"/></a>
|
|
38
|
-
<a href="https://pypi.org/project/swarmauri_cipher_suite_ipsec/">
|
|
39
|
-
<img src="https://img.shields.io/pypi/v/swarmauri_cipher_suite_ipsec?label=swarmauri_cipher_suite_ipsec&color=green" alt="PyPI - swarmauri_cipher_suite_ipsec"/></a>
|
|
40
|
-
</p>
|
|
41
|
-
|
|
42
|
-
---
|
|
43
|
-
|
|
44
|
-
# Swarmauri Cipher Ipsec
|
|
45
|
-
|
|
46
|
-
IPsec / IKE AEAD, PRF, and DH defaults for tunnel policies.
|
|
47
|
-
|
|
48
|
-
## Installation
|
|
49
|
-
|
|
50
|
-
### pip
|
|
51
|
-
|
|
52
|
-
```bash
|
|
53
|
-
pip install swarmauri_cipher_suite_ipsec
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
### Poetry
|
|
57
|
-
|
|
58
|
-
```bash
|
|
59
|
-
poetry add swarmauri_cipher_suite_ipsec
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
### uv
|
|
63
|
-
|
|
64
|
-
To add the dependency to a `pyproject.toml` managed by `uv`:
|
|
65
|
-
|
|
66
|
-
```bash
|
|
67
|
-
uv add swarmauri_cipher_suite_ipsec
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
Or install it into the active environment:
|
|
71
|
-
|
|
72
|
-
```bash
|
|
73
|
-
uv pip install swarmauri_cipher_suite_ipsec
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
## Usage
|
|
77
|
-
|
|
78
|
-
```python
|
|
79
|
-
from swarmauri_cipher_suite_ipsec import IpsecCipherSuite
|
|
80
|
-
|
|
81
|
-
suite = IpsecCipherSuite(name="demo-ipsec")
|
|
82
|
-
|
|
83
|
-
# Inspect the available operations and defaults
|
|
84
|
-
print(suite.features()["ops"].keys())
|
|
85
|
-
|
|
86
|
-
# Normalize an operation
|
|
87
|
-
descriptor = suite.normalize(op=list(suite.supports().keys())[0])
|
|
88
|
-
print(descriptor["alg"], descriptor["params"])
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
The suite returns normalized descriptors that include canonical algorithm names,
|
|
92
|
-
per-dialect mappings, and policy metadata so providers can focus on execution.
|
|
93
|
-
|
|
94
|
-
## Entry Point
|
|
95
|
-
|
|
96
|
-
The suite registers under the `swarmauri.cipher_suites` entry point as `IpsecCipherSuite`.
|
|
97
|
-
|
|
98
|
-
## Contributing
|
|
99
|
-
|
|
100
|
-
If you want to contribute to swarmauri-sdk, read up on our
|
|
101
|
-
[guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md)
|
|
102
|
-
that will help you get started.
|
|
103
|
-
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-

|
|
2
|
-
|
|
3
|
-
<p align="center">
|
|
4
|
-
<a href="https://pypi.org/project/swarmauri_cipher_suite_ipsec/">
|
|
5
|
-
<img src="https://img.shields.io/pypi/dm/swarmauri_cipher_suite_ipsec" alt="PyPI - Downloads"/></a>
|
|
6
|
-
<a href="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_cipher_suite_ipsec/">
|
|
7
|
-
<img alt="Hits" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/tree/master/pkgs/standards/swarmauri_cipher_suite_ipsec.svg"/></a>
|
|
8
|
-
<a href="https://pypi.org/project/swarmauri_cipher_suite_ipsec/">
|
|
9
|
-
<img src="https://img.shields.io/pypi/pyversions/swarmauri_cipher_suite_ipsec" alt="PyPI - Python Version"/></a>
|
|
10
|
-
<a href="https://pypi.org/project/swarmauri_cipher_suite_ipsec/">
|
|
11
|
-
<img src="https://img.shields.io/pypi/l/swarmauri_cipher_suite_ipsec" alt="PyPI - License"/></a>
|
|
12
|
-
<a href="https://pypi.org/project/swarmauri_cipher_suite_ipsec/">
|
|
13
|
-
<img src="https://img.shields.io/pypi/v/swarmauri_cipher_suite_ipsec?label=swarmauri_cipher_suite_ipsec&color=green" alt="PyPI - swarmauri_cipher_suite_ipsec"/></a>
|
|
14
|
-
</p>
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
# Swarmauri Cipher Ipsec
|
|
19
|
-
|
|
20
|
-
IPsec / IKE AEAD, PRF, and DH defaults for tunnel policies.
|
|
21
|
-
|
|
22
|
-
## Installation
|
|
23
|
-
|
|
24
|
-
### pip
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
pip install swarmauri_cipher_suite_ipsec
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
### Poetry
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
poetry add swarmauri_cipher_suite_ipsec
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
### uv
|
|
37
|
-
|
|
38
|
-
To add the dependency to a `pyproject.toml` managed by `uv`:
|
|
39
|
-
|
|
40
|
-
```bash
|
|
41
|
-
uv add swarmauri_cipher_suite_ipsec
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
Or install it into the active environment:
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
uv pip install swarmauri_cipher_suite_ipsec
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
## Usage
|
|
51
|
-
|
|
52
|
-
```python
|
|
53
|
-
from swarmauri_cipher_suite_ipsec import IpsecCipherSuite
|
|
54
|
-
|
|
55
|
-
suite = IpsecCipherSuite(name="demo-ipsec")
|
|
56
|
-
|
|
57
|
-
# Inspect the available operations and defaults
|
|
58
|
-
print(suite.features()["ops"].keys())
|
|
59
|
-
|
|
60
|
-
# Normalize an operation
|
|
61
|
-
descriptor = suite.normalize(op=list(suite.supports().keys())[0])
|
|
62
|
-
print(descriptor["alg"], descriptor["params"])
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
The suite returns normalized descriptors that include canonical algorithm names,
|
|
66
|
-
per-dialect mappings, and policy metadata so providers can focus on execution.
|
|
67
|
-
|
|
68
|
-
## Entry Point
|
|
69
|
-
|
|
70
|
-
The suite registers under the `swarmauri.cipher_suites` entry point as `IpsecCipherSuite`.
|
|
71
|
-
|
|
72
|
-
## Contributing
|
|
73
|
-
|
|
74
|
-
If you want to contribute to swarmauri-sdk, read up on our
|
|
75
|
-
[guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md)
|
|
76
|
-
that will help you get started.
|
|
File without changes
|