ecbyts

Back to all articles

Custody & Formal Proof 8 min read

.ecbt v2 Custody Container with RFC 8785 (JCS) and Dual SHA-256 + SHA3-256 Digests

How the open ecbt.container/2.0.0 format guarantees mathematical integrity for environmental dossiers through deterministic canonicalization, Merkle chains, and Ed25519 signatures.

.ecbt v2 Custody Container with RFC 8785 (JCS) and Dual SHA-256 + SHA3-256 Digests

Executive Brief (EN)

How the open ecbt.container/2.0.0 format guarantees mathematical integrity for environmental dossiers through deterministic canonicalization, Merkle chains, and Ed25519 signatures.

Full native English technical edition (en-US)

Deterministic Engineering Schematic — Verification Architecture & Data Flow in ecbyts-zero ECBYTS · 3D/4D DETERMINISTIC VERIFICATION PIPELINE · INV-L1 / .ECBT V2 SHADOW / UNCERTAINTY MASK 1. RFC 8785 JCS Bytes SIRGAS 2000 · L1 2. SHA-256 + SHA3-256 DETERMINISTIC 3. Z3 UNSAT + Lean 4 AUDITABLE GATE 4. Ed25519 + ML-DSA QR SHA-256 · QR
Deterministic Engineering Schematic — Verification Architecture & Data Flow in ecbyts-zero
INTERACTIVE TOUR · 5 MIN

Practice in 3D Studio: .ecbt v2 Custody, Z3/Lean 4 Proofs & QR Verifier

Launch Custody Tour

RFC 8785 canonicalization: identical data always yields identical bytes

In ordinary JSON files, swapping two object keys or adding whitespace completely alters the cryptographic hash even when scientific values are unchanged. RFC 8785 (JSON Canonicalization Scheme — JCS) enforces a unique deterministic serialization across browser and server before hashing.

Why SHA-256 and SHA3-256 are computed in parallel

The .ecbt v2 container computes two mathematically distinct hash families side by side: SHA-256 (Merkle-Damgård construction, FIPS 180-4) and SHA3-256 (Keccak sponge construction, FIPS 202), ensuring multi-decade tamper detection for licensing and remediation archives.

Ingestion Merkle trees and detached Ed25519 signature quorums

Imported laboratory sample batches form leaves of a Merkle tree capable of pinpointing any retroactive edit to a single measurement, while detached Ed25519 signatures allow engineer, laboratory, and reviewer to counter-sign the canonical root cleanly.

Gate Programático Adversarial · APROVADO (6/6 alegações cobertas)

Auditoria Adversarial de Cada Alegação (Critério de Aceite /news)

Nenhuma alegação quantitativa, normativa ou científica entra nas News sem referência primária verificável, contra-argumento adversarial e limite de escopo explícito.

cust-01 · primary_norm_text · verified

Alegação verificada: "RFC 8785"

Fonte primária: IETF RFC 8785 (JCS) + src/domain/custodyV2.ts (jcsCanonicalize)

Teste adversarial: Números com representação IEEE-754 ambígua ou `NaN`/`Infinity` poderiam divergir entre runtimes?

Limite de escopo / ressalva: A canonicalização rejeita valores não finitos e serializa chaves e números determinísticos conforme RFC 8785, verificado nos testes de compatibilidade.

cust-02 · primary_norm_text · qualified_with_scope_limit

Alegação verificada: "SHA-256 (construção Merkle-Damgård) e SHA3-256"

Fonte primária: NIST FIPS 180-4 (SHA-256) e NIST FIPS 202 (SHA3-256) + src/domain/custodyV2.ts

Teste adversarial: Duplo digest garante autenticidade do conteúdo científico inserido pelo usuário?

Limite de escopo / ressalva: Garante integridade de bytes após o selamento contra adulteração posterior, mas não valida fisicamente a coleta em campo.

cust-03 · measured_repo_artifact · qualified_with_scope_limit

Alegação verificada: "árvore de Merkle"

Fonte primária: src/domain/merkleIngestionChain.ts + src/domain/custodyV2.ts

Teste adversarial: A árvore de Merkle impede inserção de dados errados antes da importação?

Limite de escopo / ressalva: Detecta qualquer adulteração retroativa após o registro do lote, mas não valida a calibração física do equipamento laboratorial.

cust-04 · measured_repo_artifact · qualified_with_scope_limit

Alegação verificada: "assinaturas destacáveis Ed25519"

Fonte primária: src/domain/custodyV2.ts + src/domain/cryptoCanonicalCore.ts

Teste adversarial: Assinaturas destacáveis funcionam sem infraestrutura externa de autoridade credenciada ICP-Brasil?

Limite de escopo / ressalva: Provam integridade e posse da chave Ed25519 registrada no keyring, sem substituir assinatura ICP-Brasil quando exigida por rito jurídico específico.

Explore the matching 3D digital twin showcase

Estação de Água e Esgoto — Modelo sobre imagem aérea da área com camadas de solo e rocha, nível d'água nos poços, blocos 3D de volume dos reatores e lagoas, direção dos ventos para controle de odores e biogás, cortes em planta e profundidade e balanço financeiro entre valor do ativo e custo de solução.

Open interactive case in 3D Studio

Run deterministic solvers in the 3D Studio or browse normative docs

Clean-room AGPL-3.0-only core with 29 physical solvers, ISO 14021 first-party self-declarations, and auditable cryptographic custody.