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 acceptsUnsignedSpend
objects 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 testUnsignedSpend
multisig spendhsm_dump_sb
- debug utility to dump information about aSpendBundle
hsm_dump_us
- debug utility to dump information about anUnsignedSpend
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)
Built Distribution
hsms-0.3.1-py3-none-any.whl
(40.0 kB
view details)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22ee883399cba0e153a5194b11e04c93348cafef899ad5b34905a8ea60a167e0 |
|
MD5 | beb682c0d59baabf5a6dbaf949d2d82d |
|
BLAKE2b-256 | 455aed4fa1ee38289d426bd07eead36d8d455716a53c06423b340964ce65bee0 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d05a5598751f856b126d2fa6606f70c975304e7ab707dd7092b1ac2eed6267ec |
|
MD5 | 02a42414b75105693d37bc6e56d06b6f |
|
BLAKE2b-256 | 7f8cdb4df366e6b2cfed51c01a35013ff8e2cc75931d6e048b8cf878db2ac31d |