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.3

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.3
File Size Uploaded
hsmk-0.3.3.tar.gz 48.4 kB Details

Built distribution (wheel)

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

Total release size: 88.5 kB

Release files / hsmk-0.3.3.tar.gz

Download URL hsmk-0.3.3.tar.gz
Size 48.4 kB
Tags Source
SHA-256 checksum
How to use checksums
bd2f1fda41b68f9e703ffdc18e748941d90a368b52ec90c175ca0a17121ff243
BLAKE2b-256 checksum
How to use checksums
fce6fb526471fa159b1c1b61c482ca3afe6cdbe5d8a1a14002722a13aea84721
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 4, 2026.

Transparency log

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

Download URL hsmk-0.3.3-py3-none-any.whl
Size 40.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91a05f26766953f782c1db3aca88767f58960e15736d22a91093fbceb310b7d6
BLAKE2b-256 checksum
How to use checksums
fd40a9a27bfff8dcfabd3774d877d99cddfe66d0fccf6407495cda4a14a18a75
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 4, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.4

2 release files

This release

0.3.3 This release

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