CryptoValid Open Core
Copyright (C) 2026 Roberto Locatelli

This program is free software: licensed under the GNU Affero General Public
License, version 3 or (at your option) any later version (AGPL-3.0-or-later).
See the LICENSE file in this directory for the full text.

-------------------------------------------------------------------------------
AUTHORSHIP & ORIGIN
-------------------------------------------------------------------------------
Author and copyright holder: Roberto Locatelli, 2026, of everything in this
repository except the third-party material listed under THIRD-PARTY FILES.

This directory is the AGPL-3.0 carve-out of the OMEGA Ecosystem, relicensed by
its author on 2026-08-08. Everything OUTSIDE this directory remains under the
Business Source License 1.1 (source-available; see the repository root).

-------------------------------------------------------------------------------
THIRD-PARTY FILES
-------------------------------------------------------------------------------
testdata/interop/ also holds test vectors of other projects, under their own
licenses and not under the AGPL: files of FiloSottile/sunlight (ISC, full text
in testdata/interop/LICENSE.sunlight) and of FiloSottile/torchwood (BSD-3-Clause,
full text in testdata/interop/LICENSE.torchwood). testdata/interop/README.md
lists each file, its source commit and its license. spec/vectors/scitt-cose/
holds the test vectors of action-state-group/scitt-cose (Copyright 2026 Action
State Group, Inc., Apache License 2.0; full text in spec/vectors/scitt-cose/LICENSE,
the project's notice in spec/vectors/scitt-cose/NOTICE). spec/vectors/forestrie-mmr/
holds checkpoint-receipt-kat39.json of forestrie/protocol (commit e5eb191, MIT
License, Copyright (c) 2026 Robin Bryce; full text in
spec/vectors/forestrie-mmr/LICENSE). spec/vectors/aac-cll-mmr/ holds
vectors/cll-material/cases.json of action-state-group/agent-action-capsule
(commit f812c44, BSD-3-Clause, Copyright (c) 2026 Action State Group, Inc.; full
text in spec/vectors/aac-cll-mmr/LICENSE, the project's notice in
spec/vectors/aac-cll-mmr/NOTICE). spec/vectors/rfc10073/rfc10073.txt is RFC 10073 (Copyright (c)
2026 IETF Trust and the persons identified as the document authors), the text
of rfc-editor.org kept in full and without modification, as the IETF Trust
Legal Provisions 5.0 §3.c.i allow; it is not under the AGPL.

spec/vectors/beacon/nist/ holds pulses and the certificate of the NIST
Randomness Beacon 2.0, the bytes beacon.nist.gov served on 2026-11-16. NIST is
an agency of the U.S. federal government; works of the U.S. government are not
subject to copyright protection in the United States (17 U.S.C. §105). The
certificate was issued to NIST by DigiCert; it is public data. The statement
NIST asks distributions of its data to include is in
spec/vectors/beacon/nist/NIST-STATEMENT.txt (read on nist.gov/open/license on
2026-11-17).

examples/acta/autoresearch-safe.cedar, examples/acta/key-window/*,
examples/acta/chain-link/*.json(l) and examples/acta/embedded-key/* are copied
verbatim from ScopeBlind/agent-governance-testvectors (commits 49ad7c1,
1e24b5687 and, for chain-link and embedded-key, 5c749de, fetched 2026-11-23):
Copyright (c) ScopeBlind Contributors and agent-governance-testvectors
contributors, Apache License 2.0, full text in
examples/acta/LICENSE.agent-governance-testvectors (that repository has no
NOTICE file). examples/acta/reference_protect-mcp/ holds receipts produced on
2026-09-20 by protect-mcp 0.29.0 (MIT) from that repository's fixtures; no code
of protect-mcp is included.

spec/vectors/rfc3161/ holds RFC 3161 time-stamp tokens issued for this
repository's own data.txt by public time-stamping services (DigiCert,
FreeTSA, GlobalSign, Sectigo; on 2026-11-17 also BOSA, Izenpe, ACCV and
Sectigo's qualified service) and the certificates they carry or publish
(freetsa_cacert.pem from https://freetsa.org/files/cacert.pem); manifest.json
says how each was obtained. They are the services' outputs, kept as received.

spec/vectors/rfc3161/third_party/ holds RFC 3161 tokens committed in other
projects, kept byte for byte, each under its project's licence (manifest.json
there names the repository, the commit and the path):
digicert_negative_nonce.tsr from thebristolsound/birdbrain (MIT, Copyright (c)
2026 Matt Donovan, full text in LICENSE.birdbrain); eurocert_signeddata_v1.tst
from esig/dss, the Digital Signature Service of the European Commission
(GNU LGPL version 2.1, full text in LICENSE.dss; distributed unmodified);
sigstore_signer_absent.tsr, the base64 field of a Sigstore bundle of
dfandrich/fileviewinfo decoded (MIT, Copyright (c) 2003-2026 Dan Fandrich, full
text in LICENSE.fileviewinfo). digicert_trusted_root_g4.pem is the public root
certificate DigiCert publishes at cacerts.digicert.com.

cryptovalid_lotl.py carries the SHA-256 digests of the six LOTL-signing
certificates published in the Official Journal of the European Union, C/2026/1944
of 15.4.2026 (http://data.europa.eu/eli/C/2026/1944/oj), © European Union; reused
under the Commission's reuse policy, Decision 2011/833/EU, as the EUR-Lex legal
notice states it (read on 2026-11-20: "you can re-use the legal documents
published in EUR-Lex for commercial or non-commercial purposes", the source
acknowledged). The digests are copied unchanged.

DCO is the Developer Certificate of Origin, version 1.1, copyright The Linux
Foundation and its contributors, kept verbatim as its licence asks.

No currency table is distributed here (SPEC §18 "Currencies"): the caller may
pin one, which tools/iso4217_table.py writes from the caller's own download of
ISO 4217 list one, under that publisher's terms.

spec/vectors/slhdsa/nist_acvp_slhdsa_sigver.jsonl.gz holds 84 SLH-DSA (FIPS 205)
signature verification cases of the NIST Automated Cryptographic Validation
Protocol server (https://github.com/usnistgov/ACVP-Server, commit
975de31eb83d87039ec88934fdc47d8c312b892d, gen-val/json-files/
SLH-DSA-sigVer-FIPS205/internalProjection.json, SHA-256 in the file's first
line). Source: the National Institute of Standards and Technology. Changed on
2026-11-23 by tools/build_nist_acvp_slhdsa.py: only the external / pure groups,
the first case of each reason in each group, without the secret keys and the
signing randomness; one JSON object per line, gzip. The notice of ACVP-Server
(its README, section License, read on 2026-11-23), kept intact:

  NIST-developed software is provided by NIST as a public service. You may use, copy, and distribute copies of the software in any medium, provided that you keep intact this entire notice. You may improve, modify, and create derivative works of the software or any portion of the software, and you may copy and distribute such modifications or works. Modified works should carry a notice stating that you changed the software and should note the date and nature of any such change. Please explicitly acknowledge the National Institute of Standards and Technology as the source of the software.

  NIST-developed software is expressly provided "AS IS." NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED, IN FACT, OR ARISING BY OPERATION OF LAW, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND DATA ACCURACY. NIST NEITHER REPRESENTS NOR WARRANTS THAT THE OPERATION OF THE SOFTWARE WILL BE UNINTERRUPTED OR ERROR-FREE, OR THAT ANY DEFECTS WILL BE CORRECTED. NIST DOES NOT WARRANT OR MAKE ANY REPRESENTATIONS REGARDING THE USE OF THE SOFTWARE OR THE RESULTS THEREOF, INCLUDING BUT NOT LIMITED TO THE CORRECTNESS, ACCURACY, RELIABILITY, OR USEFULNESS OF THE SOFTWARE.

  You are solely responsible for determining the appropriateness of using and distributing the software and you assume all risks associated with its use, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and the unavailability or interruption of operation. This software is not intended to be used in any situation where a failure could cause risk of injury or damage to property. The software developed by NIST employees is not subject to copyright protection within the United States.

cryptovalid_slhdsa.py ports the verification of SLH-DSA anchors from pq-scitt
(src/pq_scitt/anchors/slh_dsa.py, commit 9692a74, Apache License 2.0, by the
same author, who licenses the port here under the AGPL); the two anchors of
spec/vectors/slhdsa/anchors_pq_scitt.json were made on 2026-11-23 with that
module's create_anchor and the slh-dsa package (colinxu2020/slhdsa, LGPL-3.0-
or-later, not distributed here: the optional extra `slh` installs it).

cryptovalid_dsse.py ports the verification of DSSE envelopes from
omega-evidence (omega_evidence/interop/dsse.py, commit c26f4e6, Apache License
2.0, by the same author, who licenses the port here under the AGPL).
test_dsse_20261123.py holds the ECDSA P-256 test vector of the DSSE
specification (https://github.com/secure-systems-lab/dsse, protocol.md at tag
v1.0.2, section "Test Vectors": public key coordinates, payload, payload type
and signature; Apache License 2.0, read on 2026-11-23).
testdata/dsse/github_attestation_cvo_0.28.1_wheel.json is the Sigstore bundle
that GitHub's artifact attestation service made for this repository's own
0.28.1 wheel (its DSSE envelope, the Fulcio certificate and the Rekor entry):
the `bundle` member of the GitHub API's answer of 2026-11-23, values unchanged,
re-indented. Public data about this repository's release.

The copyright statement above covers everything else in this repository.

-------------------------------------------------------------------------------
ATTRIBUTION REQUIREMENT (AGPL-3.0 §5, §7, §13)
-------------------------------------------------------------------------------
If you copy, modify or redistribute this software you MUST:
  - retain this NOTICE, the copyright lines, and the license;
  - keep the source available under the AGPL to anyone you convey it to;
  - if you run a modified version as a NETWORK SERVICE, offer your complete
    modified source to that service's users under the AGPL (§13).

-------------------------------------------------------------------------------
PRIOR ART & HONEST SCOPE
-------------------------------------------------------------------------------
Hash-chained, append-only ledgers with signed records and standalone
verification are an ESTABLISHED pattern (e.g. Trillian / transparency.dev,
paragonie/Chronicle, and others). CryptoValid Open Core is an INDEPENDENT
implementation and does NOT claim to have invented that mechanism. Its specific
contribution is a small, vendor-free, auditor-readable evidence format and
verifier aimed at EU regulatory-compliance activities (MiCA, AI Act), with
provenance fields and optional RFC 3161 anchoring. The format proves what was
recorded, when, in which order, and that it was not altered afterwards — NOT the
truth of the recorded facts themselves.

-------------------------------------------------------------------------------
AUTHORSHIP TIMELINE
-------------------------------------------------------------------------------
The development history is recorded in this repository's public git log and
independently timestamped via OpenTimestamps (.ots receipts in the parent
project). These establish the authorship timeline; they do not restrict the
freedoms granted by the AGPL.
