HSMK: hardware security module software/simulator
This project is intended to run on an air-gapped computer to sign chik 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 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
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.2.tar.gz
(48.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
hsmk-0.3.2-py3-none-any.whl
(40.0 kB
view details)
File details
Details for the file hsmk-0.3.2.tar.gz.
File metadata
- Download URL: hsmk-0.3.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
643d3ebcbb059fb6b3b2ee90fa13227ac84e0e37ab3f3b880d1d469a73e1f5fa
|
|
| MD5 |
bec36e88a4224262d62907bfb589ccde
|
|
| BLAKE2b-256 |
260b885df8117e9bb6118ec4485ee78c7d3116410f0ecb921b6a0478352202b7
|
File details
Details for the file hsmk-0.3.2-py3-none-any.whl.
File metadata
- Download URL: hsmk-0.3.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
962ca2d564172f5de75e5df0458b0102069c7d4efe9fafa719527ff565456132
|
|
| MD5 |
8b8e42fe7a8391b7f26bc954d166a51a
|
|
| BLAKE2b-256 |
c7eda350c9eb4bdd0c13a4e7eb12a201aabc07de4afcac5b1fcc26ff29fb5457
|