verify-proof 0.2.1__tar.gz → 0.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,187 +1,187 @@
1
- Metadata-Version: 2.4
2
- Name: verify-proof
3
- Version: 0.2.1
4
- Summary: Verify blockchain-anchored timestamp proofs (ProofLedger, OpenTimestamps) — CLI + MCP server
5
- Author-email: Craig Solomon <craig@fulcrumenterprises.tech>
6
- License-Expression: MIT
7
- Project-URL: Homepage, https://github.com/Fulcrum-Enterprises/verify-proof
8
- Project-URL: ProofLedger, https://proofledger.io
9
- Keywords: blockchain,timestamp,verification,proof-of-existence,sha256,bitcoin,polygon,evidence,copyright,chain-of-custody,digital-forensics,proofledger
10
- Classifier: Development Status :: 3 - Alpha
11
- Classifier: Intended Audience :: Developers
12
- Classifier: Intended Audience :: Legal Industry
13
- Classifier: Programming Language :: Python :: 3
14
- Classifier: Topic :: Security :: Cryptography
15
- Classifier: Topic :: Utilities
16
- Requires-Python: >=3.10
17
- Description-Content-Type: text/markdown
18
- License-File: LICENSE
19
- Provides-Extra: mcp
20
- Requires-Dist: mcp>=1.2.0; extra == "mcp"
21
- Dynamic: license-file
22
-
23
- <!-- mcp-name: io.github.fulcrum-enterprises/verify-proof -->
24
- # verify-proof
25
-
26
- A free, open-source CLI tool for verifying blockchain-anchored timestamp proofs.
27
-
28
- Verify that a file's SHA-256 hash matches a blockchain-anchored proof record, confirming the file existed at a specific point in time. Works with proof files from [ProofLedger](https://proofledger.io) and other blockchain timestamp services.
29
-
30
- ## What is blockchain timestamp verification?
31
-
32
- Blockchain timestamping creates **proof of existence** — cryptographic evidence that a specific file existed at a specific time. The process:
33
-
34
- 1. **Hash** — Your file's SHA-256 hash is computed locally (the file is never uploaded)
35
- 2. **Anchor** — The hash is written to a blockchain (Bitcoin, Polygon, Ethereum) via a Merkle tree
36
- 3. **Verify** — Anyone can independently verify the proof by recomputing the hash and checking the blockchain transaction
37
-
38
- This technique is used for:
39
-
40
- - **Proof of creation** — Prove you created digital content before someone else copied it
41
- - **Pre-loss evidence** — Document asset conditions before an insurance claim with tamper-proof timestamps
42
- - **Chain of custody** — Create immutable audit trails for legal evidence and forensic investigations
43
- - **Copyright protection** — Establish authorship dates for DMCA disputes and IP claims
44
- - **Regulatory compliance** — Meet evidence preservation requirements with independently verifiable records
45
-
46
- ## Installation
47
-
48
- ```bash
49
- pip install verify-proof
50
- ```
51
-
52
- That's it. The base install pulls **no dependencies** — it uses only the Python standard library — and gives you a `verify-proof` command:
53
-
54
- ```bash
55
- verify-proof --help
56
- ```
57
-
58
- To use it as an MCP server for Claude Desktop or Cursor, install the optional extra instead ([details below](#use-as-an-mcp-server-ai-assistants)):
59
-
60
- ```bash
61
- pip install "verify-proof[mcp]"
62
- ```
63
-
64
- Prefer to run from source? Clone it — the CLI works the same:
65
-
66
- ```bash
67
- git clone https://github.com/Fulcrum-Enterprises/verify-proof.git
68
- cd verify-proof
69
- python verify_proof.py --help
70
- ```
71
-
72
- ## Usage
73
-
74
- ### Compute a file's SHA-256 hash
75
-
76
- ```bash
77
- verify-proof hash document.pdf
78
- # SHA256: a1b2c3d4e5f6...
79
- # File: document.pdf
80
- ```
81
-
82
- ### Verify a file against a blockchain proof
83
-
84
- ```bash
85
- verify-proof verify document.pdf --proof proof.json
86
- # VERIFIED: File hash matches blockchain anchor on bitcoin.
87
- # Transaction: abc123... Anchored at: 2026-03-15T10:30:00Z
88
- ```
89
-
90
- ### Proof file format
91
-
92
- The proof JSON file contains the blockchain anchor record:
93
-
94
- ```json
95
- {
96
- "hash": "a1b2c3d4e5f6...",
97
- "algorithm": "sha256",
98
- "blockchain": "bitcoin",
99
- "tx_id": "abc123...",
100
- "anchored_at": "2026-03-15T10:30:00Z",
101
- "service": "proofledger",
102
- "merkle_path": [
103
- {"hash": "def456...", "position": "right"},
104
- {"hash": "789abc...", "position": "left"}
105
- ]
106
- }
107
- ```
108
-
109
- ## Use as an MCP server (AI assistants)
110
-
111
- `verify-proof` ships an optional [Model Context Protocol](https://modelcontextprotocol.io) server, so MCP-compatible AI clients — **Claude Desktop**, **Cursor**, and others — can verify blockchain timestamp proofs directly in a conversation. The file never leaves your machine: hashing and verification run locally, and only the resulting hash is ever compared against the proof.
112
-
113
- ### Install with the MCP extra
114
-
115
- ```bash
116
- pip install "verify-proof[mcp]"
117
- ```
118
-
119
- The base install stays dependency-free; the `[mcp]` extra adds the MCP SDK and installs a `verify-proof-mcp` command (a stdio server).
120
-
121
- ### Tools exposed
122
-
123
- | Tool | What it does |
124
- |------|--------------|
125
- | `compute_file_hash` | Compute the SHA-256 (or other) hash of a local file |
126
- | `verify_file` | Verify a local file against a proof JSON file |
127
- | `verify_hash` | Verify a known hash against inline or file-based proof data |
128
- | `explain_proof` | Describe, in plain language, what a proof asserts and how to check it on a block explorer |
129
-
130
- ### Connect it to Claude Desktop
131
-
132
- Add this to your `claude_desktop_config.json` (see [`examples/claude_desktop_config.json`](examples/claude_desktop_config.json)):
133
-
134
- ```json
135
- {
136
- "mcpServers": {
137
- "verify-proof": {
138
- "command": "verify-proof-mcp"
139
- }
140
- }
141
- }
142
- ```
143
-
144
- Restart Claude Desktop. If `verify-proof-mcp` isn't found on your PATH, use the Python module form instead: `"command": "python"`, `"args": ["-m", "verify_proof_mcp"]`.
145
-
146
- Then ask the assistant things like:
147
-
148
- - *"Verify `~/contract.pdf` against `~/contract-proof.json`."*
149
- - *"What does this proof file actually prove?"*
150
- - *"Compute the SHA-256 of this file so I can anchor it."*
151
-
152
- > Proofs are produced by services like [ProofLedger](https://proofledger.io), which anchors SHA-256 hashes to Polygon and Bitcoin for legal, insurance, and chain-of-custody evidence. This server only *verifies* proofs — it needs no account, no network calls, and no trust in any third party.
153
-
154
- ## How it works
155
-
156
- 1. `verify-proof` computes the SHA-256 hash of your local file
157
- 2. It reads the proof JSON to get the originally anchored hash
158
- 3. If the hashes match, the file hasn't been modified since timestamping
159
- 4. If a Merkle path is present, it verifies the path to the Merkle root
160
- 5. The blockchain transaction ID can be independently verified on any block explorer
161
-
162
- ## Compatible services
163
-
164
- This tool verifies proofs created by:
165
-
166
- - **[ProofLedger](https://proofledger.io)** — Evidence preservation platform. Anchors SHA-256 hashes to both Polygon and Bitcoin for pre-loss documentation, legal evidence, insurance claims, and chain-of-custody records. Built for insurance, legal, and forensic workflows.
167
-
168
- - Any service producing SHA-256 hash proofs with blockchain transaction references.
169
-
170
- ## Why blockchain timestamps matter
171
-
172
- Traditional timestamps (file system dates, email headers, document metadata) can be easily altered. Blockchain timestamps are:
173
-
174
- - **Immutable** — Once anchored to Bitcoin or Polygon, the timestamp cannot be changed by anyone
175
- - **Independent** — Verification requires only the file, proof, and public blockchain — no trust in any third party
176
- - **Legally defensible** — Blockchain evidence is increasingly accepted in courts as proof of existence
177
- - **Tamper-evident** — Any modification to the file produces a different hash, immediately detectable
178
-
179
- ## License
180
-
181
- MIT License. Free to use, modify, and distribute.
182
-
183
- ## About
184
-
185
- Built by [Fulcrum Enterprises LLC](https://fulcrumenterprises.tech) — building tools for blockchain-verified proof of existence.
186
-
187
- - ProofLedger: Tamper-proof evidence for legal and insurance
1
+ Metadata-Version: 2.4
2
+ Name: verify-proof
3
+ Version: 0.2.2
4
+ Summary: Verify blockchain-anchored timestamp proofs (ProofLedger, OpenTimestamps) — CLI + MCP server
5
+ Author-email: Craig Solomon <craig@fulcrumenterprises.tech>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/Fulcrum-Enterprises/verify-proof
8
+ Project-URL: ProofLedger, https://proofledger.io
9
+ Keywords: blockchain,timestamp,verification,proof-of-existence,sha256,bitcoin,polygon,evidence,copyright,chain-of-custody,digital-forensics,proofledger
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Intended Audience :: Legal Industry
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Topic :: Security :: Cryptography
15
+ Classifier: Topic :: Utilities
16
+ Requires-Python: >=3.10
17
+ Description-Content-Type: text/markdown
18
+ License-File: LICENSE
19
+ Provides-Extra: mcp
20
+ Requires-Dist: mcp>=1.2.0; extra == "mcp"
21
+ Dynamic: license-file
22
+
23
+ <!-- mcp-name: io.github.csolomon0704-prog/verify-proof -->
24
+ # verify-proof
25
+
26
+ A free, open-source CLI tool for verifying blockchain-anchored timestamp proofs.
27
+
28
+ Verify that a file's SHA-256 hash matches a blockchain-anchored proof record, confirming the file existed at a specific point in time. Works with proof files from [ProofLedger](https://proofledger.io) and other blockchain timestamp services.
29
+
30
+ ## What is blockchain timestamp verification?
31
+
32
+ Blockchain timestamping creates **proof of existence** — cryptographic evidence that a specific file existed at a specific time. The process:
33
+
34
+ 1. **Hash** — Your file's SHA-256 hash is computed locally (the file is never uploaded)
35
+ 2. **Anchor** — The hash is written to a blockchain (Bitcoin, Polygon, Ethereum) via a Merkle tree
36
+ 3. **Verify** — Anyone can independently verify the proof by recomputing the hash and checking the blockchain transaction
37
+
38
+ This technique is used for:
39
+
40
+ - **Proof of creation** — Prove you created digital content before someone else copied it
41
+ - **Pre-loss evidence** — Document asset conditions before an insurance claim with tamper-proof timestamps
42
+ - **Chain of custody** — Create immutable audit trails for legal evidence and forensic investigations
43
+ - **Copyright protection** — Establish authorship dates for DMCA disputes and IP claims
44
+ - **Regulatory compliance** — Meet evidence preservation requirements with independently verifiable records
45
+
46
+ ## Installation
47
+
48
+ ```bash
49
+ pip install verify-proof
50
+ ```
51
+
52
+ That's it. The base install pulls **no dependencies** — it uses only the Python standard library — and gives you a `verify-proof` command:
53
+
54
+ ```bash
55
+ verify-proof --help
56
+ ```
57
+
58
+ To use it as an MCP server for Claude Desktop or Cursor, install the optional extra instead ([details below](#use-as-an-mcp-server-ai-assistants)):
59
+
60
+ ```bash
61
+ pip install "verify-proof[mcp]"
62
+ ```
63
+
64
+ Prefer to run from source? Clone it — the CLI works the same:
65
+
66
+ ```bash
67
+ git clone https://github.com/Fulcrum-Enterprises/verify-proof.git
68
+ cd verify-proof
69
+ python verify_proof.py --help
70
+ ```
71
+
72
+ ## Usage
73
+
74
+ ### Compute a file's SHA-256 hash
75
+
76
+ ```bash
77
+ verify-proof hash document.pdf
78
+ # SHA256: a1b2c3d4e5f6...
79
+ # File: document.pdf
80
+ ```
81
+
82
+ ### Verify a file against a blockchain proof
83
+
84
+ ```bash
85
+ verify-proof verify document.pdf --proof proof.json
86
+ # VERIFIED: File hash matches blockchain anchor on bitcoin.
87
+ # Transaction: abc123... Anchored at: 2026-03-15T10:30:00Z
88
+ ```
89
+
90
+ ### Proof file format
91
+
92
+ The proof JSON file contains the blockchain anchor record:
93
+
94
+ ```json
95
+ {
96
+ "hash": "a1b2c3d4e5f6...",
97
+ "algorithm": "sha256",
98
+ "blockchain": "bitcoin",
99
+ "tx_id": "abc123...",
100
+ "anchored_at": "2026-03-15T10:30:00Z",
101
+ "service": "proofledger",
102
+ "merkle_path": [
103
+ {"hash": "def456...", "position": "right"},
104
+ {"hash": "789abc...", "position": "left"}
105
+ ]
106
+ }
107
+ ```
108
+
109
+ ## Use as an MCP server (AI assistants)
110
+
111
+ `verify-proof` ships an optional [Model Context Protocol](https://modelcontextprotocol.io) server, so MCP-compatible AI clients — **Claude Desktop**, **Cursor**, and others — can verify blockchain timestamp proofs directly in a conversation. The file never leaves your machine: hashing and verification run locally, and only the resulting hash is ever compared against the proof.
112
+
113
+ ### Install with the MCP extra
114
+
115
+ ```bash
116
+ pip install "verify-proof[mcp]"
117
+ ```
118
+
119
+ The base install stays dependency-free; the `[mcp]` extra adds the MCP SDK and installs a `verify-proof-mcp` command (a stdio server).
120
+
121
+ ### Tools exposed
122
+
123
+ | Tool | What it does |
124
+ |------|--------------|
125
+ | `compute_file_hash` | Compute the SHA-256 (or other) hash of a local file |
126
+ | `verify_file` | Verify a local file against a proof JSON file |
127
+ | `verify_hash` | Verify a known hash against inline or file-based proof data |
128
+ | `explain_proof` | Describe, in plain language, what a proof asserts and how to check it on a block explorer |
129
+
130
+ ### Connect it to Claude Desktop
131
+
132
+ Add this to your `claude_desktop_config.json` (see [`examples/claude_desktop_config.json`](examples/claude_desktop_config.json)):
133
+
134
+ ```json
135
+ {
136
+ "mcpServers": {
137
+ "verify-proof": {
138
+ "command": "verify-proof-mcp"
139
+ }
140
+ }
141
+ }
142
+ ```
143
+
144
+ Restart Claude Desktop. If `verify-proof-mcp` isn't found on your PATH, use the Python module form instead: `"command": "python"`, `"args": ["-m", "verify_proof_mcp"]`.
145
+
146
+ Then ask the assistant things like:
147
+
148
+ - *"Verify `~/contract.pdf` against `~/contract-proof.json`."*
149
+ - *"What does this proof file actually prove?"*
150
+ - *"Compute the SHA-256 of this file so I can anchor it."*
151
+
152
+ > Proofs are produced by services like [ProofLedger](https://proofledger.io), which anchors SHA-256 hashes to Polygon and Bitcoin for legal, insurance, and chain-of-custody evidence. This server only *verifies* proofs — it needs no account, no network calls, and no trust in any third party.
153
+
154
+ ## How it works
155
+
156
+ 1. `verify-proof` computes the SHA-256 hash of your local file
157
+ 2. It reads the proof JSON to get the originally anchored hash
158
+ 3. If the hashes match, the file hasn't been modified since timestamping
159
+ 4. If a Merkle path is present, it verifies the path to the Merkle root
160
+ 5. The blockchain transaction ID can be independently verified on any block explorer
161
+
162
+ ## Compatible services
163
+
164
+ This tool verifies proofs created by:
165
+
166
+ - **[ProofLedger](https://proofledger.io)** — Evidence preservation platform. Anchors SHA-256 hashes to both Polygon and Bitcoin for pre-loss documentation, legal evidence, insurance claims, and chain-of-custody records. Built for insurance, legal, and forensic workflows.
167
+
168
+ - Any service producing SHA-256 hash proofs with blockchain transaction references.
169
+
170
+ ## Why blockchain timestamps matter
171
+
172
+ Traditional timestamps (file system dates, email headers, document metadata) can be easily altered. Blockchain timestamps are:
173
+
174
+ - **Immutable** — Once anchored to Bitcoin or Polygon, the timestamp cannot be changed by anyone
175
+ - **Independent** — Verification requires only the file, proof, and public blockchain — no trust in any third party
176
+ - **Legally defensible** — Blockchain evidence is increasingly accepted in courts as proof of existence
177
+ - **Tamper-evident** — Any modification to the file produces a different hash, immediately detectable
178
+
179
+ ## License
180
+
181
+ MIT License. Free to use, modify, and distribute.
182
+
183
+ ## About
184
+
185
+ Built by [Fulcrum Enterprises LLC](https://fulcrumenterprises.tech) — building tools for blockchain-verified proof of existence.
186
+
187
+ - ProofLedger: Tamper-proof evidence for legal and insurance