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.6.0.tar.gz (53.2 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.0-py3-none-any.whl (56.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for archon_keymaster-0.6.0.tar.gz
Algorithm Hash digest
SHA256 f1e03436b1872f9b9da48e593b7b1b5f111a364fa0c3837bc2c626e4d0a0f6f2
MD5 e1b78e3d9bd91bee87045e69df7232a5
BLAKE2b-256 c9e93cf89eb96c1351ef3aec54717e295144c0816cf2c3512fd723409c567fb6

See more details on using hashes here.

Provenance

The following attestation bundles were made for archon_keymaster-0.6.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for archon_keymaster-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 440141e7cd2a597bf5e960857cc96d5adcc74464e0aab38e0a664b8100ca380a
MD5 0e5b668f61598f317b7c5f6ea360a3d0
BLAKE2b-256 424e67fe9578c9f81b0c97aae65d3eae1c1b97be0095ff11fcae612c7e356b21

See more details on using hashes here.

Provenance

The following attestation bundles were made for archon_keymaster-0.6.0-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.

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