algovoi-keystone-secure-lite
The open, lite flow-point hardening layer for the AlgoVoi keystone. Several canonical keystone flow points emit a ref that proves a fact was recorded, but not that it was recorded correctly or freshly. This package closes that with three securing refs, each a deterministic, offline-recomputable content address. Moves no funds; adds no new crypto.
decision_audit_ref = "sha256:" + SHA-256(JCS({decision_ref, passport_credential_ref, mandate_ref, policy_bound_ref[, screen_binding_ref]}))
guard_context_ref = "sha256:" + SHA-256(JCS({canon_version, type, guard_timestamp_ms, policy_ref, mandate_ref, passport_credential_ref}))
with_validity / check_freshness -- attach + enforce an integer-millisecond validity window on any ref preimage
Each input is imported by hash. Swap the passport, the mandate, the policy, the screen, or the moment and the ref diverges: a decision audited under policy P does not recompute under a rotated policy P', and a guard context is bound to the exact instant the gate evaluated it. Timestamps are epoch-millisecond integers hashed directly (Substrate Rule 2) -- no floating point, no RFC 3339 strings.
Lite vs commercial
| Lite (this package) | Keystone Secure | |
|---|---|---|
| Licence | Apache-2.0, open | Commercial OEM |
| Hardening refs | content-addressed, recompute offline | same construction, Falcon-1024 signed |
| Evidence | bring your own | signed, hash-linked chain into the Compliance Command Center posture tiers |
| Enforcement | recompute + compare | fail-closed decision-audit, freshness, and guard-context enforcement |
The lite ref you pin is byte-identical to the ref the commercial tier signs: pin lite, anchor a
vector hash, carry the NOTICE → free v0 key; upgrade for post-quantum signing + CCC posture + enforcement.
Install & use
pip install algovoi-keystone-secure-lite
from algovoi_keystone_secure_lite import (
decision_audit_ref, verify_decision_audit, guard_context_ref, with_validity, check_freshness,
)
# each input is imported by hash: a decision_ref, a passport_ref, a mandate_ref, a policy_bound_ref, a screen_ref
audit = decision_audit_ref(decision_ref, passport_ref, mandate_ref, policy_bound_ref, screen_binding_ref)
verify_decision_audit(audit, decision_ref, passport_ref, mandate_ref, policy_bound_ref, screen_binding_ref) # True
# pin what the admission gate saw at a moment in time
gc = guard_context_ref(guard_timestamp_ms, policy_ref, mandate_ref, passport_ref)
# attach + enforce a validity window on any preimage
policy = with_validity({"required_scope": "payments.send"}, issued_at_ms=1_720_000_000_000, expires_at_ms=1_720_003_600_000)
check_freshness(policy, now_ms=1_720_000_060_000) # True, inside the window
A decision audited under policy P returns a different decision_audit_ref if recomputed against the
policy_bound_ref under a rotated P'; rotation is detectable. Malformed refs and non-integer timestamps
are rejected, not hashed.
Conformance
conformance/keystone_decision_audit_v1/: 2 positives, 3 divergence/omission negatives, 1 rejection negative, 2 invariants.conformance/keystone_guard_context_v1/: 1 positive, 2 divergence negatives, 2 rejection negatives, 2 invariants.
Each verifier imports only stdlib + rfc8785:
pip install rfc8785
python conformance/keystone_decision_audit_v1/verify.py
python conformance/keystone_guard_context_v1/verify.py
Adopters
The 4-check gate is scripts/check_v0_adoption.py (dependency + canonical hash anchor + NOTICE + version
pin → ISSUE_V0_KEY). Apply: chopmob@gmail.com.
License
Apache-2.0. Copyright 2026 AlgoVoi. Preserve the NOTICE in any distribution.
Metadata
Release files for algovoi-keystone-secure-lite 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 1.9 MB
Release files / algovoi_keystone_secure_lite-0.2.1-cp313-cp313-win_amd64.whl
| Download URL | algovoi_keystone_secure_lite-0.2.1-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 39.4 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7a3baa1910fd43c1c4f0d55dcc44cb12c1214643f877097c63069be66dc5bab0
|
|
BLAKE2b-256 checksum How to use checksums |
c153861171c4da24604eb0004d88c942e319a3ab5ac74c6ef614bf0b0f3ad829
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / algovoi_keystone_secure_lite-0.2.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | algovoi_keystone_secure_lite-0.2.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 224.2 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
f394ddda4984c9fd2272ffe14df898f0f0cc3ba0a8891188646dbe66ef79bb32
|
|
BLAKE2b-256 checksum How to use checksums |
f2cd6fbab718b6a103609fe4ac9c22f5edc488b73ded8fd4f984a39a5cb32649
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / algovoi_keystone_secure_lite-0.2.1-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | algovoi_keystone_secure_lite-0.2.1-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 226.7 kB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
30c1927676b83adf6ed9d19bcd89f031288b1c2ec812917a20535040dc5994af
|
|
BLAKE2b-256 checksum How to use checksums |
7c30a7d263439c83bf4e7af1fda45681225698b154c3dae383d18c4363b56936
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / algovoi_keystone_secure_lite-0.2.1-cp312-cp312-win_amd64.whl
| Download URL | algovoi_keystone_secure_lite-0.2.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 39.9 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5f64c06a88d731ad515dbfce5c72a9c1f1c630ca56a1dcc14e96378f4ff6d5bf
|
|
BLAKE2b-256 checksum How to use checksums |
3b08090a812f1960f6c92cb9ae9de9ea2fdf30b1e451701ce19f38ff4d4f6dbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / algovoi_keystone_secure_lite-0.2.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | algovoi_keystone_secure_lite-0.2.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 238.3 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
5b3722f8e46a6a031211c00d2d4c2215380e762e702c2bd3ee4f014e7faba66a
|
|
BLAKE2b-256 checksum How to use checksums |
7196b056ba127bc89cd86809384dbc2ba5d51191bfdca8761c2e2c075d57cea2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / algovoi_keystone_secure_lite-0.2.1-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | algovoi_keystone_secure_lite-0.2.1-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 241.0 kB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
144ecfd28981636136844efd5093aadb01e0b2931982be70d4216dda3b7e8f3e
|
|
BLAKE2b-256 checksum How to use checksums |
560fcc4f70cafb3a57e821a9489e4c1ea5e465673a6a020333661c78ff4184ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / algovoi_keystone_secure_lite-0.2.1-cp311-cp311-win_amd64.whl
| Download URL | algovoi_keystone_secure_lite-0.2.1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 40.8 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ba1bd08137e8d6c6b56b4e48d13b4657d237aad37e51df3db3ae66ff5e807eb5
|
|
BLAKE2b-256 checksum How to use checksums |
eeba1a956d985ab20d5cae834e36317e082e204cf78db82380069dd1ae14b6ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / algovoi_keystone_secure_lite-0.2.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | algovoi_keystone_secure_lite-0.2.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 217.3 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
6e4f01708cc37823b51aea5b46b37e3dad0c466214b8cc40fe9b24d2c27e02af
|
|
BLAKE2b-256 checksum How to use checksums |
bf8a0eb91ae825375ab79299ecb4e12e38c5bef25705ba7a0387871df7569103
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / algovoi_keystone_secure_lite-0.2.1-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | algovoi_keystone_secure_lite-0.2.1-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 216.0 kB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
ac01ae61fda950364240a625a6e0ee733ebc535605de041061d37925f6c8f777
|
|
BLAKE2b-256 checksum How to use checksums |
00755e2772f49f105b2241013bb0a2a967bdc99a3a9256c627751b4344af122d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / algovoi_keystone_secure_lite-0.2.1-cp310-cp310-win_amd64.whl
| Download URL | algovoi_keystone_secure_lite-0.2.1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 40.7 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ba1dc178713d850bef638451c9d683c23d41795abfd05e0deee256de3bf436d4
|
|
BLAKE2b-256 checksum How to use checksums |
feafdcee475f648eccde730f26a4801d07fa61189b55fe8726c0261a5889902a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / algovoi_keystone_secure_lite-0.2.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | algovoi_keystone_secure_lite-0.2.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 208.1 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
f0865aca7196fa2045d1d43a6968274ffce14520f28a3075046e7bf11c17b632
|
|
BLAKE2b-256 checksum How to use checksums |
a03231895bbb4bc139177f9d05157bf273bf22dc0c7e14d23c7b209afffe1499
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / algovoi_keystone_secure_lite-0.2.1-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | algovoi_keystone_secure_lite-0.2.1-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 206.1 kB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
6a804e12dc54edf35a2185af9433a89054b1bcf181962df0ba1811fb9d705f37
|
|
BLAKE2b-256 checksum How to use checksums |
91ec4d873ab12b6f79778a45a051b7a621c714399ff542be9bae5821337dbb7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Security for algovoi-keystone-secure-lite 0.2.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.