actproof 0.3.0__tar.gz → 0.3.3__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.
- {actproof-0.3.0 → actproof-0.3.3}/.gitignore +2 -0
- {actproof-0.3.0 → actproof-0.3.3}/CHANGELOG.md +57 -0
- {actproof-0.3.0 → actproof-0.3.3}/DEPLOY.md +2 -2
- actproof-0.3.3/LICENSE +201 -0
- {actproof-0.3.0 → actproof-0.3.3}/PKG-INFO +98 -42
- {actproof-0.3.0 → actproof-0.3.3}/README.md +92 -18
- {actproof-0.3.0 → actproof-0.3.3}/actproof/__init__.py +2 -2
- {actproof-0.3.0 → actproof-0.3.3}/actproof/anchor.py +1 -1
- {actproof-0.3.0 → actproof-0.3.3}/actproof/canonical.py +1 -1
- {actproof-0.3.0 → actproof-0.3.3}/actproof/catalogue.py +230 -29
- {actproof-0.3.0 → actproof-0.3.3}/actproof/cli.py +1 -1
- {actproof-0.3.0 → actproof-0.3.3}/actproof/manifest.py +131 -11
- {actproof-0.3.0 → actproof-0.3.3}/actproof/receipt.py +1 -1
- {actproof-0.3.0 → actproof-0.3.3}/actproof/signers/__init__.py +1 -1
- {actproof-0.3.0 → actproof-0.3.3}/actproof/signers/google_kms.py +1 -1
- {actproof-0.3.0 → actproof-0.3.3}/actproof/signers/interface.py +1 -1
- {actproof-0.3.0 → actproof-0.3.3}/actproof/signers/mnemonic.py +1 -1
- {actproof-0.3.0 → actproof-0.3.3}/actproof/timestamp.py +1 -1
- {actproof-0.3.0 → actproof-0.3.3}/actproof/verify.py +1 -1
- {actproof-0.3.0 → actproof-0.3.3}/docs/STS-STANDARDS-APPLICATION.md +2 -2
- {actproof-0.3.0 → actproof-0.3.3}/pyproject.toml +7 -4
- {actproof-0.3.0 → actproof-0.3.3}/tests/__init__.py +1 -1
- {actproof-0.3.0 → actproof-0.3.3}/tests/test_anchor.py +1 -1
- {actproof-0.3.0 → actproof-0.3.3}/tests/test_canonical.py +1 -1
- {actproof-0.3.0 → actproof-0.3.3}/tests/test_catalogue.py +1 -1
- actproof-0.3.3/tests/test_catalogue_package_provenance_bugfix.py +518 -0
- {actproof-0.3.0 → actproof-0.3.3}/tests/test_catalogue_v3.py +32 -15
- {actproof-0.3.0 → actproof-0.3.3}/tests/test_cli.py +1 -1
- {actproof-0.3.0 → actproof-0.3.3}/tests/test_manifest.py +1 -1
- {actproof-0.3.0 → actproof-0.3.3}/tests/test_receipt.py +1 -1
- {actproof-0.3.0 → actproof-0.3.3}/tests/test_signers_google_kms.py +25 -1
- {actproof-0.3.0 → actproof-0.3.3}/tests/test_signers_interface.py +1 -1
- {actproof-0.3.0 → actproof-0.3.3}/tests/test_signers_mnemonic.py +1 -1
- {actproof-0.3.0 → actproof-0.3.3}/tests/test_signers_v030_policy.py +1 -1
- {actproof-0.3.0 → actproof-0.3.3}/tests/test_timestamp.py +1 -1
- {actproof-0.3.0 → actproof-0.3.3}/tests/test_verify.py +1 -1
- actproof-0.3.0/LICENSE +0 -21
- {actproof-0.3.0 → actproof-0.3.3}/SECURITY.md +0 -0
- {actproof-0.3.0 → actproof-0.3.3}/actproof/py.typed +0 -0
- {actproof-0.3.0 → actproof-0.3.3}/docs/ANCHOR_BACKENDS.md +0 -0
- {actproof-0.3.0 → actproof-0.3.3}/docs/INTEGRATION.md +0 -0
|
@@ -16,6 +16,63 @@ release. Once 1.0.0 ships, semantic versioning will be strictly followed.
|
|
|
16
16
|
- **v1.0.0** — API frozen.
|
|
17
17
|
- **v2.0.0** — COSE_Sign1 + SCITT Transparent Statement bridge, once RFC 9943 publishes.
|
|
18
18
|
|
|
19
|
+
## [0.3.2] — 2026-05-19
|
|
20
|
+
|
|
21
|
+
**License switch from MIT to Apache-2.0.** Forward-looking positioning of
|
|
22
|
+
actproof-py as verification infrastructure rather than a small utility
|
|
23
|
+
library: Apache-2.0 provides an explicit patent grant suitable for
|
|
24
|
+
standards-facing work and institutional adoption, while remaining as
|
|
25
|
+
permissive as MIT for commercial and proprietary embedding.
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- **LICENSE file replaced** with the canonical Apache License 2.0 text.
|
|
30
|
+
- **`pyproject.toml`** updated: license expression now `"Apache-2.0"`
|
|
31
|
+
with `license-files = ["LICENSE"]` per the modern Python packaging
|
|
32
|
+
guidance. Classifier updated to `License :: OSI Approved :: Apache
|
|
33
|
+
Software License`.
|
|
34
|
+
- **SPDX headers** in all 27 source files (`actproof/*.py`,
|
|
35
|
+
`actproof/signers/*.py`, `tests/*.py`) changed from
|
|
36
|
+
`SPDX-License-Identifier: MIT` to `SPDX-License-Identifier: Apache-2.0`.
|
|
37
|
+
- **README, DEPLOY, and STS standards documentation** updated to state
|
|
38
|
+
Apache-2.0 throughout.
|
|
39
|
+
|
|
40
|
+
### Notes
|
|
41
|
+
|
|
42
|
+
- Existing users on v0.3.1 (MIT) retain MIT rights for that release.
|
|
43
|
+
All v0.3.2 and later releases are governed by Apache-2.0.
|
|
44
|
+
- Copyright remains "2026 Deyan Paroushev." No change to authorship or
|
|
45
|
+
contributor structure.
|
|
46
|
+
- No API changes, no behavioural changes, no dependency changes. This is
|
|
47
|
+
a pure licensing release.
|
|
48
|
+
|
|
49
|
+
## [0.3.1] — 2026-05-19
|
|
50
|
+
|
|
51
|
+
**Packaging hotfix.** Resolves an internal contradiction in v0.3.0's
|
|
52
|
+
dependency declaration that prevented installation in modern pip
|
|
53
|
+
environments.
|
|
54
|
+
|
|
55
|
+
### Fixed
|
|
56
|
+
|
|
57
|
+
- **`cryptography` lower bound relaxed from `>=42.0` to `>=41.0`.** v0.3.0
|
|
58
|
+
declared both `tsp-client>=0.2.1,<0.3` and `cryptography>=42.0`, but
|
|
59
|
+
`tsp-client==0.2.1` (the only version in that range) transitively
|
|
60
|
+
requires `pyOpenSSL<24`, which in turn requires `cryptography<42`. The
|
|
61
|
+
two constraints could not be satisfied simultaneously by a strict pip
|
|
62
|
+
resolver, making v0.3.0 uninstallable in fresh environments. The
|
|
63
|
+
actual cryptography API surface used by
|
|
64
|
+
`actproof.signers.google_kms._extract_raw_ed25519_from_pem`
|
|
65
|
+
(`Ed25519PublicKey`, `load_pem_public_key`, `Encoding.Raw`,
|
|
66
|
+
`PublicFormat.Raw`) has been available since cryptography 2.6, so the
|
|
67
|
+
`>=42` floor was conservative rather than technical.
|
|
68
|
+
|
|
69
|
+
### Notes
|
|
70
|
+
|
|
71
|
+
- The upper bound `<46.0` is unchanged.
|
|
72
|
+
- v0.4.0 will replace `tsp-client` with `rfc3161-client`, removing the
|
|
73
|
+
legacy `pyOpenSSL` cap entirely. The cryptography floor can then move
|
|
74
|
+
forward in step with modern releases.
|
|
75
|
+
|
|
19
76
|
## [0.3.0] — 2026-05-17
|
|
20
77
|
|
|
21
78
|
**Security hardening release.** Closes a transaction-validation gap present in v0.2.0. See `SECURITY.md` for the advisory.
|
|
@@ -9,7 +9,7 @@ This is the actproof-py v0.1.0 source tree, ready to push to
|
|
|
9
9
|
actproof-py/
|
|
10
10
|
├── README.md Project README
|
|
11
11
|
├── CHANGELOG.md Full v0.0.1 → v0.1.0 history
|
|
12
|
-
├── LICENSE
|
|
12
|
+
├── LICENSE Apache-2.0
|
|
13
13
|
├── DEPLOY.md This file
|
|
14
14
|
├── pyproject.toml Hatchling build, dependencies pinned
|
|
15
15
|
├── .gitignore
|
|
@@ -43,7 +43,7 @@ Library and CLI for anchoring signed JSON manifests to Algorand mainnet
|
|
|
43
43
|
with RFC 3161 qualified timestamps, plus an independent verifier for
|
|
44
44
|
anyone's anchored receipts.
|
|
45
45
|
|
|
46
|
-
10 modules, 443 passing tests,
|
|
46
|
+
10 modules, 443 passing tests, Apache-2.0 licensed.
|
|
47
47
|
|
|
48
48
|
Implements RFC 8785 JCS, RFC 3161 TSP, Algorand ARC-2 disclosed-mode
|
|
49
49
|
notes, and tracks draft-ietf-scitt-architecture for the v2 COSE_Sign1
|
actproof-0.3.3/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for describing the origin of the Work and
|
|
141
|
+
reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Support. While redistributing the Work or
|
|
166
|
+
Derivative Works thereof, You may choose to offer, and charge a
|
|
167
|
+
fee for, acceptance of support, warranty, indemnity, or other
|
|
168
|
+
liability obligations and/or rights consistent with this License.
|
|
169
|
+
However, in accepting such obligations, You may act only on Your
|
|
170
|
+
own behalf and on Your sole responsibility, not on behalf of any
|
|
171
|
+
other Contributor, and only if You agree to indemnify, defend,
|
|
172
|
+
and hold each Contributor harmless for any liability incurred by,
|
|
173
|
+
or claims asserted against, such Contributor by reason of your
|
|
174
|
+
accepting any such warranty or support.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 Deyan Paroushev
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: actproof
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.3
|
|
4
4
|
Summary: Verifiable receipts of regulated acts. Canonical JSON (RFC 8785), RFC 3161 trusted timestamps, Algorand ARC-2 anchoring, independent verification.
|
|
5
5
|
Project-URL: Homepage, https://github.com/deyan-paroushev/actproof-py
|
|
6
6
|
Project-URL: Documentation, https://github.com/deyan-paroushev/actproof-py/tree/main/docs
|
|
@@ -11,34 +11,14 @@ Project-URL: Security, https://github.com/deyan-paroushev/actproof-py/blob/main/
|
|
|
11
11
|
Project-URL: Catalogue, https://github.com/deyan-paroushev/actproof-events
|
|
12
12
|
Author-email: Deyan Paroushev <deyan@advisa.tech>
|
|
13
13
|
Maintainer-email: Deyan Paroushev <deyan@advisa.tech>
|
|
14
|
-
License:
|
|
15
|
-
|
|
16
|
-
Copyright (c) 2026 Deyan Paroushev
|
|
17
|
-
|
|
18
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
19
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
20
|
-
in the Software without restriction, including without limitation the rights
|
|
21
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
22
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
23
|
-
furnished to do so, subject to the following conditions:
|
|
24
|
-
|
|
25
|
-
The above copyright notice and this permission notice shall be included in all
|
|
26
|
-
copies or substantial portions of the Software.
|
|
27
|
-
|
|
28
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
29
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
30
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
31
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
32
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
33
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
34
|
-
SOFTWARE.
|
|
14
|
+
License-Expression: Apache-2.0
|
|
35
15
|
License-File: LICENSE
|
|
36
16
|
Keywords: algorand,attestation,canonical-json,compliance,evidence,governance,receipts,rfc-3161,rfc-8785,scitt,timestamping,transparency,verification
|
|
37
17
|
Classifier: Development Status :: 3 - Alpha
|
|
38
18
|
Classifier: Intended Audience :: Developers
|
|
39
19
|
Classifier: Intended Audience :: Information Technology
|
|
40
20
|
Classifier: Intended Audience :: Legal Industry
|
|
41
|
-
Classifier: License :: OSI Approved ::
|
|
21
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
42
22
|
Classifier: Operating System :: OS Independent
|
|
43
23
|
Classifier: Programming Language :: Python :: 3
|
|
44
24
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -50,7 +30,7 @@ Classifier: Topic :: System :: Archiving
|
|
|
50
30
|
Classifier: Typing :: Typed
|
|
51
31
|
Requires-Python: >=3.10
|
|
52
32
|
Requires-Dist: click<9.0,>=8.1
|
|
53
|
-
Requires-Dist: cryptography<46.0,>=
|
|
33
|
+
Requires-Dist: cryptography<46.0,>=41.0
|
|
54
34
|
Requires-Dist: py-algorand-sdk<3.0,>=2.6.1
|
|
55
35
|
Requires-Dist: requests<3.0,>=2.32.0
|
|
56
36
|
Requires-Dist: rfc8785<0.2,>=0.1.4
|
|
@@ -65,6 +45,8 @@ Requires-Dist: types-requests; extra == 'dev'
|
|
|
65
45
|
Provides-Extra: docs
|
|
66
46
|
Requires-Dist: mkdocs-material>=9.5; extra == 'docs'
|
|
67
47
|
Requires-Dist: mkdocs>=1.6; extra == 'docs'
|
|
48
|
+
Provides-Extra: events
|
|
49
|
+
Requires-Dist: actproof-events>=1.4.0rc1; extra == 'events'
|
|
68
50
|
Provides-Extra: gcp
|
|
69
51
|
Requires-Dist: google-cloud-kms<4.0,>=2.0; extra == 'gcp'
|
|
70
52
|
Requires-Dist: google-crc32c<2.0,>=1.5; extra == 'gcp'
|
|
@@ -72,17 +54,18 @@ Description-Content-Type: text/markdown
|
|
|
72
54
|
|
|
73
55
|
# actproof
|
|
74
56
|
|
|
75
|
-
Verifiable receipts
|
|
76
|
-
|
|
77
|
-
any party with a Python
|
|
57
|
+
Verifiable evidence receipts for institutional records, regulated acts, and
|
|
58
|
+
public attestations. Canonical JSON (RFC 8785), RFC 3161 trusted timestamps,
|
|
59
|
+
Algorand ARC-2 anchoring, independent verification by any party with a Python
|
|
60
|
+
install.
|
|
78
61
|
|
|
79
62
|
`actproof` produces cryptographic receipts that any third party can verify
|
|
80
|
-
without trusting the issuing platform. A receipt binds: the
|
|
81
|
-
being
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
the
|
|
85
|
-
binding.
|
|
63
|
+
without trusting the issuing platform. A receipt binds: the record or act
|
|
64
|
+
being documented (optionally classified against the `actproof-events`
|
|
65
|
+
catalogue for regulated acts), the canonical JSON of the issuer's evidence,
|
|
66
|
+
a qualified timestamp from a trusted timestamp authority, and a transaction
|
|
67
|
+
on the Algorand public ledger that carries the same hash. The verifier
|
|
68
|
+
reproduces the bytes locally and confirms each binding.
|
|
86
69
|
|
|
87
70
|
## What actproof does not claim
|
|
88
71
|
|
|
@@ -278,18 +261,91 @@ actproof composes five published standards rather than inventing new ones:
|
|
|
278
261
|
v2 parser when COSE_Sign1 + SCITT Transparent Statement becomes
|
|
279
262
|
standardised.
|
|
280
263
|
|
|
281
|
-
##
|
|
264
|
+
## Independent use outside Quoruna
|
|
265
|
+
|
|
266
|
+
`actproof` is a standalone Python library. It does not require Quoruna, an
|
|
267
|
+
account, a hosted service, or any vendor trust. The intended use cases:
|
|
268
|
+
|
|
269
|
+
* **Regulated industries.** Compliance evidence with verifiable timestamps:
|
|
270
|
+
pharma batch records, financial reporting attestations, NIS2 incident
|
|
271
|
+
reports, EUDR due-diligence statements, AI Act risk assessments.
|
|
272
|
+
* **Civil society and journalism.** Verifiable provenance of reporting,
|
|
273
|
+
research outputs, and document releases without a trusted intermediary.
|
|
274
|
+
* **Academic research.** Pre-registration of analysis plans, anchored
|
|
275
|
+
research artifacts, reproducibility receipts.
|
|
276
|
+
* **Public-sector records.** Public decisions, council resolutions,
|
|
277
|
+
procurement evidence, transparency anchors.
|
|
278
|
+
* **Other receipt and attestation systems.** Any application that today
|
|
279
|
+
emits "trust us" PDFs can emit an actproof receipt instead and let the
|
|
280
|
+
recipient verify without contacting the issuer.
|
|
281
|
+
|
|
282
|
+
Quoruna is one consuming application. It is not the only intended
|
|
283
|
+
consumer. The library API is independent of any particular product or
|
|
284
|
+
hosted service.
|
|
285
|
+
|
|
286
|
+
## API stability
|
|
287
|
+
|
|
288
|
+
The package currently exposes a deliberately large API surface to let
|
|
289
|
+
adopters work at whatever level suits them. Before the v1.0 release,
|
|
290
|
+
the following discipline applies:
|
|
291
|
+
|
|
292
|
+
* **Stable.** `canonicalize`, `hash_canonical`, `hash_canonical_hex`,
|
|
293
|
+
`build_manifest`, `manifest_to_dict`, `manifest_from_dict`,
|
|
294
|
+
`hash_manifest`, `hash_manifest_hex`, `Receipt`, `read_receipt`,
|
|
295
|
+
`write_receipt`, `verify_receipt`, `CheckResult`, `VerificationResult`.
|
|
296
|
+
These will not break between minor versions before v1.0.
|
|
297
|
+
* **Experimental.** `Catalogue`, `validate_manifest`, RFC 3161 TSA
|
|
298
|
+
chain configuration, the `AnchorMode` enum, and the signer
|
|
299
|
+
abstraction. Subject to refinement before v1.0.
|
|
300
|
+
* **Internal-but-exported.** Constants like `IJSON_MAX_SAFE_INT`,
|
|
301
|
+
`ARC2_NOTE_FORMAT`, and `SCHEMA_DISCRIMINATOR_V3`. Available for
|
|
302
|
+
power users but may change.
|
|
303
|
+
|
|
304
|
+
The full list is in `actproof/__init__.py`. v1.0.0 will declare the final
|
|
305
|
+
stable surface and freeze it under semantic versioning.
|
|
306
|
+
|
|
307
|
+
## Roadmap
|
|
308
|
+
|
|
309
|
+
* **v0.4.0** — Pluggable anchor backend architecture (`AnchorBackend`
|
|
310
|
+
Protocol). Algorand stays as the production backend; the protocol
|
|
311
|
+
abstraction makes Hedera Consensus Service, Stellar memo-hash, Bitcoin
|
|
312
|
+
OP_RETURN, and Ethereum implementations feasible without changes to
|
|
313
|
+
the canonicalisation, receipt, or verifier code. Also migrates off
|
|
314
|
+
`tsp-client` 0.2.1 onto `rfc3161-client` (Trail of Bits) to remove
|
|
315
|
+
the legacy pyOpenSSL cap.
|
|
316
|
+
* **v0.5.0** — Receipt profile registry. Explicit named profiles
|
|
317
|
+
(`actproof-jcs-v1`, `actproof-algorand-arc2-v1`, `actproof-rfc3161-v1`)
|
|
318
|
+
and a stable verifier dispatch surface for adopters.
|
|
319
|
+
* **v1.0.0** — Stable API frozen. Conformance test vectors finalised.
|
|
320
|
+
* **v2.0.0** — COSE_Sign1 + SCITT Transparent Statement bridge once
|
|
321
|
+
RFC 9943 publishes.
|
|
322
|
+
|
|
323
|
+
## What actproof does NOT yet ship
|
|
282
324
|
|
|
283
325
|
* **EU Trusted List chain validation** for RFC 3161 tokens. The current
|
|
284
326
|
verifier checks the token is well-formed and self-consistent; full
|
|
285
|
-
chain validation against EUTL is v0.
|
|
286
|
-
* **
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
in v0.
|
|
290
|
-
* **Worked examples** for NIS2, EUDR, and software-release use cases.
|
|
291
|
-
Land in v0.2.0.
|
|
327
|
+
chain validation against EUTL is on the v0.5.x roadmap.
|
|
328
|
+
* **GitHub Action wrapper** for one-call anchoring from a CI step.
|
|
329
|
+
* **Worked end-to-end examples** for NIS2, EUDR, AI Act, and
|
|
330
|
+
software-release use cases. Conformance vectors and example receipts
|
|
331
|
+
land in `examples/` and `docs/CONFORMANCE_VECTORS.md` in v0.3.x.
|
|
292
332
|
|
|
293
333
|
## License
|
|
294
334
|
|
|
295
|
-
|
|
335
|
+
Apache-2.0. See `LICENSE`. The `actproof-events` catalogue (sibling
|
|
336
|
+
repository) is CC0 / Apache-2.0.
|
|
337
|
+
|
|
338
|
+
## Why Apache-2.0
|
|
339
|
+
|
|
340
|
+
`actproof` is intended as reusable verification infrastructure. Apache-2.0
|
|
341
|
+
provides:
|
|
342
|
+
|
|
343
|
+
* The same broad permission to embed in commercial or proprietary work
|
|
344
|
+
as MIT.
|
|
345
|
+
* An explicit contributor patent licence (Section 3 of the licence text),
|
|
346
|
+
which matters for cryptographic and protocol code.
|
|
347
|
+
* A clearer legal posture for institutional and public-sector adopters.
|
|
348
|
+
|
|
349
|
+
If you previously consumed `actproof <= 0.3.1` under MIT, those releases
|
|
350
|
+
remain available on PyPI under MIT. All `actproof >= 0.3.2` releases are
|
|
351
|
+
governed by Apache-2.0.
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
# actproof
|
|
2
2
|
|
|
3
|
-
Verifiable receipts
|
|
4
|
-
|
|
5
|
-
any party with a Python
|
|
3
|
+
Verifiable evidence receipts for institutional records, regulated acts, and
|
|
4
|
+
public attestations. Canonical JSON (RFC 8785), RFC 3161 trusted timestamps,
|
|
5
|
+
Algorand ARC-2 anchoring, independent verification by any party with a Python
|
|
6
|
+
install.
|
|
6
7
|
|
|
7
8
|
`actproof` produces cryptographic receipts that any third party can verify
|
|
8
|
-
without trusting the issuing platform. A receipt binds: the
|
|
9
|
-
being
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
the
|
|
13
|
-
binding.
|
|
9
|
+
without trusting the issuing platform. A receipt binds: the record or act
|
|
10
|
+
being documented (optionally classified against the `actproof-events`
|
|
11
|
+
catalogue for regulated acts), the canonical JSON of the issuer's evidence,
|
|
12
|
+
a qualified timestamp from a trusted timestamp authority, and a transaction
|
|
13
|
+
on the Algorand public ledger that carries the same hash. The verifier
|
|
14
|
+
reproduces the bytes locally and confirms each binding.
|
|
14
15
|
|
|
15
16
|
## What actproof does not claim
|
|
16
17
|
|
|
@@ -206,18 +207,91 @@ actproof composes five published standards rather than inventing new ones:
|
|
|
206
207
|
v2 parser when COSE_Sign1 + SCITT Transparent Statement becomes
|
|
207
208
|
standardised.
|
|
208
209
|
|
|
209
|
-
##
|
|
210
|
+
## Independent use outside Quoruna
|
|
211
|
+
|
|
212
|
+
`actproof` is a standalone Python library. It does not require Quoruna, an
|
|
213
|
+
account, a hosted service, or any vendor trust. The intended use cases:
|
|
214
|
+
|
|
215
|
+
* **Regulated industries.** Compliance evidence with verifiable timestamps:
|
|
216
|
+
pharma batch records, financial reporting attestations, NIS2 incident
|
|
217
|
+
reports, EUDR due-diligence statements, AI Act risk assessments.
|
|
218
|
+
* **Civil society and journalism.** Verifiable provenance of reporting,
|
|
219
|
+
research outputs, and document releases without a trusted intermediary.
|
|
220
|
+
* **Academic research.** Pre-registration of analysis plans, anchored
|
|
221
|
+
research artifacts, reproducibility receipts.
|
|
222
|
+
* **Public-sector records.** Public decisions, council resolutions,
|
|
223
|
+
procurement evidence, transparency anchors.
|
|
224
|
+
* **Other receipt and attestation systems.** Any application that today
|
|
225
|
+
emits "trust us" PDFs can emit an actproof receipt instead and let the
|
|
226
|
+
recipient verify without contacting the issuer.
|
|
227
|
+
|
|
228
|
+
Quoruna is one consuming application. It is not the only intended
|
|
229
|
+
consumer. The library API is independent of any particular product or
|
|
230
|
+
hosted service.
|
|
231
|
+
|
|
232
|
+
## API stability
|
|
233
|
+
|
|
234
|
+
The package currently exposes a deliberately large API surface to let
|
|
235
|
+
adopters work at whatever level suits them. Before the v1.0 release,
|
|
236
|
+
the following discipline applies:
|
|
237
|
+
|
|
238
|
+
* **Stable.** `canonicalize`, `hash_canonical`, `hash_canonical_hex`,
|
|
239
|
+
`build_manifest`, `manifest_to_dict`, `manifest_from_dict`,
|
|
240
|
+
`hash_manifest`, `hash_manifest_hex`, `Receipt`, `read_receipt`,
|
|
241
|
+
`write_receipt`, `verify_receipt`, `CheckResult`, `VerificationResult`.
|
|
242
|
+
These will not break between minor versions before v1.0.
|
|
243
|
+
* **Experimental.** `Catalogue`, `validate_manifest`, RFC 3161 TSA
|
|
244
|
+
chain configuration, the `AnchorMode` enum, and the signer
|
|
245
|
+
abstraction. Subject to refinement before v1.0.
|
|
246
|
+
* **Internal-but-exported.** Constants like `IJSON_MAX_SAFE_INT`,
|
|
247
|
+
`ARC2_NOTE_FORMAT`, and `SCHEMA_DISCRIMINATOR_V3`. Available for
|
|
248
|
+
power users but may change.
|
|
249
|
+
|
|
250
|
+
The full list is in `actproof/__init__.py`. v1.0.0 will declare the final
|
|
251
|
+
stable surface and freeze it under semantic versioning.
|
|
252
|
+
|
|
253
|
+
## Roadmap
|
|
254
|
+
|
|
255
|
+
* **v0.4.0** — Pluggable anchor backend architecture (`AnchorBackend`
|
|
256
|
+
Protocol). Algorand stays as the production backend; the protocol
|
|
257
|
+
abstraction makes Hedera Consensus Service, Stellar memo-hash, Bitcoin
|
|
258
|
+
OP_RETURN, and Ethereum implementations feasible without changes to
|
|
259
|
+
the canonicalisation, receipt, or verifier code. Also migrates off
|
|
260
|
+
`tsp-client` 0.2.1 onto `rfc3161-client` (Trail of Bits) to remove
|
|
261
|
+
the legacy pyOpenSSL cap.
|
|
262
|
+
* **v0.5.0** — Receipt profile registry. Explicit named profiles
|
|
263
|
+
(`actproof-jcs-v1`, `actproof-algorand-arc2-v1`, `actproof-rfc3161-v1`)
|
|
264
|
+
and a stable verifier dispatch surface for adopters.
|
|
265
|
+
* **v1.0.0** — Stable API frozen. Conformance test vectors finalised.
|
|
266
|
+
* **v2.0.0** — COSE_Sign1 + SCITT Transparent Statement bridge once
|
|
267
|
+
RFC 9943 publishes.
|
|
268
|
+
|
|
269
|
+
## What actproof does NOT yet ship
|
|
210
270
|
|
|
211
271
|
* **EU Trusted List chain validation** for RFC 3161 tokens. The current
|
|
212
272
|
verifier checks the token is well-formed and self-consistent; full
|
|
213
|
-
chain validation against EUTL is v0.
|
|
214
|
-
* **
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
in v0.
|
|
218
|
-
* **Worked examples** for NIS2, EUDR, and software-release use cases.
|
|
219
|
-
Land in v0.2.0.
|
|
273
|
+
chain validation against EUTL is on the v0.5.x roadmap.
|
|
274
|
+
* **GitHub Action wrapper** for one-call anchoring from a CI step.
|
|
275
|
+
* **Worked end-to-end examples** for NIS2, EUDR, AI Act, and
|
|
276
|
+
software-release use cases. Conformance vectors and example receipts
|
|
277
|
+
land in `examples/` and `docs/CONFORMANCE_VECTORS.md` in v0.3.x.
|
|
220
278
|
|
|
221
279
|
## License
|
|
222
280
|
|
|
223
|
-
|
|
281
|
+
Apache-2.0. See `LICENSE`. The `actproof-events` catalogue (sibling
|
|
282
|
+
repository) is CC0 / Apache-2.0.
|
|
283
|
+
|
|
284
|
+
## Why Apache-2.0
|
|
285
|
+
|
|
286
|
+
`actproof` is intended as reusable verification infrastructure. Apache-2.0
|
|
287
|
+
provides:
|
|
288
|
+
|
|
289
|
+
* The same broad permission to embed in commercial or proprietary work
|
|
290
|
+
as MIT.
|
|
291
|
+
* An explicit contributor patent licence (Section 3 of the licence text),
|
|
292
|
+
which matters for cryptographic and protocol code.
|
|
293
|
+
* A clearer legal posture for institutional and public-sector adopters.
|
|
294
|
+
|
|
295
|
+
If you previously consumed `actproof <= 0.3.1` under MIT, those releases
|
|
296
|
+
remain available on PyPI under MIT. All `actproof >= 0.3.2` releases are
|
|
297
|
+
governed by Apache-2.0.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# SPDX-FileCopyrightText: 2026 Deyan Paroushev
|
|
2
|
-
# SPDX-License-Identifier:
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
"""
|
|
4
4
|
actproof: anchor signed JSON manifests; verify anyone's anchored receipts.
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
|
-
__version__ = "0.3.
|
|
9
|
+
__version__ = "0.3.3"
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
# ─────────────────────────────────────────────────────────────────
|