Re-derive an Obsign receipt's claim on your own machine, offline.
Project description
obsign-verify
Re-derive the number yourself. Offline. On your hardware.
A signature tells you a claim is unmodified. It never tells you the claim is true. This verifier re-runs the computation and compares bits.
$ pip install obsign-verify
$ obsign-verify receipt.json
[VERIFIED] receipt.json
integrity ok
re-derived ok
signature absent (integrity and re-derivation still hold)
1/1 receipt(s) verified on THIS machine.
Exit code 0 if every receipt verified, 1 otherwise. That is the whole interface.
It imports nothing from the producer
Zero code is shared with the engine that mints these receipts. If it imported the producer, "it verifies" would mean "the producer agrees with itself" — which is not a claim worth making. The kernel here was written separately against the published spec, so a bug in one cannot cancel a bug in the other.
Dependencies: numpy. That is it. Signature checking is an optional extra
(pip install 'obsign-verify[sig]') by design — the two steps that make this more
than attestation, integrity and re-derivation, need no cryptography library at all.
What it checks
| Step | Question | Status |
|---|---|---|
| 1 · integrity | does receipt_sha256 recompute from the claim? |
checked |
| 2 · reproduced | does re-running the kernel reproduce output.sha256? |
checked |
| 3 · signature | does the signature verify, and cover what it claims to? | checked (optional dep) |
| 4 · issuer trust | should you trust this key? | out of scope, deliberately |
Step 4 is an identity question. A verifier that answered it from a bundled list
would be asserting a social fact as a cryptographic one. verified means steps 1–3.
VERIFIED without a signature is not a weaker result. It means integrity holds
and the number re-derived on your machine — you did not have to trust anyone. A
signature adds who, not whether.
Two things it will not do
It will not name a signer the signature did not cover. Legacy
obsign/signature/v1 signs the bare receipt hash, so it covers neither the signer
nor the case block — the name in the file can be rewritten by anyone with a text
editor and no key. Such receipts still verify, and are reported
identity_bound: false, attributed_signer: null. Only obsign/signature/v2
puts the signer inside the signed bytes.
It will not crash instead of refusing. A verifier that raises on a hostile
receipt has failed open in the eyes of whoever handed it the file. Malformed input
returns verified: false.
Verify it against us
The package ships the same conformance_vectors.json the engine is judged against.
$ pip install 'obsign-verify[dev]' && pytest
The forgeries ship inside the package. One command, no files of your own, no login, no request:
$ obsign-verify --self-check
ok env_only_change_must_still_verify VERIFIED (expected VERIFIED)
ok forged_input_hash REFUSED (expected REFUSED)
ok resealed_tampered_claim REFUSED (expected REFUSED)
...
9/9 bundles behaved as declared.
Exit 0 means every bundle got the verdict it declares — the two honest receipts
verified and all seven forgeries refused. Refusing them is the job, so a clean
run is not "9 verified".
The one to look at is resealed_tampered_claim. Its output was edited, its receipt
re-hashed, its signature re-applied — so it passes the integrity check cleanly and
fails only on re-derivation. That single bundle is the entire argument for step 2.
Why the number is the same on your machine
Integer fixed-point. Floating point is non-associative and vendor-dependent, so the same float kernel on two chips can differ in the last bits; int64 arithmetic is exact and identical on every machine that has it. The only float builds the initial source term, and it is rounded to int64 before any evolution — so a last-ulp libm difference is absorbed rather than compounded.
Honest residual risk, stated rather than hidden: a source value sitting exactly on a
.5 rounding boundary could round differently under a different libm. Not proven
impossible — but now genuinely measured rather than assumed.
CI runs the conformance vectors on x86_64 Linux, ARM64 macOS and Windows, across
four Python versions, and prints the actual output hashes on every runner. The
architecture split is the load-bearing part: aarch64 and x86_64 ship different libm
implementations, and if that risk were going to bite, that is where it would.
When this sentence was first written it said "not observed across the platforms tested" and exactly one platform had been tested — true, and nearly empty. If the hashes ever diverge between two runners, the job fails and says so, because that divergence is the finding, not an inconvenience.
Status
Apache-2.0. Permissive on purpose: this is the artifact we ask strangers to run in order to check us, and a licence that adds friction to that would defeat its own point. It matches what the estate's other public "check our work" repos already carry.
BUILT. Publication is a single decision away — the package name obsign-verify was
verified available on PyPI on 2026-08-01, and everything here installs and passes today.
A note on the name. The bare obsign name is not available and is not ours: a PyPI
placeholder reading "Reserved for the Obsign project — cryptographic proof of AI agent
actions" was uploaded on 2026-07-30, seventeen minutes after the GitHub org it points at
was created. This package is the verifier rather than the engine, so the longer name is
the accurate one in any case.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file obsign_verify-0.1.2.tar.gz.
File metadata
- Download URL: obsign_verify-0.1.2.tar.gz
- Upload date:
- Size: 47.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34903245a249de6155e66d5dcd359037ff16778b1313a18bf2086eac77c03f9d
|
|
| MD5 |
a1479570a7f14445f6ba400efcca4ed7
|
|
| BLAKE2b-256 |
9d5e8f3c4d105bb1854dd24f01c51ae1e9ad22f2fae9de00354c6e93233cce5b
|
Provenance
The following attestation bundles were made for obsign_verify-0.1.2.tar.gz:
Publisher:
release.yml on coherence-energy-labs/obsign_verifier
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
obsign_verify-0.1.2.tar.gz -
Subject digest:
34903245a249de6155e66d5dcd359037ff16778b1313a18bf2086eac77c03f9d - Sigstore transparency entry: 2317126949
- Sigstore integration time:
-
Permalink:
coherence-energy-labs/obsign_verifier@d08a6a3b98abe36dde42a9af7c551a0627fe32fa -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/coherence-energy-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d08a6a3b98abe36dde42a9af7c551a0627fe32fa -
Trigger Event:
push
-
Statement type:
File details
Details for the file obsign_verify-0.1.2-py3-none-any.whl.
File metadata
- Download URL: obsign_verify-0.1.2-py3-none-any.whl
- Upload date:
- Size: 29.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f6745683a86a292d85d7eba0ab20c4edd3da22310802410dca1445bdb90adc5
|
|
| MD5 |
969f27172965694a62d3f86f5d356abb
|
|
| BLAKE2b-256 |
0ec8158c3edf8f3374ace3b1a3fe7f3b2a1f503f9d6fefdd733ab759f64308d7
|
Provenance
The following attestation bundles were made for obsign_verify-0.1.2-py3-none-any.whl:
Publisher:
release.yml on coherence-energy-labs/obsign_verifier
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
obsign_verify-0.1.2-py3-none-any.whl -
Subject digest:
2f6745683a86a292d85d7eba0ab20c4edd3da22310802410dca1445bdb90adc5 - Sigstore transparency entry: 2317127197
- Sigstore integration time:
-
Permalink:
coherence-energy-labs/obsign_verifier@d08a6a3b98abe36dde42a9af7c551a0627fe32fa -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/coherence-energy-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d08a6a3b98abe36dde42a9af7c551a0627fe32fa -
Trigger Event:
push
-
Statement type: