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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hsms-0.3.1.tar.gz
  • Upload date:
  • Size: 48.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for hsms-0.3.1.tar.gz
Algorithm Hash digest
SHA256 22ee883399cba0e153a5194b11e04c93348cafef899ad5b34905a8ea60a167e0
MD5 beb682c0d59baabf5a6dbaf949d2d82d
BLAKE2b-256 455aed4fa1ee38289d426bd07eead36d8d455716a53c06423b340964ce65bee0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hsms-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 40.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for hsms-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d05a5598751f856b126d2fa6606f70c975304e7ab707dd7092b1ac2eed6267ec
MD5 02a42414b75105693d37bc6e56d06b6f
BLAKE2b-256 7f8cdb4df366e6b2cfed51c01a35013ff8e2cc75931d6e048b8cf878db2ac31d

See more details on using hashes here.

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