Skip to main content

Hardware security module simulator for chik bls12_381 signatures

Project description

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

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

hsmk-0.3.2.tar.gz (48.1 kB view details)

Uploaded Source

Built Distribution

hsmk-0.3.2-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

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

Hashes for hsmk-0.3.2.tar.gz
Algorithm Hash digest
SHA256 643d3ebcbb059fb6b3b2ee90fa13227ac84e0e37ab3f3b880d1d469a73e1f5fa
MD5 bec36e88a4224262d62907bfb589ccde
BLAKE2b-256 260b885df8117e9bb6118ec4485ee78c7d3116410f0ecb921b6a0478352202b7

See more details on using hashes here.

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

Hashes for hsmk-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 962ca2d564172f5de75e5df0458b0102069c7d4efe9fafa719527ff565456132
MD5 8b8e42fe7a8391b7f26bc954d166a51a
BLAKE2b-256 c7eda350c9eb4bdd0c13a4e7eb12a201aabc07de4afcac5b1fcc26ff29fb5457

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page