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.
$ pip install -e .
If on windows, you need one extra package:
$ pip install pyreadline
Command-line tools installed include:
hsms- HSM sim that acceptsUnsignedSpendobjects and produces signatures, full or partialhsmgen- generate secret keyshsmpk- show public keys for secret keyshsmmerge- merge signatures for a multisig spendqrint- convert binary to/from qrint ascii
For testing & debugging:
hsm_test_spend- create a simple testUnsignedSpendmultisig spendhsm_dump_sb- debug utility to dump information about aSpendBundlehsm_dump_us- debug utility to dump information about anUnsignedSpend
For secret exponent proof of posession (see POSER.md for more info):
poser_gen- proof of secret exponent request generatorposer_verify- proof of secret exponent request verifier