Skip to main content

Hardware security module simulator for chia bls12_381 signatures

Project description

HSMS: hardware security module software/simulator

This project is intended to run on an air-gapped computer to sign chia spends using bls12_381 keys.

Install

$ pip install -e .

If on windows, you need one extra package:

$ pip install pyreadline

Tools

Command-line tools installed include:

  • hsms - HSM sim that accepts UnsignedSpend objects and produces signatures, full or partial
  • hsmgen - generate secret keys
  • hsmpk - show public keys for secret keys
  • hsmmerge - merge signatures for a multisig spend
  • qrint - convert binary to/from qrint ascii

For testing & debugging:

  • hsm_test_spend - create a simple test UnsignedSpend multisig spend
  • hsm_dump_sb - debug utility to dump information about a SpendBundle
  • hsm_dump_us - debug utility to dump information about an UnsignedSpend

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

hsms-0.3.2.tar.gz (49.0 kB view details)

Uploaded Source

Built Distribution

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

hsms-0.3.2-py3-none-any.whl (40.1 kB view details)

Uploaded Python 3

File details

Details for the file hsms-0.3.2.tar.gz.

File metadata

  • Download URL: hsms-0.3.2.tar.gz
  • Upload date:
  • Size: 49.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hsms-0.3.2.tar.gz
Algorithm Hash digest
SHA256 7b6ce24d8825680a18e7546b4573e594029f265dcccfb16e3c3fe373faee4b71
MD5 ea9b300c5d4c7046a2dc02880777cbb3
BLAKE2b-256 2472a74431d86945594323fa21c54f4c322a6f21aa89517679cae9bba903abea

See more details on using hashes here.

Provenance

The following attestation bundles were made for hsms-0.3.2.tar.gz:

Publisher: build-wheels.yaml on Chia-Network/hsms

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

File details

Details for the file hsms-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: hsms-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 40.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hsms-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b6facaf7f3673b6a479ba18c7078892bee8b9b9c4b4a1efb9c785b43a6d6886c
MD5 68ec3c4433420ff480528c94be8e6151
BLAKE2b-256 7fb3da4a3517495751a89188e2138cb2beb0c04a8b40642b50a6d3c3634e630e

See more details on using hashes here.

Provenance

The following attestation bundles were made for hsms-0.3.2-py3-none-any.whl:

Publisher: build-wheels.yaml on Chia-Network/hsms

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