Skip to main content

lookupluke-verify

Check a Lookup Luke evidence bundle without trusting Lookup Luke.

A Lookup Luke case can be exported as a signed evidence bundle: every observation the investigation collected, the verdict and the reasons behind it, sealed so that anyone can later prove the bundle is exactly what was issued, and when. This tool performs that proof on your own machine.

Install and run

pipx install lookupluke-verify
# Or: pip install lookupluke-verify
lookupluke-verify bundle.json
✓ VERIFIED  bundle.json
  ✓ 10 observations + case hash to Merkle root 3f9a1c…
  ✓ signed by did:web:app.lookupluke.com (did:web:app.lookupluke.com#key-1)
  ✓ RFC 3161 time 2026-11-06T09:41:12+00:00 · TSA chain trusted
  ✓ OpenTimestamps: bitcoin [921874]
Option What it does
--did did.json Verify fully offline with a saved DID document instead of fetching it over HTTPS
--bitcoin Also check the OpenTimestamps attestation against Bitcoin block headers (network)
--json Print the full result object
--version The tool version and the bundle format it checks

Exit codes: 0 verified, 1 not verified (a check failed; the output says which), 2 the bundle or DID document couldn't be read.

What it checks

  1. Integrity. Every observation and the case record are hashed (RFC 8785 canonical JSON, SHA-256) into a Merkle tree; the root must equal the one in the credential. Change one character anywhere and this fails.
  2. Issuer. The credential is a W3C Verifiable Credential with a Data Integrity proof (eddsa-jcs-2022, Ed25519). The key comes from the issuer's did:web document, fetched from the issuer's own domain or given with --did.
  3. Time. An RFC 3161 timestamp from an independent timestamp authority over the Merkle root, with the authority's certificate chain checked against standard trust roots (add your own with TSA_TRUSTED_ROOTS=roots.pem).
  4. Public anchor. An OpenTimestamps proof over the same root: pending until a Bitcoin block includes it, then checkable by anyone, including with the reference ots client.

What it does not prove

The signature proves that Lookup Luke issued this bundle and that nothing in it changed since. It does not prove that a finding is true: sources can be wrong, and a risk score is an indicator, not proof. Read the bundle's limitations section and verify independently before acting.

Use it as a library

from lookupluke_verify import verify_package, key_from_did_document

result = verify_package(bundle, key_from_did_document(did_document))
assert result["verified"], result["problems"]

Lookup Luke's own API (POST /api/v1/evidence/verify) runs this same code, so the two always agree.

No telemetry. The only network calls are the ones you ask for: fetching a did:web document (unless you pass --did) and, with --bitcoin, reading Bitcoin block headers.

Licence

Apache-2.0.

Metadata

Release files for lookupluke-verify 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lookupluke-verify 1.1.0
File Size Uploaded Provenance Actions
lookupluke_verify-1.1.0.tar.gz 25.6 kB Without provenance Details for lookupluke_verify-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lookupluke-verify 1.1.0
File Interpreter ABI Platform Actions
lookupluke_verify-1.1.0-py3-none-any.whl Python 3 none any Details for lookupluke_verify-1.1.0-py3-none-any.whl

Total release size: 44.1 kB

Release files / lookupluke_verify-1.1.0.tar.gz

Download URL lookupluke_verify-1.1.0.tar.gz
Size 25.6 kB
Tags Source
SHA-256 checksum
How to use checksums
af1360ed40362d9a0fbc4de9c37b3d5e1c5eda4011527cd6b0a94f1f9fbbef22
BLAKE2b-256 checksum
How to use checksums
6683c913c4f0df3efd3ff504d6f6c7d40d8cec6dd4e92ccc7fb3d66de3369fb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / lookupluke_verify-1.1.0-py3-none-any.whl

Download URL lookupluke_verify-1.1.0-py3-none-any.whl
Size 18.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5fc6e00187c7535d0360dcc1384104abafe7b760252a82eb2c2355079d2fb23
BLAKE2b-256 checksum
How to use checksums
3a00fa81690542fca960d1c233dc480d2a146222e40687fba0a1dca9f25fcc50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Security for lookupluke-verify 1.1.0

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.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

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