Metadata-Version: 2.1
Name: hsms
Version: 0.2.0
Summary: Hardware security module simulator for chia bls12_381 signatures
License: Apache-2.0
Requires-Dist: blspy==1.0.16
Requires-Dist: segno==1.4.1
Requires-Dist: clvm_rs==0.2.5
Requires-Dist: clvm_tools_rs==0.1.30
Description-Content-Type: text/markdown


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`


enscons
-------

This package uses [enscons](https://github.com/dholth/enscons)
which uses [SCons](https://scons.org/) to build rather than the commonly used `setuptools`.
