swarmauri_crypto_paramiko 0.4.0.dev4__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_crypto_paramiko-0.11.0/NOTICE +7 -0
- swarmauri_crypto_paramiko-0.11.0/PKG-INFO +445 -0
- swarmauri_crypto_paramiko-0.11.0/README.md +415 -0
- {swarmauri_crypto_paramiko-0.4.0.dev4 → swarmauri_crypto_paramiko-0.11.0}/pyproject.toml +57 -7
- {swarmauri_crypto_paramiko-0.4.0.dev4 → swarmauri_crypto_paramiko-0.11.0}/swarmauri_crypto_paramiko/ParamikoCrypto.py +43 -11
- swarmauri_crypto_paramiko-0.4.0.dev4/PKG-INFO +0 -182
- swarmauri_crypto_paramiko-0.4.0.dev4/README.md +0 -154
- {swarmauri_crypto_paramiko-0.4.0.dev4 → swarmauri_crypto_paramiko-0.11.0}/LICENSE +0 -0
- {swarmauri_crypto_paramiko-0.4.0.dev4 → swarmauri_crypto_paramiko-0.11.0}/swarmauri_crypto_paramiko/__init__.py +0 -0
|
@@ -0,0 +1,445 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: swarmauri_crypto_paramiko
|
|
3
|
+
Version: 0.11.0
|
|
4
|
+
Summary: Paramiko-backed RSA + AES-GCM crypto provider for Swarmauri
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
License-File: LICENSE
|
|
7
|
+
License-File: NOTICE
|
|
8
|
+
Keywords: swarmauri,sdk,standards,crypto,paramiko,cryptography
|
|
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: cryptography (>=41)
|
|
25
|
+
Requires-Dist: paramiko (>=3.4)
|
|
26
|
+
Requires-Dist: swarmauri_base
|
|
27
|
+
Requires-Dist: swarmauri_core
|
|
28
|
+
Description-Content-Type: text/markdown
|
|
29
|
+
|
|
30
|
+
# swarmauri_crypto_paramiko
|
|
31
|
+
|
|
32
|
+
<!-- readme-standards:begin branding -->
|
|
33
|
+
<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>
|
|
34
|
+
<p align="center"><strong>swarmauri_crypto_paramiko</strong></p>
|
|
35
|
+
<p align="center">Paramiko-backed RSA + AES-GCM crypto provider for Swarmauri</p>
|
|
36
|
+
<p align="center">
|
|
37
|
+
<a href="https://pypi.org/project/swarmauri_crypto_paramiko/"><img alt="pypi: swarmauri_crypto_paramiko" src="https://img.shields.io/pypi/v/swarmauri_crypto_paramiko?labelColor=1E293B&color=1D4ED8"></a>
|
|
38
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/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>
|
|
39
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/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>
|
|
40
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/pyproject.toml"><img alt="Layer: standards" src="https://img.shields.io/static/v1?label=Layer&message=standards&labelColor=1E293B&color=6D28D9"></a>
|
|
41
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/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>
|
|
42
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/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>
|
|
43
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/NOTICE"><img alt="Notice: attribution" src="https://img.shields.io/static/v1?label=Notice&message=attribution&labelColor=1E293B&color=86198F"></a>
|
|
44
|
+
</p>
|
|
45
|
+
<p align="center">
|
|
46
|
+
<a href="https://pypi.org/project/swarmauri_crypto_paramiko/"><img alt="Monthly PyPI downloads: swarmauri_crypto_paramiko" src="https://img.shields.io/pypi/dm/swarmauri_crypto_paramiko?labelColor=1E293B&color=0E7490"></a>
|
|
47
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/README.md"><img alt="README hits: swarmauri_crypto_paramiko" src="https://hits.sh/github.com/swarmauri/swarmauri-sdk/pkgs/40-standards/swarmauri_crypto_paramiko/README.md.svg?label=README%20hits&labelColor=1E293B&color=0E7490"></a>
|
|
48
|
+
</p>
|
|
49
|
+
<p align="center">
|
|
50
|
+
<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>
|
|
51
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/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>
|
|
52
|
+
<a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/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>
|
|
53
|
+
<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>
|
|
54
|
+
<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>
|
|
55
|
+
</p>
|
|
56
|
+
<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>
|
|
57
|
+
<!-- readme-standards:end branding -->
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Overview
|
|
62
|
+
|
|
63
|
+
### Summary
|
|
64
|
+
|
|
65
|
+
`swarmauri_crypto_paramiko`: Paramiko-backed RSA + AES-GCM crypto provider for Swarmauri
|
|
66
|
+
|
|
67
|
+
### Why This Package
|
|
68
|
+
|
|
69
|
+
`swarmauri_crypto_paramiko` isolates this responsibility: Paramiko-backed RSA + AES-GCM crypto provider for Swarmauri. Its [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/swarmauri_crypto_paramiko/ParamikoCrypto.py) exposes `ParamikoCrypto`, allowing consumers to select this package without treating adjacent packages as part of its public contract.
|
|
70
|
+
|
|
71
|
+
### When to Use
|
|
72
|
+
|
|
73
|
+
Choose `swarmauri_crypto_paramiko` when your integration needs paramiko-backed RSA + AES-GCM crypto provider for Swarmauri. Match the imports below to your application boundary and install its declared dependencies before using the example.
|
|
74
|
+
|
|
75
|
+
### Features
|
|
76
|
+
|
|
77
|
+
- AES-256-GCM symmetric encrypt/decrypt (16/24/32 byte keys)
|
|
78
|
+
- RSA-OAEP(SHA-256) wrap/unwrap for OpenSSH RSA key pairs
|
|
79
|
+
- AES-256-GCM key wrap/unwrap when the KEK is symmetric
|
|
80
|
+
- RSA-OAEP(SHA-256) sealing for small payloads
|
|
81
|
+
- Multi-recipient hybrid envelopes using OpenSSH public keys
|
|
82
|
+
|
|
83
|
+
Keys are represented by `KeyRef` objects. Public keys should be provided in
|
|
84
|
+
OpenSSH format via `KeyRef.public`, while private keys are supplied as
|
|
85
|
+
PEM-encoded bytes in `KeyRef.material`. RSA sealing is limited to inputs no
|
|
86
|
+
larger than the modulus-dependent RSA-OAEP bound (`modulus_bytes - 2 * hash_len
|
|
87
|
+
- 2`). For larger payloads use the hybrid envelope mode instead.
|
|
88
|
+
|
|
89
|
+
### Non-Goals
|
|
90
|
+
|
|
91
|
+
`swarmauri_crypto_paramiko` owns paramiko-backed RSA + AES-GCM crypto provider 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.
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## Getting Started
|
|
96
|
+
|
|
97
|
+
### Prerequisites
|
|
98
|
+
|
|
99
|
+
Python `>=3.10,<3.15` is required. The [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/pyproject.toml) declares runtime dependencies including `swarmauri-core`, `swarmauri-base`, `cryptography`, `paramiko`. Read the example’s inputs and service requirements before execution.
|
|
100
|
+
|
|
101
|
+
### Installation
|
|
102
|
+
|
|
103
|
+
Choose the tool that matches your workflow:
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
# pip
|
|
107
|
+
pip install swarmauri_crypto_paramiko
|
|
108
|
+
|
|
109
|
+
# Poetry
|
|
110
|
+
poetry add swarmauri_crypto_paramiko
|
|
111
|
+
|
|
112
|
+
# uv
|
|
113
|
+
uv add swarmauri_crypto_paramiko
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
#### uv
|
|
117
|
+
|
|
118
|
+
<!-- readme-standards:begin installation.uv -->
|
|
119
|
+
```bash
|
|
120
|
+
uv add swarmauri_crypto_paramiko
|
|
121
|
+
```
|
|
122
|
+
<!-- readme-standards:end installation.uv -->
|
|
123
|
+
|
|
124
|
+
#### pip
|
|
125
|
+
|
|
126
|
+
<!-- readme-standards:begin installation.pip -->
|
|
127
|
+
```bash
|
|
128
|
+
python -m pip install swarmauri_crypto_paramiko
|
|
129
|
+
```
|
|
130
|
+
<!-- readme-standards:end installation.pip -->
|
|
131
|
+
|
|
132
|
+
#### Poetry
|
|
133
|
+
|
|
134
|
+
<!-- readme-standards:begin installation.poetry -->
|
|
135
|
+
```bash
|
|
136
|
+
poetry add swarmauri_crypto_paramiko
|
|
137
|
+
```
|
|
138
|
+
<!-- readme-standards:end installation.poetry -->
|
|
139
|
+
|
|
140
|
+
### Quick Start
|
|
141
|
+
|
|
142
|
+
#### Example
|
|
143
|
+
|
|
144
|
+
<!-- readme-standards:begin example.quick-start -->
|
|
145
|
+
Source: [docs/readme/quick_start.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/docs/readme/quick_start.py).
|
|
146
|
+
|
|
147
|
+
```python
|
|
148
|
+
import importlib
|
|
149
|
+
|
|
150
|
+
package = importlib.import_module("swarmauri_crypto_paramiko")
|
|
151
|
+
assert package.__name__ == "swarmauri_crypto_paramiko"
|
|
152
|
+
```
|
|
153
|
+
<!-- readme-standards:end example.quick-start -->
|
|
154
|
+
|
|
155
|
+
#### Expected Result
|
|
156
|
+
|
|
157
|
+
This quick start is explicitly an import smoke check for `swarmauri_crypto_paramiko`. It confirms that the documented namespace loads; it does not demonstrate or certify a complete application workflow. The detailed source and retained usage guidance below describe the integration boundary.
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## Usage
|
|
162
|
+
|
|
163
|
+
### Common Workflows
|
|
164
|
+
|
|
165
|
+
<!-- readme-standards:begin example.usage -->
|
|
166
|
+
Source: [docs/readme/usage.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/docs/readme/usage.py).
|
|
167
|
+
|
|
168
|
+
```python
|
|
169
|
+
import importlib
|
|
170
|
+
|
|
171
|
+
package = importlib.import_module("swarmauri_crypto_paramiko")
|
|
172
|
+
assert package.__name__ == "swarmauri_crypto_paramiko"
|
|
173
|
+
```
|
|
174
|
+
<!-- readme-standards:end example.usage -->
|
|
175
|
+
|
|
176
|
+
**Symmetric AEAD Encryption**
|
|
177
|
+
|
|
178
|
+
```python
|
|
179
|
+
from swarmauri_crypto_paramiko import ParamikoCrypto
|
|
180
|
+
from swarmauri_core.crypto.types import KeyRef, KeyType, KeyUse, ExportPolicy
|
|
181
|
+
|
|
182
|
+
crypto = ParamikoCrypto()
|
|
183
|
+
|
|
184
|
+
sym = KeyRef(
|
|
185
|
+
kid="sym1",
|
|
186
|
+
version=1,
|
|
187
|
+
type=KeyType.SYMMETRIC,
|
|
188
|
+
uses=(KeyUse.ENCRYPT, KeyUse.DECRYPT),
|
|
189
|
+
export_policy=ExportPolicy.SECRET_WHEN_ALLOWED,
|
|
190
|
+
material=b"\x00" * 32,
|
|
191
|
+
)
|
|
192
|
+
|
|
193
|
+
ct = await crypto.encrypt(sym, b"hello")
|
|
194
|
+
pt = await crypto.decrypt(sym, ct)
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
**RSA Key Wrapping/Unwrapping**
|
|
198
|
+
|
|
199
|
+
```python
|
|
200
|
+
import paramiko
|
|
201
|
+
from cryptography.hazmat.primitives import serialization
|
|
202
|
+
from swarmauri_core.crypto.types import KeyRef, KeyType, KeyUse, ExportPolicy
|
|
203
|
+
|
|
204
|
+
crypto = ParamikoCrypto()
|
|
205
|
+
|
|
206
|
+
key = paramiko.RSAKey.generate(2048)
|
|
207
|
+
pub_line = f"{key.get_name()} {key.get_base64()}\n".encode()
|
|
208
|
+
priv_pem = key.key.private_bytes(
|
|
209
|
+
encoding=serialization.Encoding.PEM,
|
|
210
|
+
format=serialization.PrivateFormat.PKCS8,
|
|
211
|
+
encryption_algorithm=serialization.NoEncryption(),
|
|
212
|
+
)
|
|
213
|
+
|
|
214
|
+
recipient = KeyRef(
|
|
215
|
+
kid="rsa1",
|
|
216
|
+
version=1,
|
|
217
|
+
type=KeyType.RSA,
|
|
218
|
+
uses=(KeyUse.WRAP, KeyUse.UNWRAP),
|
|
219
|
+
export_policy=ExportPolicy.PUBLIC_ONLY,
|
|
220
|
+
public=pub_line,
|
|
221
|
+
material=priv_pem,
|
|
222
|
+
)
|
|
223
|
+
|
|
224
|
+
wrapped = await crypto.wrap(recipient)
|
|
225
|
+
unwrapped = await crypto.unwrap(recipient, wrapped)
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
To wrap with a symmetric key-encryption key instead, provide the AES key bytes
|
|
229
|
+
in `KeyRef.material` and set `wrap_alg="AES-256-GCM"`:
|
|
230
|
+
|
|
231
|
+
```python
|
|
232
|
+
sym_kek = KeyRef(
|
|
233
|
+
kid="kek1",
|
|
234
|
+
version=1,
|
|
235
|
+
type=KeyType.SYMMETRIC,
|
|
236
|
+
uses=(KeyUse.WRAP, KeyUse.UNWRAP),
|
|
237
|
+
export_policy=ExportPolicy.SECRET_WHEN_ALLOWED,
|
|
238
|
+
material=b"\x01" * 32,
|
|
239
|
+
)
|
|
240
|
+
|
|
241
|
+
wrapped = await crypto.wrap(sym_kek, wrap_alg="AES-256-GCM")
|
|
242
|
+
plaintext_key = await crypto.unwrap(sym_kek, wrapped)
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
**RSA Sealing for Small Payloads**
|
|
246
|
+
|
|
247
|
+
```python
|
|
248
|
+
# Using the `recipient` defined above
|
|
249
|
+
sealed = await crypto.seal(recipient, b"tiny secret")
|
|
250
|
+
plaintext = await crypto.unseal(recipient, sealed)
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
**Hybrid Envelope for Multiple Recipients**
|
|
254
|
+
|
|
255
|
+
```python
|
|
256
|
+
env = await crypto.encrypt_for_many([recipient], b"secret")
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
Calling `encrypt_for_many` without overrides produces an AES-256-GCM ciphertext
|
|
260
|
+
shared by every recipient, while `env.recipients` holds RSA-OAEP-wrapped
|
|
261
|
+
session keys. Use `enc_alg="RSA-OAEP-SHA256-SEAL"` to emit individual RSA-OAEP
|
|
262
|
+
sealed payloads instead of a shared ciphertext when the plaintext fits within
|
|
263
|
+
the sealing size limit.
|
|
264
|
+
|
|
265
|
+
### Configuration
|
|
266
|
+
|
|
267
|
+
Configure `swarmauri_crypto_paramiko` through the APIs in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/swarmauri_crypto_paramiko/ParamikoCrypto.py); its [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/pyproject.toml) describes installation requirements, not an implicit service configuration. No additional package-global configuration contract is inferred from dependencies.
|
|
268
|
+
|
|
269
|
+
### Error Handling
|
|
270
|
+
|
|
271
|
+
The inspected `swarmauri_crypto_paramiko` source raises `IntegrityError`, `UnsupportedAlgorithm`, `ValueError`. Handle these at the calling boundary and consult the implementation for the triggering conditions.
|
|
272
|
+
|
|
273
|
+
### Best Practices
|
|
274
|
+
|
|
275
|
+
Use the explicit `swarmauri_crypto_paramiko` imports documented below and keep collaborator configuration with the caller. Run the package’s relevant tests after changing `ParamikoCrypto`; an import or successful installation alone does not establish its runtime guarantees.
|
|
276
|
+
|
|
277
|
+
---
|
|
278
|
+
|
|
279
|
+
## Package Boundary
|
|
280
|
+
|
|
281
|
+
### What It Owns
|
|
282
|
+
|
|
283
|
+
`swarmauri_crypto_paramiko` is located in `standards` and owns paramiko-backed RSA + AES-GCM crypto provider for Swarmauri. Source-declared APIs include `ParamikoCrypto`. The [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/pyproject.toml) records its direct dependency boundary.
|
|
284
|
+
|
|
285
|
+
### Public API and Import Surfaces
|
|
286
|
+
|
|
287
|
+
Import namespace: `swarmauri_crypto_paramiko`.
|
|
288
|
+
|
|
289
|
+
Source-declared exports or types: `ParamikoCrypto`.
|
|
290
|
+
|
|
291
|
+
Inspect [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/swarmauri_crypto_paramiko/ParamikoCrypto.py) for exact signatures; this inventory does not designate every internal module as stable.
|
|
292
|
+
|
|
293
|
+
### Entry Points
|
|
294
|
+
|
|
295
|
+
<!-- readme-standards:begin entry-points -->
|
|
296
|
+
- `peagen.plugins.cryptos` → `paramiko_crypto` → `swarmauri_crypto_paramiko:ParamikoCrypto`
|
|
297
|
+
- `swarmauri.cryptos` → `ParamikoCrypto` → `swarmauri_crypto_paramiko:ParamikoCrypto`
|
|
298
|
+
<!-- readme-standards:end entry-points -->
|
|
299
|
+
|
|
300
|
+
The provider is registered under the `swarmauri.cryptos` entry-point as `ParamikoCrypto`.
|
|
301
|
+
|
|
302
|
+
### Injected Dependencies
|
|
303
|
+
|
|
304
|
+
The direct installation dependencies of `swarmauri_crypto_paramiko` are `swarmauri-core`, `swarmauri-base`, `cryptography`, `paramiko`. 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_crypto_paramiko/swarmauri_crypto_paramiko/ParamikoCrypto.py).
|
|
305
|
+
|
|
306
|
+
### Protocol Consumers
|
|
307
|
+
|
|
308
|
+
No direct package-manifest dependency on `swarmauri_crypto_paramiko` was found in the audited three-repository inventory. External consumers may still use its documented imports or commands.
|
|
309
|
+
|
|
310
|
+
### Extensions
|
|
311
|
+
|
|
312
|
+
For `swarmauri_crypto_paramiko`, use the source-declared public interfaces (`ParamikoCrypto`) 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.
|
|
313
|
+
|
|
314
|
+
---
|
|
315
|
+
|
|
316
|
+
## Operations and Readiness
|
|
317
|
+
|
|
318
|
+
### Operational Requirements
|
|
319
|
+
|
|
320
|
+
Operate `swarmauri_crypto_paramiko` 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_crypto_paramiko/pyproject.toml) are prerequisites; deployment topology, credentials, and readiness remain the responsibility of the consuming application unless explicitly documented above.
|
|
321
|
+
|
|
322
|
+
### Health and Observability
|
|
323
|
+
|
|
324
|
+
This README does not establish a standalone health endpoint for `swarmauri_crypto_paramiko`. 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.
|
|
325
|
+
|
|
326
|
+
### Security and Resource Limits
|
|
327
|
+
|
|
328
|
+
Apply the input, credential, and resource constraints implemented in [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/swarmauri_crypto_paramiko/ParamikoCrypto.py). The `swarmauri_crypto_paramiko` README gate is a documentation check, not a security review or a substitute for the implementation’s limits and caller authorization.
|
|
329
|
+
|
|
330
|
+
### Compatibility
|
|
331
|
+
|
|
332
|
+
This source version of `swarmauri_crypto_paramiko` 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.
|
|
333
|
+
|
|
334
|
+
---
|
|
335
|
+
|
|
336
|
+
## Verification
|
|
337
|
+
|
|
338
|
+
### Tests
|
|
339
|
+
|
|
340
|
+
Run `python -m pytest tests/unit/test_readme_sources.py` from the `swarmauri_crypto_paramiko` package directory for the maintained example source checks (Python compilation and non-Python file presence). Existing package tests include:
|
|
341
|
+
|
|
342
|
+
- [tests/unit/test_ParamikoCrypto.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/tests/unit/test_ParamikoCrypto.py)
|
|
343
|
+
- [tests/unit/test_usage_examples.py](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/tests/unit/test_usage_examples.py)
|
|
344
|
+
|
|
345
|
+
The repository README gate also checks the required heading tree, metadata, managed fragments, and referenced files.
|
|
346
|
+
|
|
347
|
+
### Certification Status
|
|
348
|
+
|
|
349
|
+
No external certification is asserted for `swarmauri_crypto_paramiko` by this documentation migration. README conformance, example syntax, runtime tests, and protocol or security certification are distinct evidence scopes.
|
|
350
|
+
|
|
351
|
+
### Evidence
|
|
352
|
+
|
|
353
|
+
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_crypto_paramiko/swarmauri_crypto_paramiko/ParamikoCrypto.py) and example sources support the package-boundary description; external runtime behavior requires its own test evidence.
|
|
354
|
+
|
|
355
|
+
---
|
|
356
|
+
|
|
357
|
+
## FAQ
|
|
358
|
+
|
|
359
|
+
### Why
|
|
360
|
+
|
|
361
|
+
**Why select this package?** `swarmauri_crypto_paramiko` provides paramiko-backed RSA + AES-GCM crypto provider for Swarmauri; use its own API boundary rather than assuming neighboring packages are bundled or configured automatically.
|
|
362
|
+
|
|
363
|
+
### How
|
|
364
|
+
|
|
365
|
+
**How do I start?** Install or synchronize the environment under Getting Started, follow the maintained example for `swarmauri_crypto_paramiko`, and consult [package source](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/swarmauri_crypto_paramiko/ParamikoCrypto.py) for the exact types and signatures involved.
|
|
366
|
+
|
|
367
|
+
### When
|
|
368
|
+
|
|
369
|
+
**When should I validate an upgrade?** Recheck `swarmauri_crypto_paramiko` whenever its source version, declared collaborators, configuration, or caller changes. Run relevant behavioral tests in addition to the README gate before promotion.
|
|
370
|
+
|
|
371
|
+
---
|
|
372
|
+
|
|
373
|
+
## Documentation and Related Packages
|
|
374
|
+
|
|
375
|
+
### More Documentation
|
|
376
|
+
|
|
377
|
+
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_crypto_paramiko/swarmauri_crypto_paramiko/ParamikoCrypto.py), and [manifest](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/pyproject.toml) provide the supporting context for `swarmauri_crypto_paramiko`. The [README policy](https://github.com/groupsum/readme-standards/blob/master/docs/outline.md) defines the common document structure.
|
|
378
|
+
|
|
379
|
+
### Related Packages
|
|
380
|
+
|
|
381
|
+
- [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.
|
|
382
|
+
- [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.
|
|
383
|
+
|
|
384
|
+
### Project Links
|
|
385
|
+
|
|
386
|
+
<!-- readme-standards:begin project-links -->
|
|
387
|
+
- [pypi: swarmauri_crypto_paramiko](https://pypi.org/project/swarmauri_crypto_paramiko/)
|
|
388
|
+
<!-- readme-standards:end project-links -->
|
|
389
|
+
|
|
390
|
+
---
|
|
391
|
+
|
|
392
|
+
## Contributing
|
|
393
|
+
|
|
394
|
+
### How to Contribute
|
|
395
|
+
|
|
396
|
+
If you want to contribute to swarmauri-sdk, read up on our
|
|
397
|
+
[guidelines for contributing](https://github.com/swarmauri/swarmauri-sdk/blob/master/CONTRIBUTING.md)
|
|
398
|
+
that will help you get started.
|
|
399
|
+
|
|
400
|
+
### Development Setup
|
|
401
|
+
|
|
402
|
+
Work from the `pkgs/40-standards/swarmauri_crypto_paramiko` 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.
|
|
403
|
+
|
|
404
|
+
### Notes for Maintainers
|
|
405
|
+
|
|
406
|
+
**Swarmauri Crypto Paramiko**
|
|
407
|
+
|
|
408
|
+
Paramiko-backed crypto provider implementing the `ICrypto` contract via
|
|
409
|
+
`CryptoBase`. Built on top of [`paramiko`](https://www.paramiko.org/) and
|
|
410
|
+
[`cryptography`](https://cryptography.io/), it exposes an asynchronous API for
|
|
411
|
+
several cryptographic primitives using OpenSSH-formatted public keys and
|
|
412
|
+
PEM-encoded private keys supplied through `KeyRef` objects.
|
|
413
|
+
|
|
414
|
+
---
|
|
415
|
+
|
|
416
|
+
## Governance
|
|
417
|
+
|
|
418
|
+
### Ownership and Decision Making
|
|
419
|
+
|
|
420
|
+
Changes to `swarmauri_crypto_paramiko` 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_crypto_paramiko/pyproject.toml); this README does not assign new publishing or administrative authority.
|
|
421
|
+
|
|
422
|
+
### Standards and Policies
|
|
423
|
+
|
|
424
|
+
`swarmauri_crypto_paramiko` 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.
|
|
425
|
+
|
|
426
|
+
### Lifecycle and Migration
|
|
427
|
+
|
|
428
|
+
The `swarmauri_crypto_paramiko` source version is `0.11.0`.
|
|
429
|
+
|
|
430
|
+
---
|
|
431
|
+
|
|
432
|
+
## License and Attribution
|
|
433
|
+
|
|
434
|
+
### License
|
|
435
|
+
|
|
436
|
+
<!-- readme-standards:begin license -->
|
|
437
|
+
Licensed under `Apache-2.0`. See [LICENSE](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/LICENSE).
|
|
438
|
+
<!-- readme-standards:end license -->
|
|
439
|
+
|
|
440
|
+
### Notices
|
|
441
|
+
|
|
442
|
+
<!-- readme-standards:begin notices -->
|
|
443
|
+
See [NOTICE](https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/40-standards/swarmauri_crypto_paramiko/NOTICE) for attribution.
|
|
444
|
+
<!-- readme-standards:end notices -->
|
|
445
|
+
|