Skip to main content

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

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.6.2.tar.gz (53.9 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.6.2-py3-none-any.whl (57.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: archon_keymaster-0.6.2.tar.gz
  • Upload date:
  • Size: 53.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for archon_keymaster-0.6.2.tar.gz
Algorithm Hash digest
SHA256 6200bc2262c202574ceedf71a15b8308186b5024de89edb7db7547600fc6c638
MD5 dbefbf5f3c577adea9ab9deb30064574
BLAKE2b-256 7da199c2570272372288d766b6aacb902339b4f59b6f1352b6a8dd09b5ec98c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for archon_keymaster-0.6.2.tar.gz:

Publisher: python-keymaster-publish.yml on archetech/archon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for archon_keymaster-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 57a85717c682045d7d850832a5c5327e734a9c1874068a8a745b2d9a2346f347
MD5 f2c86efd0f6709367b1ccfdcbc528ece
BLAKE2b-256 4a5a9483e2df9f928056d2117cbd43952936213323cb449b13901594a3a1fd6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for archon_keymaster-0.6.2-py3-none-any.whl:

Publisher: python-keymaster-publish.yml on archetech/archon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.6.2 This release

2 files

0.6.0

2 files

0.4.11

2 files

0.4.8

2 files

Supported by

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