open-evidence-verification 0.2.1__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.
Files changed (196) hide show
  1. open_evidence_verification-0.2.1/.github/workflows/ci.yml +66 -0
  2. open_evidence_verification-0.2.1/.gitignore +44 -0
  3. open_evidence_verification-0.2.1/CHANGELOG.md +158 -0
  4. open_evidence_verification-0.2.1/CODE_OF_CONDUCT.md +73 -0
  5. open_evidence_verification-0.2.1/CONTRIBUTING.md +67 -0
  6. open_evidence_verification-0.2.1/LICENSE +176 -0
  7. open_evidence_verification-0.2.1/PKG-INFO +453 -0
  8. open_evidence_verification-0.2.1/README.md +421 -0
  9. open_evidence_verification-0.2.1/SECURITY.md +93 -0
  10. open_evidence_verification-0.2.1/conformance/README.md +91 -0
  11. open_evidence_verification-0.2.1/conformance/fixtures/01-valid-oept-pass/expected-result.json +1 -0
  12. open_evidence_verification-0.2.1/conformance/fixtures/01-valid-oept-pass/package-trust-keys.json +6 -0
  13. open_evidence_verification-0.2.1/conformance/fixtures/01-valid-oept-pass/package.zip +0 -0
  14. open_evidence_verification-0.2.1/conformance/fixtures/01-valid-oept-pass/profile.json +1 -0
  15. open_evidence_verification-0.2.1/conformance/fixtures/01-valid-oept-pass/receipt.dsse.json +1 -0
  16. open_evidence_verification-0.2.1/conformance/fixtures/01-valid-oept-pass/verifier-trust-keys.json +1 -0
  17. open_evidence_verification-0.2.1/conformance/fixtures/02-tampered-package/expected-result.json +1 -0
  18. open_evidence_verification-0.2.1/conformance/fixtures/02-tampered-package/package.zip +0 -0
  19. open_evidence_verification-0.2.1/conformance/fixtures/02-tampered-package/profile.json +1 -0
  20. open_evidence_verification-0.2.1/conformance/fixtures/03-required-signature-unsatisfied/expected-result.json +1 -0
  21. open_evidence_verification-0.2.1/conformance/fixtures/03-required-signature-unsatisfied/package.zip +0 -0
  22. open_evidence_verification-0.2.1/conformance/fixtures/03-required-signature-unsatisfied/profile.json +1 -0
  23. open_evidence_verification-0.2.1/conformance/fixtures/04-tampered-receipt/expected-result.json +1 -0
  24. open_evidence_verification-0.2.1/conformance/fixtures/04-tampered-receipt/receipt.dsse.json +1 -0
  25. open_evidence_verification-0.2.1/conformance/fixtures/04-tampered-receipt/verifier-trust-keys.json +1 -0
  26. open_evidence_verification-0.2.1/conformance/fixtures/05-reverify-package-mismatch/expected-result.json +1 -0
  27. open_evidence_verification-0.2.1/conformance/fixtures/05-reverify-package-mismatch/package.zip +0 -0
  28. open_evidence_verification-0.2.1/conformance/fixtures/05-reverify-package-mismatch/profile.json +1 -0
  29. open_evidence_verification-0.2.1/conformance/fixtures/05-reverify-package-mismatch/receipt.dsse.json +1 -0
  30. open_evidence_verification-0.2.1/conformance/fixtures/06-signature-invalid/expected-result.json +1 -0
  31. open_evidence_verification-0.2.1/conformance/fixtures/06-signature-invalid/package-trust-keys.json +6 -0
  32. open_evidence_verification-0.2.1/conformance/fixtures/06-signature-invalid/package.zip +0 -0
  33. open_evidence_verification-0.2.1/conformance/fixtures/06-signature-invalid/profile.json +1 -0
  34. open_evidence_verification-0.2.1/conformance/fixtures/07-pack-replay-ok/expected-result.json +1 -0
  35. open_evidence_verification-0.2.1/conformance/fixtures/07-pack-replay-ok/pack/artifacts/maintenance-policy.txt +5 -0
  36. open_evidence_verification-0.2.1/conformance/fixtures/07-pack-replay-ok/pack/artifacts/sensor-export.csv +3 -0
  37. open_evidence_verification-0.2.1/conformance/fixtures/07-pack-replay-ok/pack/case.json +1 -0
  38. open_evidence_verification-0.2.1/conformance/fixtures/07-pack-replay-ok/pack/facts.json +1 -0
  39. open_evidence_verification-0.2.1/conformance/fixtures/07-pack-replay-ok/pack/findings.json +1 -0
  40. open_evidence_verification-0.2.1/conformance/fixtures/07-pack-replay-ok/pack/manifest.dsse.json +1 -0
  41. open_evidence_verification-0.2.1/conformance/fixtures/07-pack-replay-ok/pack/manifest.json +1 -0
  42. open_evidence_verification-0.2.1/conformance/fixtures/07-pack-replay-ok/pack/review_actions.json +1 -0
  43. open_evidence_verification-0.2.1/conformance/fixtures/07-pack-replay-ok/pack/rule_runs.json +1 -0
  44. open_evidence_verification-0.2.1/conformance/fixtures/07-pack-replay-ok/pack/snapshot_context.json +1 -0
  45. open_evidence_verification-0.2.1/conformance/fixtures/07-pack-replay-ok/pack/timeline.json +1 -0
  46. open_evidence_verification-0.2.1/conformance/fixtures/07-pack-replay-ok/pin.json +1 -0
  47. open_evidence_verification-0.2.1/conformance/fixtures/08-pack-replay-hash-changed/expected-result.json +1 -0
  48. open_evidence_verification-0.2.1/conformance/fixtures/08-pack-replay-hash-changed/pack/artifacts/maintenance-policy.txt +5 -0
  49. open_evidence_verification-0.2.1/conformance/fixtures/08-pack-replay-hash-changed/pack/artifacts/sensor-export.csv +3 -0
  50. open_evidence_verification-0.2.1/conformance/fixtures/08-pack-replay-hash-changed/pack/case.json +1 -0
  51. open_evidence_verification-0.2.1/conformance/fixtures/08-pack-replay-hash-changed/pack/facts.json +1 -0
  52. open_evidence_verification-0.2.1/conformance/fixtures/08-pack-replay-hash-changed/pack/findings.json +1 -0
  53. open_evidence_verification-0.2.1/conformance/fixtures/08-pack-replay-hash-changed/pack/manifest.json +1 -0
  54. open_evidence_verification-0.2.1/conformance/fixtures/08-pack-replay-hash-changed/pack/review_actions.json +1 -0
  55. open_evidence_verification-0.2.1/conformance/fixtures/08-pack-replay-hash-changed/pack/rule_runs.json +1 -0
  56. open_evidence_verification-0.2.1/conformance/fixtures/08-pack-replay-hash-changed/pack/snapshot_context.json +1 -0
  57. open_evidence_verification-0.2.1/conformance/fixtures/08-pack-replay-hash-changed/pack/timeline.json +1 -0
  58. open_evidence_verification-0.2.1/conformance/fixtures/08-pack-replay-hash-changed/pin.json +1 -0
  59. open_evidence_verification-0.2.1/conformance/fixtures/09-pack-replay-snapshot-leak/expected-result.json +1 -0
  60. open_evidence_verification-0.2.1/conformance/fixtures/09-pack-replay-snapshot-leak/pack/artifacts/maintenance-policy.txt +5 -0
  61. open_evidence_verification-0.2.1/conformance/fixtures/09-pack-replay-snapshot-leak/pack/artifacts/sensor-export.csv +3 -0
  62. open_evidence_verification-0.2.1/conformance/fixtures/09-pack-replay-snapshot-leak/pack/case.json +1 -0
  63. open_evidence_verification-0.2.1/conformance/fixtures/09-pack-replay-snapshot-leak/pack/facts.json +1 -0
  64. open_evidence_verification-0.2.1/conformance/fixtures/09-pack-replay-snapshot-leak/pack/findings.json +1 -0
  65. open_evidence_verification-0.2.1/conformance/fixtures/09-pack-replay-snapshot-leak/pack/manifest.json +1 -0
  66. open_evidence_verification-0.2.1/conformance/fixtures/09-pack-replay-snapshot-leak/pack/review_actions.json +1 -0
  67. open_evidence_verification-0.2.1/conformance/fixtures/09-pack-replay-snapshot-leak/pack/rule_runs.json +1 -0
  68. open_evidence_verification-0.2.1/conformance/fixtures/09-pack-replay-snapshot-leak/pack/snapshot_context.json +1 -0
  69. open_evidence_verification-0.2.1/conformance/fixtures/09-pack-replay-snapshot-leak/pack/timeline.json +1 -0
  70. open_evidence_verification-0.2.1/conformance/fixtures/10-pack-receipt-roundtrip/expected-result.json +1 -0
  71. open_evidence_verification-0.2.1/conformance/fixtures/10-pack-receipt-roundtrip/pack/artifacts/maintenance-policy.txt +5 -0
  72. open_evidence_verification-0.2.1/conformance/fixtures/10-pack-receipt-roundtrip/pack/artifacts/sensor-export.csv +3 -0
  73. open_evidence_verification-0.2.1/conformance/fixtures/10-pack-receipt-roundtrip/pack/case.json +1 -0
  74. open_evidence_verification-0.2.1/conformance/fixtures/10-pack-receipt-roundtrip/pack/facts.json +1 -0
  75. open_evidence_verification-0.2.1/conformance/fixtures/10-pack-receipt-roundtrip/pack/findings.json +1 -0
  76. open_evidence_verification-0.2.1/conformance/fixtures/10-pack-receipt-roundtrip/pack/manifest.dsse.json +1 -0
  77. open_evidence_verification-0.2.1/conformance/fixtures/10-pack-receipt-roundtrip/pack/manifest.json +1 -0
  78. open_evidence_verification-0.2.1/conformance/fixtures/10-pack-receipt-roundtrip/pack/review_actions.json +1 -0
  79. open_evidence_verification-0.2.1/conformance/fixtures/10-pack-receipt-roundtrip/pack/rule_runs.json +1 -0
  80. open_evidence_verification-0.2.1/conformance/fixtures/10-pack-receipt-roundtrip/pack/snapshot_context.json +1 -0
  81. open_evidence_verification-0.2.1/conformance/fixtures/10-pack-receipt-roundtrip/pack/timeline.json +1 -0
  82. open_evidence_verification-0.2.1/conformance/fixtures/10-pack-receipt-roundtrip/pack-verification-receipt.json +1 -0
  83. open_evidence_verification-0.2.1/conformance/fixtures/10-pack-receipt-roundtrip/verifier-keys.json +1 -0
  84. open_evidence_verification-0.2.1/conformance/fixtures/11-pack-signature-not-present/expected-result.json +1 -0
  85. open_evidence_verification-0.2.1/conformance/fixtures/11-pack-signature-not-present/pack/artifacts/maintenance-policy.txt +5 -0
  86. open_evidence_verification-0.2.1/conformance/fixtures/11-pack-signature-not-present/pack/artifacts/sensor-export.csv +3 -0
  87. open_evidence_verification-0.2.1/conformance/fixtures/11-pack-signature-not-present/pack/case.json +1 -0
  88. open_evidence_verification-0.2.1/conformance/fixtures/11-pack-signature-not-present/pack/facts.json +1 -0
  89. open_evidence_verification-0.2.1/conformance/fixtures/11-pack-signature-not-present/pack/findings.json +1 -0
  90. open_evidence_verification-0.2.1/conformance/fixtures/11-pack-signature-not-present/pack/manifest.json +1 -0
  91. open_evidence_verification-0.2.1/conformance/fixtures/11-pack-signature-not-present/pack/review_actions.json +1 -0
  92. open_evidence_verification-0.2.1/conformance/fixtures/11-pack-signature-not-present/pack/rule_runs.json +1 -0
  93. open_evidence_verification-0.2.1/conformance/fixtures/11-pack-signature-not-present/pack/snapshot_context.json +1 -0
  94. open_evidence_verification-0.2.1/conformance/fixtures/11-pack-signature-not-present/pack/timeline.json +1 -0
  95. open_evidence_verification-0.2.1/conformance/fixtures/12-pack-signature-invalid/expected-result.json +1 -0
  96. open_evidence_verification-0.2.1/conformance/fixtures/12-pack-signature-invalid/pack/artifacts/maintenance-policy.txt +5 -0
  97. open_evidence_verification-0.2.1/conformance/fixtures/12-pack-signature-invalid/pack/artifacts/sensor-export.csv +3 -0
  98. open_evidence_verification-0.2.1/conformance/fixtures/12-pack-signature-invalid/pack/case.json +1 -0
  99. open_evidence_verification-0.2.1/conformance/fixtures/12-pack-signature-invalid/pack/facts.json +1 -0
  100. open_evidence_verification-0.2.1/conformance/fixtures/12-pack-signature-invalid/pack/findings.json +1 -0
  101. open_evidence_verification-0.2.1/conformance/fixtures/12-pack-signature-invalid/pack/manifest.dsse.json +1 -0
  102. open_evidence_verification-0.2.1/conformance/fixtures/12-pack-signature-invalid/pack/manifest.json +1 -0
  103. open_evidence_verification-0.2.1/conformance/fixtures/12-pack-signature-invalid/pack/review_actions.json +1 -0
  104. open_evidence_verification-0.2.1/conformance/fixtures/12-pack-signature-invalid/pack/rule_runs.json +1 -0
  105. open_evidence_verification-0.2.1/conformance/fixtures/12-pack-signature-invalid/pack/snapshot_context.json +1 -0
  106. open_evidence_verification-0.2.1/conformance/fixtures/12-pack-signature-invalid/pack/timeline.json +1 -0
  107. open_evidence_verification-0.2.1/conformance/fixtures/12-pack-signature-invalid/verifier-keys.json +1 -0
  108. open_evidence_verification-0.2.1/conformance/fixtures/13-archive-traversal-refused/expected-result.json +1 -0
  109. open_evidence_verification-0.2.1/conformance/fixtures/13-archive-traversal-refused/hostile.zip +0 -0
  110. open_evidence_verification-0.2.1/conformance/fixtures/14-archive-duplicate-member-refused/expected-result.json +1 -0
  111. open_evidence_verification-0.2.1/conformance/fixtures/14-archive-duplicate-member-refused/hostile.zip +0 -0
  112. open_evidence_verification-0.2.1/conformance/make_fixtures.py +611 -0
  113. open_evidence_verification-0.2.1/examples/README.md +39 -0
  114. open_evidence_verification-0.2.1/examples/demo-case-001/artifacts/maintenance-policy.txt +5 -0
  115. open_evidence_verification-0.2.1/examples/demo-case-001/artifacts/sensor-export.csv +3 -0
  116. open_evidence_verification-0.2.1/examples/demo-case-001/case.json +1 -0
  117. open_evidence_verification-0.2.1/examples/demo-case-001/facts.json +1 -0
  118. open_evidence_verification-0.2.1/examples/demo-case-001/findings.json +1 -0
  119. open_evidence_verification-0.2.1/examples/demo-case-001/manifest.dsse.json +1 -0
  120. open_evidence_verification-0.2.1/examples/demo-case-001/manifest.json +1 -0
  121. open_evidence_verification-0.2.1/examples/demo-case-001/review_actions.json +1 -0
  122. open_evidence_verification-0.2.1/examples/demo-case-001/rule_runs.json +1 -0
  123. open_evidence_verification-0.2.1/examples/demo-case-001/snapshot_context.json +1 -0
  124. open_evidence_verification-0.2.1/examples/demo-case-001/timeline.json +1 -0
  125. open_evidence_verification-0.2.1/examples/demo-case-001.verifier-keys.json +1 -0
  126. open_evidence_verification-0.2.1/examples/make_example.py +403 -0
  127. open_evidence_verification-0.2.1/pyproject.toml +75 -0
  128. open_evidence_verification-0.2.1/schemas/decision-pack-case.schema.json +52 -0
  129. open_evidence_verification-0.2.1/schemas/decision-pack-facts.schema.json +65 -0
  130. open_evidence_verification-0.2.1/schemas/decision-pack-findings.schema.json +68 -0
  131. open_evidence_verification-0.2.1/schemas/decision-pack-manifest.schema.json +112 -0
  132. open_evidence_verification-0.2.1/schemas/decision-pack-review-actions.schema.json +82 -0
  133. open_evidence_verification-0.2.1/schemas/decision-pack-rule-runs.schema.json +97 -0
  134. open_evidence_verification-0.2.1/schemas/decision-pack-snapshot-context.schema.json +88 -0
  135. open_evidence_verification-0.2.1/schemas/decision-pack-timeline.schema.json +75 -0
  136. open_evidence_verification-0.2.1/schemas/pack-verification-receipt.schema.json +180 -0
  137. open_evidence_verification-0.2.1/schemas/reverification-report.schema.json +101 -0
  138. open_evidence_verification-0.2.1/schemas/verification-profile.schema.json +57 -0
  139. open_evidence_verification-0.2.1/schemas/verification-receipt.schema.json +206 -0
  140. open_evidence_verification-0.2.1/spec/decision-pack-spec.md +320 -0
  141. open_evidence_verification-0.2.1/spec/dsse-binding.md +66 -0
  142. open_evidence_verification-0.2.1/spec/profile-spec.md +59 -0
  143. open_evidence_verification-0.2.1/spec/receipt-spec.md +126 -0
  144. open_evidence_verification-0.2.1/spec/threat-model.md +77 -0
  145. open_evidence_verification-0.2.1/src/oev/__init__.py +15 -0
  146. open_evidence_verification-0.2.1/src/oev/adapters/__init__.py +38 -0
  147. open_evidence_verification-0.2.1/src/oev/adapters/base.py +49 -0
  148. open_evidence_verification-0.2.1/src/oev/adapters/oept.py +250 -0
  149. open_evidence_verification-0.2.1/src/oev/canonical.py +97 -0
  150. open_evidence_verification-0.2.1/src/oev/cli.py +580 -0
  151. open_evidence_verification-0.2.1/src/oev/decision_models.py +338 -0
  152. open_evidence_verification-0.2.1/src/oev/decision_pack.py +416 -0
  153. open_evidence_verification-0.2.1/src/oev/dsse.py +118 -0
  154. open_evidence_verification-0.2.1/src/oev/engine.py +147 -0
  155. open_evidence_verification-0.2.1/src/oev/hashing.py +25 -0
  156. open_evidence_verification-0.2.1/src/oev/inspect.py +171 -0
  157. open_evidence_verification-0.2.1/src/oev/models.py +359 -0
  158. open_evidence_verification-0.2.1/src/oev/pack_archive.py +169 -0
  159. open_evidence_verification-0.2.1/src/oev/pack_verifier.py +1407 -0
  160. open_evidence_verification-0.2.1/src/oev/profiles.py +37 -0
  161. open_evidence_verification-0.2.1/src/oev/py.typed +0 -0
  162. open_evidence_verification-0.2.1/src/oev/receipts.py +157 -0
  163. open_evidence_verification-0.2.1/src/oev/replay.py +411 -0
  164. open_evidence_verification-0.2.1/src/oev/reverify.py +243 -0
  165. open_evidence_verification-0.2.1/src/oev/schemas/decision-pack-case.schema.json +52 -0
  166. open_evidence_verification-0.2.1/src/oev/schemas/decision-pack-facts.schema.json +65 -0
  167. open_evidence_verification-0.2.1/src/oev/schemas/decision-pack-findings.schema.json +68 -0
  168. open_evidence_verification-0.2.1/src/oev/schemas/decision-pack-manifest.schema.json +112 -0
  169. open_evidence_verification-0.2.1/src/oev/schemas/decision-pack-review-actions.schema.json +82 -0
  170. open_evidence_verification-0.2.1/src/oev/schemas/decision-pack-rule-runs.schema.json +97 -0
  171. open_evidence_verification-0.2.1/src/oev/schemas/decision-pack-snapshot-context.schema.json +88 -0
  172. open_evidence_verification-0.2.1/src/oev/schemas/decision-pack-timeline.schema.json +75 -0
  173. open_evidence_verification-0.2.1/src/oev/schemas/pack-verification-receipt.schema.json +180 -0
  174. open_evidence_verification-0.2.1/src/oev/schemas/reverification-report.schema.json +101 -0
  175. open_evidence_verification-0.2.1/src/oev/schemas/verification-profile.schema.json +57 -0
  176. open_evidence_verification-0.2.1/src/oev/schemas/verification-receipt.schema.json +206 -0
  177. open_evidence_verification-0.2.1/src/oev/schemas.py +57 -0
  178. open_evidence_verification-0.2.1/src/oev/signing.py +120 -0
  179. open_evidence_verification-0.2.1/src/oev/trust.py +139 -0
  180. open_evidence_verification-0.2.1/tests/__init__.py +2 -0
  181. open_evidence_verification-0.2.1/tests/test_adapter_oept.py +124 -0
  182. open_evidence_verification-0.2.1/tests/test_adversarial.py +209 -0
  183. open_evidence_verification-0.2.1/tests/test_canonical_and_schemas.py +239 -0
  184. open_evidence_verification-0.2.1/tests/test_cli_and_reverify.py +315 -0
  185. open_evidence_verification-0.2.1/tests/test_cli_missing_adapter.py +143 -0
  186. open_evidence_verification-0.2.1/tests/test_conformance.py +353 -0
  187. open_evidence_verification-0.2.1/tests/test_decision_pack.py +472 -0
  188. open_evidence_verification-0.2.1/tests/test_dsse_and_trust.py +167 -0
  189. open_evidence_verification-0.2.1/tests/test_fuzz_receipt_digest.py +177 -0
  190. open_evidence_verification-0.2.1/tests/test_independence.py +39 -0
  191. open_evidence_verification-0.2.1/tests/test_pack_receipt.py +508 -0
  192. open_evidence_verification-0.2.1/tests/test_replay_safety.py +351 -0
  193. open_evidence_verification-0.2.1/tests/test_repo_consistency.py +39 -0
  194. open_evidence_verification-0.2.1/tests/test_sabotage.py +587 -0
  195. open_evidence_verification-0.2.1/tests/test_security_bounds.py +61 -0
  196. open_evidence_verification-0.2.1/tests/test_verifier_independence.py +283 -0
@@ -0,0 +1,66 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+
8
+ jobs:
9
+ test:
10
+ name: test + lint + typecheck (Python ${{ matrix.python-version }})
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ fail-fast: false
14
+ matrix:
15
+ # Keep in sync with requires-python and classifiers in pyproject.toml.
16
+ python-version: ["3.10", "3.11", "3.12", "3.13"]
17
+ steps:
18
+ - uses: actions/checkout@v7
19
+
20
+ - uses: actions/setup-python@v6
21
+ with:
22
+ python-version: ${{ matrix.python-version }}
23
+ cache: pip
24
+
25
+ - name: Install
26
+ run: python -m pip install -e ".[dev]"
27
+
28
+ - name: Lint (ruff)
29
+ run: |
30
+ ruff check .
31
+ ruff format --check .
32
+
33
+ - name: Type-check (mypy)
34
+ run: mypy src tests
35
+
36
+ - name: Test (pytest)
37
+ run: pytest
38
+
39
+ integration:
40
+ # Without OEPT installed, the adapter/conformance tests skip silently and
41
+ # green CI proves nothing about OEVP+OEPT interop. This job installs OEPT
42
+ # and asserts the adapter is importable so the OEPT-dependent tests
43
+ # execute instead of skip.
44
+ name: OEPT integration (adapter + CLI + conformance enforced)
45
+ runs-on: ubuntu-latest
46
+ steps:
47
+ - uses: actions/checkout@v7
48
+
49
+ - uses: actions/setup-python@v6
50
+ with:
51
+ python-version: "3.12"
52
+ cache: pip
53
+
54
+ - name: Install OEVP with dev tools
55
+ run: python -m pip install -e ".[dev]"
56
+
57
+ - name: Install OEPT (sibling repository, pinned snapshot)
58
+ # Bump to the latest OEPT tag/release when one is published to PyPI
59
+ # or tagged upstream.
60
+ run: python -m pip install "oept @ git+https://github.com/fintegra-ai/open-evidence-provenance.git@fec8f92ff98c2eaebb5c01ac178459f79c119e9b"
61
+
62
+ - name: Assert OEPT adapter is importable (no silent skips)
63
+ run: python -c "from oev.adapters.oept import is_oept_available; assert is_oept_available(), 'OEPT must be importable for this job'"
64
+
65
+ - name: Test (pytest, full suite with OEPT present)
66
+ run: pytest -rs
@@ -0,0 +1,44 @@
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ *.so
6
+ .Python
7
+ build/
8
+ develop-eggs/
9
+ dist/
10
+ downloads/
11
+ eggs/
12
+ .eggs/
13
+ lib/
14
+ lib64/
15
+ parts/
16
+ sdist/
17
+ var/
18
+ wheels/
19
+ share/python-wheels/
20
+ *.egg-info/
21
+ .installed.cfg
22
+ *.egg
23
+ MANIFEST
24
+
25
+ # Virtual environments
26
+ .venv/
27
+ env/
28
+ venv/
29
+ ENV/
30
+
31
+ # Tool caches
32
+ .pytest_cache/
33
+ .mypy_cache/
34
+ .ruff_cache/
35
+ .coverage
36
+ htmlcov/
37
+
38
+ # IDE
39
+ .vscode/
40
+ .idea/
41
+ *.swp
42
+ *.swo
43
+ *~
44
+ .DS_Store
@@ -0,0 +1,158 @@
1
+ # Changelog
2
+
3
+ All notable changes to the Open Evidence Verification Protocol (OEVP) will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+
9
+ ## [Unreleased]
10
+
11
+ ### Changed
12
+
13
+ - Distribution name changed from `oev` to `open-evidence-verification` (PyPI name taken by an unrelated project). Import package `oev` and CLI `oev` are unchanged; install with `pip install open-evidence-verification[oept]` for the OEPT adapter.
14
+
15
+ ## [0.2.1] - 2026-11-01
16
+
17
+ ### Fixed
18
+
19
+ - **Re-verification of a tampered receipt no longer reports `MATCH`.** When the
20
+ historical receipt's self-digest does not verify, `oev reverify` now fails
21
+ closed with `MISMATCH` (CLI exit code 2) instead of recording the failure in
22
+ `notes` and continuing — previously a receipt with an edited field (e.g. a
23
+ replaced `receipt_id`) and a stale `receipt_digest` could still produce
24
+ `MATCH` with exit code 0 if all other checks happened to agree.
25
+ - CLI: schema-invalid or unparseable JSON inputs (e.g. a malformed receipt or
26
+ profile) now fail with a clean `Error: ...` message and exit code 1 instead
27
+ of an unhandled traceback.
28
+
29
+ ### Changed
30
+
31
+ - The optional `oept` extra now depends on the `oept` distribution (OEPT's
32
+ actual PyPI/dist name), not the non-existent `open-evidence-provenance` name.
33
+ - `oev reverify` human output and the README now state explicitly that
34
+ re-verification establishes reproducibility, not receipt authenticity;
35
+ `oev receipt verify` with caller-pinned verifier keys remains the
36
+ authenticity check.
37
+
38
+ ### Added
39
+
40
+ - CI: a dedicated OEPT integration job that installs OEPT from the sibling
41
+ repository and asserts the adapter is importable, so the previously
42
+ auto-skipped adapter/CLI/conformance tests execute on every run.
43
+
44
+ ## [0.2.0] - 2026-10-26
45
+
46
+ ### Added
47
+
48
+ - **Decision Evidence Pack** (`oev-decision-pack/0.2`): a portable, integrity-checked
49
+ directory format for the evidence trail of a decision process — case record, facts,
50
+ versioned rule runs (rules-as-data), findings, review actions, timeline, snapshot
51
+ context, and artifacts. Includes pack build, DSSE v1 manifest signing, and offline
52
+ integrity verification (`oev pack build|sign|verify`), a normative specification
53
+ (`spec/decision-pack-spec.md`), and a fully synthetic, domain-neutral example pack
54
+ (`examples/demo-case-001`, regenerable via `examples/make_example.py`).
55
+ - **Portable pack verification receipt** (`oev-pack-receipt/0.1`,
56
+ `spec/decision-pack-spec.md` §7.1): `oev pack verify --out` emits a self-digested receipt
57
+ recording exactly which checks passed, failed, or were not run (the complete ordered check
58
+ vector), plus the declared and recomputed pack digest, the verifier identity/version, the
59
+ verification time, per-member results, and structure errors. The receipt can be DSSE-signed
60
+ (`--sign-receipt`) and is verifiable offline by a third party (`oev pack receipt verify`),
61
+ optionally bound against the pack on disk (`PACK_BINDING_MATCH` / `PACK_BINDING_MISMATCH`).
62
+ A receipt of an invalid pack is itself a valid record of that failure and never upgrades
63
+ the pack it describes. Schema: `pack-verification-receipt.schema.json`.
64
+ - JSON schemas (Draft 2020-12) for the pack: `decision-pack-case`, `decision-pack-facts`,
65
+ `decision-pack-rule-runs`, `decision-pack-findings`, `decision-pack-review-actions`,
66
+ `decision-pack-timeline`, `decision-pack-snapshot-context`, and
67
+ `decision-pack-manifest`.
68
+ - Conformance fixture `06-signature-invalid`: a corrupt application signature must
69
+ yield `FAIL` / `TECHNICAL_CHECKS_FAILED`, pinning the distinction from the
70
+ `UNVERIFIED` / `PROFILE_UNSATISFIED` outcome of an unsigned bundle (`03`).
71
+ - Conformance fixtures `07`–`14` for the decision pack surface, derived deterministically
72
+ from the neutral `demo-case-001` example and runnable on the OEVP core alone (no OEPT):
73
+ replay OK on a pinned valid pack, `PACK_HASH_CHANGED` refusal of a self-consistent
74
+ rewrite, `SNAPSHOT_LEAK` refusal after late evidence injection, a third-party
75
+ pack-receipt round-trip (`RECEIPT_VALID` offline plus `PACK_BINDING_MATCH`), honest
76
+ `SIGNATURE_NOT_PRESENT` vs `SIGNATURE_INVALID` reporting, and archive refusals of
77
+ ZIP-slip traversal and duplicate member entries.
78
+ - **Snapshot replay safety gate** (`oev.replay`, `oev pack replay`): replay of a pack's
79
+ snapshot now fails closed. Replay requires full pack verification first, refuses when the
80
+ pack hash changed since an out-of-band replay pin (`pin_pack`, `PACK_HASH_CHANGED` — this
81
+ catches fully self-consistent manifest rewrites that per-pack digests cannot), refuses when
82
+ caller-pinned trust roots are not satisfied by the manifest signature
83
+ (`SIGNATURE_UNTRUSTED`, covering stripping and replacement), and refuses when a recorded
84
+ rule run consumed evidence observed after the snapshot was captured (`SNAPSHOT_LEAK`).
85
+ The replay scope is computed by snapshot isolation: only facts bound to a snapshot source
86
+ and observed at or before `captured_at` are eligible; later or unbound evidence is excluded
87
+ with an explicit reason and can never enter a replay of that snapshot.
88
+ - **Safe ZIP transport for packs** (`oev.pack_archive`): deterministic pack archive creation
89
+ and a validate-before-extract unpacker that rejects path-traversal entries (zip-slip),
90
+ duplicate member names, encrypted entries, and decompression bombs (per-entry and total
91
+ size bounds) — a hostile archive leaves the target directory untouched.
92
+ - **Sabotage test suite** (`tests/test_sabotage.py`): 33 adversarial cases across byte flips
93
+ (members, artifacts, manifest, DSSE payload and signature bytes), ZIP traversal entries,
94
+ duplicate members (archive and manifest), signature stripping, signature replacement
95
+ (including keyid spoofing and envelopes over rewritten manifests), manifest tampering
96
+ (digest flips and self-consistent rebuilds), and replay with later evidence injected.
97
+ - **Verifier-independence tests** (`tests/test_verifier_independence.py`): the offline
98
+ verifier's import closure is proven protocol-only (static AST and runtime `sys.modules`
99
+ checks; no application or store code), and the CLI verifier is exercised in a subprocess
100
+ against a pack copied to a clean directory containing no application code.
101
+ - GitHub Actions CI running ruff, mypy (strict), and pytest on Python 3.10–3.13
102
+ (matching `requires-python`).
103
+ - Schema-parity conformance guard: `schemas/` and the wheel-shipped `src/oev/schemas/`
104
+ copies must stay byte-identical.
105
+ - `conformance/README.md` documenting the fixture corpus, expected results, and
106
+ regeneration procedure.
107
+
108
+ ### Changed
109
+
110
+ - `oev pack verify` exit code `2` now also covers the case where the caller supplied
111
+ verifier trust roots but the pack carries no trusted manifest signature: a stripped
112
+ signature is a visible trust failure, never silent success (previously an unsigned pack
113
+ exited `0` even with keys supplied).
114
+ - README rewritten to pro standard: what OEVP is and is not, trust boundaries in plain
115
+ language, and a quickstart where every command runs against the committed conformance
116
+ fixtures.
117
+ - SECURITY.md expanded with report scope, supported versions, coordinated disclosure,
118
+ and an explicit "what verification does not protect against" section.
119
+ - CONTRIBUTING.md and CODE_OF_CONDUCT.md completed (OEPT availability, quality gates,
120
+ full covenant structure).
121
+ - Threat model (`spec/threat-model.md`) extended to the 0.2 decision pack surface: pack
122
+ member tampering, self-consistent manifest rewrites, signature stripping/replacement,
123
+ hostile pack archives, and snapshot replay leaks, with rule re-execution recorded as
124
+ an explicit non-goal.
125
+ - Example pack `demo-case-001` regenerated so the committed bytes match the current
126
+ generator exactly: the DSSE envelope now embeds the signer's public key as an
127
+ unauthenticated hint (members, manifest, and pack digest are unchanged).
128
+ - Receipts record the installed `oev` package version as the verifier identity version
129
+ (previously a hardcoded literal).
130
+ - CLI exits with a clean error message (exit 1) instead of a traceback when the
131
+ optional OEPT adapter is missing.
132
+ - Test suite no longer references paths outside the repository: OEPT-dependent tests use
133
+ the committed in-repo fixtures and skip with an explicit reason when OEPT is absent.
134
+
135
+ ### Removed
136
+
137
+ - Dead code: `sha256_stream`/`sha256_file` (unused stream hashing helpers),
138
+ `get_available_adapters` (unused adapter registry accessor), `archive_info`
139
+ (unused archive summary helper), and the never-raised `PackVerifierError`.
140
+
141
+ ## [0.1.0] - Unreleased (draft)
142
+
143
+ ### Added
144
+
145
+ - Initial pre-application MVP for the Open Evidence Verification Protocol.
146
+ - JSON schemas: `verification-profile.schema.json`, `verification-receipt.schema.json`, `reverification-report.schema.json` (Draft 2020-12).
147
+ - Deterministic RFC 8785 (JCS) canonicalization with integer range boundary enforcement `[-(2^53 - 1), 2^53 - 1]`.
148
+ - Granular `CheckResult` model with 6 exact states: `PASS`, `FAIL`, `NOT_RUN`, `NOT_APPLICABLE`, `UNVERIFIED`, `UNSUPPORTED`.
149
+ - Deterministic overall result aggregation with 5 exact states: `TECHNICAL_CHECKS_PASSED`, `TECHNICAL_CHECKS_FAILED`, `TECHNICAL_CHECKS_PARTIAL`, `EXECUTION_INCOMPLETE`, `PROFILE_UNSATISFIED`.
150
+ - Canonical receipt digest with strict self-digest recursion avoidance rule.
151
+ - DSSE v1 specification envelope implementation with PAE and Ed25519 signing.
152
+ - Caller-supplied verifier trust roots preventing self-trust and key-hint impersonation.
153
+ - Pluggable `PackageAdapter` protocol with optional reference `OEPTAdapter`.
154
+ - Receipt inspection engine decoupled from package bytes.
155
+ - Package re-verification engine comparing fresh evaluations against historical receipts.
156
+ - Minimal CLI (`oev verify`, `oev inspect-receipt`, `oev reverify`, `oev receipt verify`).
157
+ - Five primary MVP conformance fixtures.
158
+ - Strict duplicate-key JSON rejection, input bounds, and profile check uniqueness hardening.
@@ -0,0 +1,73 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, caste, color, religion, or sexual
10
+ identity and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Standards
16
+
17
+ Examples of behavior that contributes to a positive environment include:
18
+
19
+ * Demonstrating empathy and kindness toward other people
20
+ * Being respectful of differing opinions, viewpoints, and experiences
21
+ * Giving and gracefully accepting constructive feedback
22
+ * Accepting responsibility and apologizing to those affected by our mistakes,
23
+ and learning from them
24
+
25
+ Examples of unacceptable behavior include:
26
+
27
+ * The use of sexualized language or imagery, and sexual attention or advances of
28
+ any kind
29
+ * Trolling, insulting or derogatory comments, and personal or political attacks
30
+ * Public or private harassment
31
+ * Publishing others' private information, such as a physical or email address,
32
+ without their explicit permission
33
+ * Other conduct which could reasonably be considered inappropriate in a
34
+ professional setting
35
+
36
+ ## Enforcement Responsibilities
37
+
38
+ Community leaders are responsible for clarifying and enforcing our standards of
39
+ acceptable behavior and will take appropriate and fair corrective action in
40
+ response to any behavior that they deem inappropriate, threatening, offensive,
41
+ or harmful.
42
+
43
+ Community leaders have the right and responsibility to remove, edit, or reject
44
+ comments, commits, code, wiki edits, issues, and other contributions that are
45
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
46
+ decisions when appropriate.
47
+
48
+ ## Scope
49
+
50
+ This Code of Conduct applies within all community spaces, and also applies when
51
+ an individual is officially representing the community in public spaces.
52
+ Examples of representing our community include using an official project e-mail
53
+ address, posting via an official social media account, or acting as an appointed
54
+ representative at an online or offline event.
55
+
56
+ ## Enforcement
57
+
58
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
59
+ reported to the community leaders responsible for enforcement by opening a
60
+ GitHub issue in this repository marked as a conduct report, or by contacting a
61
+ maintainer privately through their GitHub profile. All complaints will be
62
+ reviewed and investigated promptly and fairly.
63
+
64
+ All community leaders are obligated to respect the privacy and security of the
65
+ reporter of any incident.
66
+
67
+ ## Attribution
68
+
69
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
70
+ version 2.1, available at
71
+ https://www.contributor-covenant.org/version/2/1/code_of_conduct.html.
72
+
73
+ [homepage]: https://www.contributor-covenant.org
@@ -0,0 +1,67 @@
1
+ # Contributing to OEVP
2
+
3
+ Thank you for contributing to the Open Evidence Verification Protocol.
4
+
5
+ ## Principles
6
+
7
+ 1. **Clean Codebase**: All contributions must be original work licensed under Apache-2.0.
8
+ 2. **Minimal Dependencies**: Runtime dependencies must remain strictly minimal (Python stdlib, `cryptography`, `jcs`, `jsonschema`).
9
+ 3. **Core Independence**: The protocol core (`src/oev` excluding `oev/adapters/oept.py`) must have zero imports or runtime dependencies on OEPT, EvidenceOS, or any financial software.
10
+ 4. **Deterministic Security**: All canonicalization, hashing, signature verification, and overall result aggregations must be fully deterministic and accompanied by tests.
11
+ 5. **Honest Boundaries**: Documentation and error messages must never claim factual truth, legal validity, compliance approval, or fraud detection. Verification is technical appraisal only (see [SECURITY.md](SECURITY.md)).
12
+ 6. **No Release Tags Pre-Review**: Pre-1.0 development proceeds under provisional specifications (`oev-profile/0.1`, `oev-receipt/0.1`, `oev-reverification/0.1`, `oev-decision-pack/0.2`).
13
+
14
+ ## Development setup
15
+
16
+ ```bash
17
+ python3 -m venv .venv
18
+ source .venv/bin/activate
19
+ pip install -e ".[dev]"
20
+ ```
21
+
22
+ Python ≥ 3.10 is supported (CI runs 3.10–3.13; see
23
+ [.github/workflows/ci.yml](.github/workflows/ci.yml)).
24
+
25
+ ### Optional OEPT adapter
26
+
27
+ The reference adapter for OEPT bundles is optional. The OEPT package (Open Evidence
28
+ Provenance Toolkit) is a sibling project not yet published to PyPI; to run the
29
+ OEPT-dependent tests and the full conformance suite locally, install OEPT from its own
30
+ checkout:
31
+
32
+ ```bash
33
+ pip install -e /path/to/open-evidence-provenance
34
+ ```
35
+
36
+ Tests that require the adapter are skipped automatically (with an explicit reason) when
37
+ OEPT is not installed; everything else — the whole protocol core, receipt inspection,
38
+ and decision pack tooling — runs without it.
39
+
40
+ ## Quality gates
41
+
42
+ Every pull request must pass (CI enforces the same checks on Python 3.10–3.13):
43
+
44
+ ```bash
45
+ ruff check .
46
+ ruff format --check .
47
+ mypy src tests
48
+ pytest
49
+ ```
50
+
51
+ ## Conformance fixtures
52
+
53
+ The committed fixtures under [`conformance/fixtures`](conformance/fixtures) are the
54
+ protocol's conformance corpus; [conformance/README.md](conformance/README.md) documents
55
+ each scenario and how to regenerate them
56
+ (`OEPT_FIXTURES_DIR=... python conformance/make_fixtures.py`).
57
+
58
+ When changing verification behavior, keep the corpus consistent: fixtures and their
59
+ `expected-result.json` files must reflect actual engine output, and every example in the
60
+ [README](README.md) must run and verify against the code in this repository.
61
+
62
+ ## Pull requests
63
+
64
+ - Keep changes focused; one logical change per PR.
65
+ - Update [CHANGELOG.md](CHANGELOG.md) under `## [Unreleased]` for user-visible changes.
66
+ - Update the spec documents under `spec/` in the same PR when protocol-level behavior
67
+ changes.
@@ -0,0 +1,176 @@
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 reasonable and customary use in describing the
141
+ origin of the Work and 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 Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS