Reusable Python Keymaster core library for Archon
Project description
Python Keymaster Library
Reusable Python implementation of the Archon Keymaster business logic.
This package is intended to hold the core wallet, DID, crypto, and asset
behaviors independent of any specific HTTP service runtime. It also exposes
the Python keymaster CLI, which mirrors the TypeScript Keymaster CLI command
surface while using this library in-process against a Gatekeeper HTTP endpoint
and local wallet file.
Install
pip install archon-keymaster
For local development from a repo checkout:
pip install -e python/keymaster
CLI usage
export ARCHON_PASSPHRASE=your-passphrase
export ARCHON_GATEKEEPER_URL=http://localhost:4224
export ARCHON_WALLET_PATH=./wallet.json
keymaster --help
keymaster create-wallet
keymaster create-id alice
keymaster list-ids
CLI environment variables
| Variable | Default | Description |
|---|---|---|
ARCHON_NODE_URL / ARCHON_GATEKEEPER_URL |
http://localhost:4224 |
Gatekeeper HTTP endpoint |
ARCHON_WALLET_PATH |
./wallet.json |
Path to wallet file |
ARCHON_PASSPHRASE |
(required) | Wallet passphrase |
ARCHON_DEFAULT_REGISTRY |
hyperswarm |
Default registry for new DIDs |
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
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 archon_keymaster-0.4.8.tar.gz.
File metadata
- Download URL: archon_keymaster-0.4.8.tar.gz
- Upload date:
- Size: 39.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b280f7a820463777881327083f2f7707780290ece484d231a500f1707ee5960
|
|
| MD5 |
27ef2b4822fdb81d3e8be52c8640a75d
|
|
| BLAKE2b-256 |
4722fc12ea0a2b8c22a160df4e93e2bffdb2e835be5c103dd5840646c6bc87be
|
File details
Details for the file archon_keymaster-0.4.8-py3-none-any.whl.
File metadata
- Download URL: archon_keymaster-0.4.8-py3-none-any.whl
- Upload date:
- Size: 41.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4cea7e738203bb131b8d05f0391600c731d39fb815b33068f642a9469189496
|
|
| MD5 |
76396c880613018a5e01c2866ff8750c
|
|
| BLAKE2b-256 |
3bbf4b7933ace55dfc35a52468504e588c666ae5306c52ce9683456b74363e37
|