Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

archon_keymaster-0.4.11.tar.gz (40.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

archon_keymaster-0.4.11-py3-none-any.whl (42.0 kB view details)

Uploaded Python 3

File details

Details for the file archon_keymaster-0.4.11.tar.gz.

File metadata

  • Download URL: archon_keymaster-0.4.11.tar.gz
  • Upload date:
  • Size: 40.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for archon_keymaster-0.4.11.tar.gz
Algorithm Hash digest
SHA256 cd0426b9d28a7f9bc7e5329cba22bf3c582799b4c7150f99672dab3d120e061b
MD5 a02a88add23808085cb83bfbc92ad76b
BLAKE2b-256 3a44f281d9a9b0db599dd678679cf0fa936e4b61ceafd040c43b473d35819292

See more details on using hashes here.

File details

Details for the file archon_keymaster-0.4.11-py3-none-any.whl.

File metadata

File hashes

Hashes for archon_keymaster-0.4.11-py3-none-any.whl
Algorithm Hash digest
SHA256 81d30a0c06d23aa3573a3b74de9079229caccb7f081c8d8ff0c8c482ce6070fb
MD5 2ccac12c0699e1f23dae62ccf3849ce4
BLAKE2b-256 223a3728984dc60085cc31df1868bab76ae5c972bce1aba9d18da39c3264c67b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page