SPE Audit | Recipient guide Rubén Abella · SPE Audit CHECK A DELIVERY IN THREE STEPS 1. Keep SPE-proof.zip as received and save the accompanying file separately. If you are the sender, deliver both and keep a copy of each. The ZIP contains the file’s recorded digest. 2. Open https://www.spetrace.com/spe-audit#verify and select the ZIP under “SPE proof (.zip)”. Under “File to compare”, select the file you received. Your browser processes both files locally. 3. Choose “Check proof”. “The file matches” means the bytes of your copy produce the recorded digest. “The file differs” means the digests differ. Ask the sender for the corresponding version. Keep both copies if you need to document the discrepancy. You can also check the internal record by supplying the ZIP alone. To find out whether a particular copy matches, supply that copy as well. PACKAGE CONTENTS 00-RESUMEN-SUMMARY.txt A human-readable summary of this proof. forensic_capsule.json Capsule containing the digest and operation data. proof_input.json Content manifest and its signature when present. ledger.sqlite Record binding the capsule to a chain of digests. verify.py Command-line verifier. LEEME_ES.txt Spanish guide. README_EN.txt This guide. The verifier checks the three technical files. The guides, summary and enclosed program are companion material. For an independent check, use a verifier you obtained from TRACE through a trusted channel. CHECK OFFLINE You need Python 3.9 or later with sqlite3. Python’s standard library is sufficient for the unsigned proofs created by the browser. If the ZIP comes from an unknown sender, get the verifier directly from TRACE at https://www.spetrace.com/spe-audit-assets/recipient/verify.py before going offline. If you trust the ZIP’s source, you can also extract verify.py from it. Put the verifier in a folder alongside the original ZIP and the file you received. Open a terminal in that folder. Use the actual filenames. Check the original ZIP without rezipping its contents. Windows (PowerShell) py -3 ".\verify.py" ".\SPE-proof.zip" ".\final report.pdf" macOS or Linux (Terminal) python3 "./verify.py" "./SPE-proof.zip" "./final report.pdf" Omit the last argument to check only the bundle. INTERPRETING THE RESULT MATCH The supplied file’s digest matches the recorded value. MISMATCH The supplied file produces a different digest. NOT_PROVIDED The bundle was read without a file to compare. The internal record can be consistent even when the supplied file differs. The browser generates unsigned proofs using the device clock. A valid signature is checked against the enclosed key. To attribute it to an individual, establish key ownership independently. An external timestamp, an AI response’s factual accuracy and the truth of its claims each require additional evidence. Process exit codes 0 Checks passed, including the comparison if you supplied a file. 1 Invalid proof or mismatch with the supplied file. 2 The operation could not be completed. Read the program’s message. Checking an Ed25519 signature on a signed proof requires PyNaCl. Install it with the interpreter you will use to run verify.py. On Windows, use “py -3 -m pip install PyNaCl”. On macOS or Linux, use “python3 -m pip install PyNaCl” in a virtual environment. INSTALLING THE ENGINE TO GENERATE OTHER PROOFS (OPTIONAL) If you only need to check this delivery, the steps above are sufficient. To generate proofs from Python, prepare this revision of the public engine. You need Git and an initial connection, or a local copy of this revision. git clone https://github.com/joinsnipe/SPE_AUDIT.git cd SPE_AUDIT git checkout c6126e42bc8cd0679ac3c5f5dca6270c0a1ccc6f In that folder, save a copy of the file you want to test as “report.pdf”. Create a virtual environment and generate a new ZIP as follows. Windows (PowerShell) py -3 -m venv .venv .\.venv\Scripts\python.exe -c "from spe_engine import generate_proof; print(generate_proof(file_path='report.pdf').zip_path)" macOS or Linux python3 -m venv .venv ./.venv/bin/python -c "from spe_engine import generate_proof; print(generate_proof(file_path='report.pdf').zip_path)" The command prints the path to the generated ZIP. Unsigned generation works without third-party packages. If you need Ed25519 signatures, install the dependencies in requirements.txt using the virtual environment’s interpreter and refer to the engine documentation to configure your key. For offline signature support, prepare the dependencies on a computer with the same operating system, architecture and Python version as the target. From the engine folder, activate the virtual environment on each computer. Windows (PowerShell) .\.venv\Scripts\Activate.ps1 macOS or Linux source .venv/bin/activate On the connected computer: python -m pip download --only-binary=:all: -r requirements.txt -d wheels Copy the wheels folder next to requirements.txt on the isolated computer and run: python -m pip install --no-index --find-links=wheels -r requirements.txt The engine’s LICENSE file states the BSL 1.1 terms of use. https://github.com/joinsnipe/SPE_AUDIT/tree/c6126e42bc8cd0679ac3c5f5dca6270c0a1ccc6f Deployments and integration: ruben@spetrace.com