Registry / auth-security / hsms
library0.3.2pypypiunverified

Hardware security module simulator for Chia BLS12-381 signatures. Current version 0.3.2, stable release cadence is low.

pip install hsms
INSTALL
IMPORT
SIG · HSMS
H
hsms
auth-securitypythonv0.3.2
Install
13.1s avg
Import
Disk
36MB
Pass rate
4/ 10
Env Coverage4 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.3.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✕ build_error
✓ 15.1s
py 3.11
✕ build_error
✓ 13.6s
py 3.12
✕ build_error
✓ 13.1s
py 3.13
✕ build_error
✓ 10.7s
py 3.9
✕ build_error
✕ build_error
36MB installed
● package 36MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Key
from hsms import Key
from hsms import Key

Generate a key and sign a message.

from hsms import Key, sign key = Key() message = b"hello" signature = sign(message, key) print(signature)
Debug
Known issues
breakingInternal module structure changed in 0.3.0. Importing from 'hsms.key' or 'hsms.sign' will break.
fix
Use 'from hsms import Key, sign'.
affects: 0.3.0+
gotchaThe library is a simulator, not a real HSM. Do not use for production security.
fix
Use only for testing or development.
affects: all
Upgrade
Version history
0.3.2latest on PyPI · released Nov 20, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
24
Amazon
1
OpenAI (training)
1
Resources