Simple CLI to stamp and verify PDFs with sidecars (execution-only).
Project description
InkDNA Fingerprint (Simple CLI — PDF only)
A lean, Windows-friendly CLI to stamp and verify PDFs.
What it does
- stamp: embeds a compact InkDNA payload inside the PDF and writes a sidecar JSON next to the output (
*_inkdna_signature.json). - verify: reads the embedded payload and recomputes a canonical hash of the page content streams (ignoring our own payload).
Optionally, pass a sidecar to cross-check. Prints full forensic details every time.
No activation, no licensing, no remote calls. Execution-only.
Install (Windows)
py -m pip install --upgrade pip
py -m pip install .
This installs the inkdna command.
Usage
Stamp
inkdna stamp input.pdf -o output.pdf --code "ORDER-123"
- Always writes a sidecar:
output_inkdna_signature.json
Verify (sidecar optional)
inkdna verify output.pdf
inkdna verify output.pdf --sidecar output_inkdna_signature.json
Verification prints:
- OK/FAIL for canonical hash match
- Embedded payload (issuer, version, timestamp, code, file type)
- Canonical SHA256 stored vs recomputed
- Per-page stream counts and sizes
- Sidecar cross-check details (if provided)
Version
0.1.2
Project details
Release history Release notifications | RSS feed
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 inkdna_fingerprint_legacy-0.1.2.tar.gz.
File metadata
- Download URL: inkdna_fingerprint_legacy-0.1.2.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2231d78212fb95f9fff420723358af69e448ec05e90b106a4a3cbbddb3beb293
|
|
| MD5 |
ed04550701332c60e5dcffe2fbc07d6d
|
|
| BLAKE2b-256 |
eba8188fa583b8c6b092aafd90acaafb41fd9bf96108df8a7680e278bce95d86
|
File details
Details for the file inkdna_fingerprint_legacy-0.1.2-py3-none-any.whl.
File metadata
- Download URL: inkdna_fingerprint_legacy-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16eb8d01c05bd192e0b0b0eda9c134539988b207226e9d50b631da963a72d445
|
|
| MD5 |
6805e8ff3d5e8add5d9bc2352a26f264
|
|
| BLAKE2b-256 |
a9cad0616cf185ab4c2062250f2ec106b8385e0e61207c28bca4c02c4ca0b497
|