Skip to main content

Hardware security module simulator for chia bls12_381 signatures

Project description

HSMK: 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:

  • hsmk - 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

hsmk-0.3.1.tar.gz (48.1 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hsmk-0.3.1.tar.gz
  • Upload date:
  • Size: 48.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for hsmk-0.3.1.tar.gz
Algorithm Hash digest
SHA256 3b4cae8e7b2da28609cf62d5a12a590fc9b227be389708a74d79c1a5d6dcb976
MD5 b70df8bbcc4aa25721671b2bae73e97d
BLAKE2b-256 0f2fd255e165fee72e35847ec682e4b145e8170a11233b34902d89b1534391df

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for hsmk-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f605ad798853fe5203af86329dd8ccaf78e74b06e7a583224e2266eac6e2bd5d
MD5 78d49a1d45b89bd599478650a2bbb7eb
BLAKE2b-256 a9b7109db48d64b1cca754c8ac70bcb22ba3e7f104c3a47083b8b5c5e626389c

See more details on using hashes here.

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