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.1.tar.gz (48.0 kB view hashes)

Uploaded Source

Built Distribution

hsms-0.3.1-py3-none-any.whl (40.0 kB view hashes)

Uploaded Python 3

Supported by

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