Skip to main content

algovoi-keystone-runtime

Run a Keystone chain and keep the evidence in a durable, queryable, tamper-evident Journal. Every emitted reference recomputes offline from its own fields, and the journal is a hash chain over those references.

from algovoi_keystone_runtime import Journal, Runtime

rt = Runtime(Journal("keystone.db"), decision_ref=decision_ref)
rt.record_stage("mandate", {"passport_ref": passport_ref, "cap": "500USD"})
assert rt.journal.verify().ok

Verifying against tampering

Journal.verify() proves three things: every record recomputes its own reference, every stored payload is bound to its chained reference (a row's record_json cannot be swapped while leaving record_ref untouched), and the hash chain is intact (no insert / remove / reorder).

Tail truncation (dropping the newest rows) is only detectable against an external anchor. Persist the last-known head and count, and pass them back:

rep = journal.verify(expect_head=last_head, expect_count=last_count)
assert rep.ok

Apache-2.0. (c) AlgoVoi. NOTICE attribution required for redistribution.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

algovoi_keystone_runtime-0.1.1-cp313-cp313-win_amd64.whl (66.4 kB view details)

Uploaded CPython 3.13Windows x86-64

algovoi_keystone_runtime-0.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (503.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

algovoi_keystone_runtime-0.1.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (506.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

algovoi_keystone_runtime-0.1.1-cp312-cp312-win_amd64.whl (66.7 kB view details)

Uploaded CPython 3.12Windows x86-64

algovoi_keystone_runtime-0.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (504.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

algovoi_keystone_runtime-0.1.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (509.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

algovoi_keystone_runtime-0.1.1-cp311-cp311-win_amd64.whl (66.2 kB view details)

Uploaded CPython 3.11Windows x86-64

algovoi_keystone_runtime-0.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (518.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

algovoi_keystone_runtime-0.1.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (529.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

algovoi_keystone_runtime-0.1.1-cp310-cp310-win_amd64.whl (66.3 kB view details)

Uploaded CPython 3.10Windows x86-64

algovoi_keystone_runtime-0.1.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (488.4 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

algovoi_keystone_runtime-0.1.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (507.4 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

File details

Details for the file algovoi_keystone_runtime-0.1.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for algovoi_keystone_runtime-0.1.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f1c2359a28ac34b23b11ad30e7facf6cc3312c035c90dd584fafe41a88c12603
MD5 90b382ea95dccdff7f9514fab6fd8a06
BLAKE2b-256 6bf9576e5afff1dec1238af11806f82b6831aa34d18fdb06f864878d17ce5fd4

See more details on using hashes here.

File details

Details for the file algovoi_keystone_runtime-0.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for algovoi_keystone_runtime-0.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 e379e64529b16bec1a5695f9b5075ca1aec7237536e234e218cbe3ede06bf83f
MD5 0a26b5ac12e8f0a13622dccc91043885
BLAKE2b-256 ec7f8e8c460b4f48589fdc8a4a7064b9a3cf7d10bbf6dac2c1528028d8ae93dc

See more details on using hashes here.

File details

Details for the file algovoi_keystone_runtime-0.1.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for algovoi_keystone_runtime-0.1.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b6ec8f467bc834694f70f5bd6e00bb6de9fe8977ea13e0b4c9ca56d39e627a83
MD5 e62f2a65f621f3aa6731b119858b4c50
BLAKE2b-256 b3327e22bd7f607fc8deb4098b0908e9791edc4d58ca97c0c0e89dfdf7b9c053

See more details on using hashes here.

File details

Details for the file algovoi_keystone_runtime-0.1.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for algovoi_keystone_runtime-0.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d9840b8b708db0a28ecd7ee5f73b2310cd320766eb9bd55c3d3480fa4c760fdd
MD5 4a6415b1d825802a5d98e34d9d5795d2
BLAKE2b-256 a9d54ea65139235634aaa4bff21d200111459391885c027dde5c56e8f2a3224a

See more details on using hashes here.

File details

Details for the file algovoi_keystone_runtime-0.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for algovoi_keystone_runtime-0.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 f4fd591352f4c3d4a16dc22affffdfcef356d62a898d4828c63758d0ef4d7376
MD5 cfe981e531d9afb4b685a4dc4fb49c00
BLAKE2b-256 42a23e7525eb04a1617bc90f4c7fe00baffebebabd24b768d3cd4ce267c5e6c8

See more details on using hashes here.

File details

Details for the file algovoi_keystone_runtime-0.1.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for algovoi_keystone_runtime-0.1.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 91ff303ed180d743d563ea42355b2c43c4ac04933d719677201144f93fc715a3
MD5 9b3816d792923bdb5b6e60ea7df6b923
BLAKE2b-256 f15bc09828476064a32c098461ebaeb2cad8a703dd06b76d896d9c0c4eef7eea

See more details on using hashes here.

File details

Details for the file algovoi_keystone_runtime-0.1.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for algovoi_keystone_runtime-0.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e6d3b490bfb598be6b8c845d225e5efa0291ad4058ad78bac4c2fa91f78d9f8e
MD5 49806b0ffa3648565ecff86a4cb13d95
BLAKE2b-256 31ac03708822a26cd0b79b8c5199e381eced036446a5e6392994ddf1a39abd15

See more details on using hashes here.

File details

Details for the file algovoi_keystone_runtime-0.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for algovoi_keystone_runtime-0.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 972a43ebb641889c417c37a2f8e13a843d0211b9d277de0e58c95479e93d194f
MD5 9c6b937a9c651d708541af12b1060d4a
BLAKE2b-256 e7a4dc7ba0670b7e4a7ed91cdfd22e6d66ef4fbe88c4d3671ff078f05bfe253d

See more details on using hashes here.

File details

Details for the file algovoi_keystone_runtime-0.1.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for algovoi_keystone_runtime-0.1.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cd16df876cd905d09ed3bf9b8062c478002a2ab04fdf4e4966c50d5f1eb27c3f
MD5 4b0559c8f506116b30c7af5cabe2fe54
BLAKE2b-256 4496dddcf7b9fe97afe5bb94420178255c4260164bb69b7caa78fac16cd97ebc

See more details on using hashes here.

File details

Details for the file algovoi_keystone_runtime-0.1.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for algovoi_keystone_runtime-0.1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 63363dd3923deee23fa08315433a993bdcf27b4bf1fc7b699d84c774ea414011
MD5 c7da99c9cf670f3128d94bb19289f15e
BLAKE2b-256 092a6a2c9deb2189d70ce7b9788396a09f241bfe90442b1f7375175157730b32

See more details on using hashes here.

File details

Details for the file algovoi_keystone_runtime-0.1.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for algovoi_keystone_runtime-0.1.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 96fa9dee6d49d08c2a7a53477224ded79e02cd0bba279484387bd7471d7923c2
MD5 a6cb4401514564a9cd8c0587aa9947f0
BLAKE2b-256 4a50f491a2c0612c88f199dd55bd411f7f5866fed58885082122bb2eb3b3fb1a

See more details on using hashes here.

File details

Details for the file algovoi_keystone_runtime-0.1.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for algovoi_keystone_runtime-0.1.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4a23b26c5c69d140ea20fdb68a04723102613a4645617e3d31157c14b7aef427
MD5 39bbb4f907c811936195fb5bbaf7f28e
BLAKE2b-256 fa51b7638c241b7c1834ac337d701805d441ca5f1cf9e5b0ab3b3c39d132e142

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

12 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