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 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
Metadata
Release files for hsms 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hsms-0.3.2.tar.gz | 49.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hsms-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 89.1 kB
Release files / hsms-0.3.2.tar.gz
| Download URL | hsms-0.3.2.tar.gz |
|---|---|
| Size | 49.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b6ce24d8825680a18e7546b4573e594029f265dcccfb16e3c3fe373faee4b71
|
|
BLAKE2b-256 checksum How to use checksums |
2472a74431d86945594323fa21c54f4c322a6f21aa89517679cae9bba903abea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2025.
Transparency logRelease files / hsms-0.3.2-py3-none-any.whl
| Download URL | hsms-0.3.2-py3-none-any.whl |
|---|---|
| Size | 40.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b6facaf7f3673b6a479ba18c7078892bee8b9b9c4b4a1efb9c785b43a6d6886c
|
|
BLAKE2b-256 checksum How to use checksums |
7fb3da4a3517495751a89188e2138cb2beb0c04a8b40642b50a6d3c3634e630e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2025.
Transparency log