SIGNEDBYME SDK - Self-signing digital signatures with zero-knowledge proofs
Project description
SIGNEDBYME Python SDK
Self-signing digital signatures with zero-knowledge proofs.
Installation
pip install signedby
Quick Start
from signedby import SignedByAgent, SignedByClient
# Initialize agent
agent = SignedByAgent.init(storage_path="./agent_data")
# Set email mapping for enterprises
agent.set_email_mapping({
"example.com": "user@example.com"
})
# Connect to SIGNEDBYME relays
agent.connect_relays()
# Watch for authorization requests
async for auth_request in agent.watch_for_authorizations():
print(f"Authorization from {auth_request.enterprise}")
# Authenticate
client = SignedByClient(api_url="https://api.signedbyme.com")
token = await client.authenticate(
client_id="example",
proof=agent.generate_proof()
)
print(f"Authenticated: {token.sub}")
Features
- Agent Management: DID generation, secure storage
- Groth16 ZK Proofs: Native Rust core via PyO3
- NOSTR Integration: Automatic relay management
- OIDC Compatible: Standard JWT id_tokens
Requirements
- Python 3.9+
- Rust toolchain (for building native extension)
Documentation
Full documentation: https://docs.signedbyme.com
License
SSAL-1.0 (SignedByMe Source-Available License)
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
signedby-1.0.0.tar.gz
(11.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file signedby-1.0.0.tar.gz.
File metadata
- Download URL: signedby-1.0.0.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3366ad9e134bf39e739a3e2ac01419743899574cf146b3b4afc883c193c0d42c
|
|
| MD5 |
4fc839d134087523eb72fe98fa25cd05
|
|
| BLAKE2b-256 |
56aeb5817c1ad58a3da10cc0c214e1a3b70cb68b47c8bb7c0da1b80b4d0d8a4c
|
File details
Details for the file signedby-1.0.0-cp311-cp311-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: signedby-1.0.0-cp311-cp311-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 284.7 kB
- Tags: CPython 3.11, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa0806d318434d6098d3986f590ef2cf9b3c96436aa444b925827044eb22d9a4
|
|
| MD5 |
e4183fc56fad569956114aa49e1b9e21
|
|
| BLAKE2b-256 |
913b731cf325a762915e0b7adafdceda059bd881c316f0d99730b74174b92983
|