Skip to main content

Offline, independent verifier + human-readable renderer for Shomei Memory governance receipts (RTBF / erasure / restriction).

Project description

Shomei Memory Verify

Offline, independent verification of Shomei Memory governance receipts.

When a Shomei Memory deployment erases a subject's data (GDPR Art. 17 "right to be forgotten"), restricts it (Art. 18), or deletes a record, it emits a small, content-free, ed25519-signed receipt. This package lets anyone — a DPO, General Counsel, auditor, or the data subject — confirm that receipt on their own machine, using only:

  1. the receipt file, and
  2. the signer's published public key (obtained out-of-band),

with no access to the operator's systems and no trust in the operator's word.

The "open verifier" boundary

This package is the proof-checker, not the recipe. It verifies the structure of a proof — it does not contain the production engine (crypto-erasure, predictive decay, the prover) or any private/signing key. Its only third-party dependency is cryptography; everything else is the Python standard library. That minimal, auditable surface is the point: you can read all of it in an afternoon.

Install

pip install shomei-memory-verify

Verify a receipt (CLI)

# Prints a one-page, plain-language certificate; exits 0 ONLY if the signature
# authenticates against the key you pinned.
shomei-memory-verify receipt.json --pin <signer_public_key_hex> --render

Useful variants:

shomei-memory-verify receipt.json --pin <key>            # verdict only (exit code)
shomei-memory-verify receipt.json --render               # no --pin: refuses to certify,
                                                          #   prints "self-consistent only"
shomei-memory-verify receipt.json --pin <wrong> --render # tamper test: "VERIFICATION FAILED"
shomei-memory-verify -  --pin <key> --json               # read receipt from stdin, machine output

Verify a receipt (library)

from shomei_memory_verify import verify_signed_receipt, render

result = verify_signed_receipt(open("receipt.json").read())
assert result.valid          # ed25519 signature + receipt_hash both check
assert result.authenticated  # ...and it matches the key you expected

print(render(result, expected_public_key_hex="<signer_public_key_hex>"))

Honest by construction

The human-readable statement (--render) never strengthens a claim beyond what verification established. Certification language ("VERIFIED ✓", "this certifies…") is emitted only for an authenticated result. A merely self-consistent (unpinned) receipt is downgraded to an explicit "asserted, pending attribution" statement; an invalid receipt renders no certificate at all. The explicit non-claims — what the receipt does not cover — are always shown verbatim.


© Shomei Labs. The verifier is open; the Shomei Memory engine and SDK are proprietary.

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

shomei_memory_verify-0.0.1.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

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

shomei_memory_verify-0.0.1-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

Details for the file shomei_memory_verify-0.0.1.tar.gz.

File metadata

  • Download URL: shomei_memory_verify-0.0.1.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for shomei_memory_verify-0.0.1.tar.gz
Algorithm Hash digest
SHA256 945a72cb19493f7b5266ee4a119594a81a58a52ac87189e353103badc0ae4911
MD5 b64df72fe3abfafcd012e7b95ea59fc6
BLAKE2b-256 e877cd5673389769cab7d3d9010fb8ebeea42e33d74d24016c2d18e2704af81f

See more details on using hashes here.

Provenance

The following attestation bundles were made for shomei_memory_verify-0.0.1.tar.gz:

Publisher: release.yml on shomei-proof/shomei-memory-verify

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file shomei_memory_verify-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for shomei_memory_verify-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1e4202a857d56a22d3b7416da57013c893c07aa04578195b35aa07ab5f0ababc
MD5 971088f464044001f5f5136571f39a14
BLAKE2b-256 4918ca3efd1958d2f6b4346f0f65c9e9adba27961d457d75694bc1005f92b6f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for shomei_memory_verify-0.0.1-py3-none-any.whl:

Publisher: release.yml on shomei-proof/shomei-memory-verify

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page