This release is a pre-release and may not be stable for production use.
swarmauri_tokens_sshsig
An SSH signature token service for the Swarmauri framework. This service implements minting and verifying tokens signed with SSH-compatible algorithms such as Ed25519 and ECDSA P-256.
Features
- Mint and verify compact
SSHSIGtokens - Supports
ssh-ed25519andecdsa-sha2-nistp256 - Integrates with the Swarmauri token management framework
Installation
pip install swarmauri_tokens_sshsig
Usage
from swarmauri_tokens_sshsig import SshSigTokenService
from swarmauri_core.key_providers import IKeyProvider
key_provider: IKeyProvider = ... # Provide an implementation of IKeyProvider
svc = SshSigTokenService(key_provider, default_issuer="example.com")
token = await svc.mint({"sub": "alice"}, alg="ssh-ed25519", kid="ed1")
claims = await svc.verify(token, issuer="example.com")
The token format uses a compact three-part structure similar to JWT but relies on SSH signature algorithms. The payload is encoded as deterministic JSON and bound to a namespace before signing, providing interoperability with existing SSH key infrastructures.
Want to help?
If you want to contribute to swarmauri-sdk, read up on our guidelines for contributing that will help you get started.
Metadata
Release files for swarmauri_tokens_sshsig 0.11.0.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| swarmauri_tokens_sshsig-0.11.0.dev1.tar.gz | 9.3 kB | Without provenance | Details for swarmauri_tokens_sshsig-0.11.0.dev1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| swarmauri_tokens_sshsig-0.11.0.dev1-py3-none-any.whl | Python 3 | none | any | Details for swarmauri_tokens_sshsig-0.11.0.dev1-py3-none-any.whl |
Total release size: 19.7 kB
Release files / swarmauri_tokens_sshsig-0.11.0.dev1.tar.gz
| Download URL | swarmauri_tokens_sshsig-0.11.0.dev1.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb69439e7f39cdeb6fa80424ba9b83f332cd4a9a1525035c3222b3856406d2b8
|
|
BLAKE2b-256 checksum How to use checksums |
6318e66ff33fe55fb3387158b8c27945b757c0d415c1176ebf80bc141a5fcd75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / swarmauri_tokens_sshsig-0.11.0.dev1-py3-none-any.whl
| Download URL | swarmauri_tokens_sshsig-0.11.0.dev1-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f17b2386a7172395e5c2336df7942bfa1a835bea0e66aaecddd6d0ab2a3e2eb7
|
|
BLAKE2b-256 checksum How to use checksums |
3aa712f13fffa03c8c724d7417f1cab5bb18b84700e0f7b5295d5ff5c5ee1404
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for swarmauri_tokens_sshsig 0.11.0.dev1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.