Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inkdna_fingerprint_legacy-0.1.2.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

inkdna_fingerprint_legacy-0.1.2-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file inkdna_fingerprint_legacy-0.1.2.tar.gz.

File metadata

File hashes

Hashes for inkdna_fingerprint_legacy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2231d78212fb95f9fff420723358af69e448ec05e90b106a4a3cbbddb3beb293
MD5 ed04550701332c60e5dcffe2fbc07d6d
BLAKE2b-256 eba8188fa583b8c6b092aafd90acaafb41fd9bf96108df8a7680e278bce95d86

See more details on using hashes here.

File details

Details for the file inkdna_fingerprint_legacy-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for inkdna_fingerprint_legacy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 16eb8d01c05bd192e0b0b0eda9c134539988b207226e9d50b631da963a72d445
MD5 6805e8ff3d5e8add5d9bc2352a26f264
BLAKE2b-256 a9cad0616cf185ab4c2062250f2ec106b8385e0e61207c28bca4c02c4ca0b497

See more details on using hashes here.

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