Skip to main content

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 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
  • hsm_dump_us - debug utility to dump information about an UnsignedSpend

Metadata

Release files for hsmk 0.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hsmk 0.3.4
File Size Uploaded
hsmk-0.3.4.tar.gz 48.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hsmk 0.3.4
File Interpreter ABI Platform
hsmk-0.3.4-py3-none-any.whl Python 3 none any Details

Total release size: 88.5 kB

Release files / hsmk-0.3.4.tar.gz

Download URL hsmk-0.3.4.tar.gz
Size 48.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6f51be7d84294e1aeb64daa401e3a566155441ccf09d1b6beba6bb8154b48aac
BLAKE2b-256 checksum
How to use checksums
7dfc42c73ad9e99849d8a5d6e13fc82a6fbf2c76fbe3fe2f8dbc585e285ee084
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 13, 2026.

Transparency log

Release files / hsmk-0.3.4-py3-none-any.whl

Download URL hsmk-0.3.4-py3-none-any.whl
Size 40.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57f83c8ff6f0a8291a57c7903f597c94681d5453aabfe83836fec97114d245d9
BLAKE2b-256 checksum
How to use checksums
71340856ebbd57df5f5c329c095fd91cdd3cab3bc811d142044ef51c56b92be0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.4 This release

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page